FACT++  1.0
int DataLogger::StopRunLogging ( )
private

from waiting to logging transition

Implements the StopRun transition. Attempts to close the run file.

Returns
kSM_WaitingRun if success, kSM_FatalError otherwise

Definition at line 2128 of file datalogger.cc.

References MessageImp::Debug(), kSM_WaitingRun, RemoveOldestRunNumber(), and DimDescribedService::Update().

Referenced by BackToNightlyOpen(), and GoToReady().

2129 {
2130 
2131  if (fDebugIsOn)
2132  {
2133  Debug("Stopping Run Logging...");
2134  }
2135 
2136  if (fNumSubAndFitsIsOn)
2138 
2139  while (fRunNumber.size() > 0)
2140  {
2142  }
2143  return kSM_WaitingRun;
2144 }
void RemoveOldestRunNumber()
removes the oldest run number, and close the relevant files.
Definition: datalogger.cc:891
int Debug(const std::string &str)
Definition: MessageImp.h:45
bool fDebugIsOn
configuration flags
Definition: datalogger.cc:315
bool fNumSubAndFitsIsOn
Definition: datalogger.cc:317
DimDescribedService * fNumSubAndFits
Definition: datalogger.cc:293
list< RunNumberType > fRunNumber
run numbers
Definition: datalogger.cc:211
waiting for the run number to open the run file
Definition: datalogger.cc:186

+ Here is the call graph for this function:

+ Here is the caller graph for this function: