framework load ASCIIGlobalWriter endfw
reader LiveTime verbosity = info enable = true ReadFilesList = true InputFilesList = ~/cuore/cfg/background-ds32.list InputFileName = /data/energy_0789_p001.root OutputFileName = Livetime.txt IsBlinded = false endmod
Public Member Functions | |
MLiveTime (QSequence *s) | |
constructor | |
~MLiveTime () | |
destructor | |
void | Init () |
Init method is called before event loop. | |
void | Open (const std::string &filename) |
Open file. | |
QEvent * | Fill (QEvent *ev) |
fill event, return NULL if file is finished | |
void | Close () |
Close file. | |
void | Done () |
After all files are processed, save output in done method. | |
Private Attributes | |
TFile * | fFile |
Current input root file. | |
QTree * | fTree |
Input tree. | |
int | fRun |
Current run number. | |
int | fPreviousRun |
Previous run number. | |
QBaseEventR * | fEventR |
Root event. | |
std::map< int, double > | fLiveTimes |
Map of live time for each channel. | |
std::string | fOutputFilename |
Output filename. | |
bool | fIsBlinded |
Whether or not to "blind" the live time by multiplying the true live time by an obfuscation factor. | |
double | fBlindingFactor |
Factor by which to multiply the live time if fIsBlinded == true. | |
std::vector< std::string > | fAllowedTypes |
List of allowed types of bad intervals. |