Skip to content

Commit

Permalink
improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroEzq committed Jan 17, 2025
1 parent e2a6eb5 commit 3b7f7a0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ void TRestEventTimeSelectionProcess::InitProcess() {
fNEventsSelected = 0;
}

///////////////////////////////////////////////
/// \brief Function to calculate the total time in seconds of all the time ranges
/// (active or dead periods of time). It takes into account the time offset,
/// and both the start and end margins.
///
Double_t TRestEventTimeSelectionProcess::CalculateTotalTimeInSeconds() {
Double_t totalTime = 0;
for (auto id : fStartEndTimes) {
Expand Down

0 comments on commit 3b7f7a0

Please sign in to comment.