Cat
|
#include <Options.h>
Public Member Functions | |
Options () | |
~Options () | |
void | setLogOutputLevel (MsgSvc::MsgLevel logOutputLevel) |
MsgSvc::MsgLevel | logOutputLevel () |
void | setPrintFreq (unsigned long printFreq) |
unsigned long | printFreq () |
void | setPlotFreq (unsigned long plotFreq) |
unsigned long | plotFreq () |
void | setStopOnError (bool stopOnError) |
bool | stopOnError () |
void | setRunNumber (unsigned long runNumber) |
unsigned long | runNumber () |
void | setRunNumberManagement (bool runNumberManagement) |
bool | runNumberManagement () |
void | setCurrentPath (std::string currentPath) |
std::string | currentPath () |
void | setStoragePath (std::string storagePath) |
std::string | storagePath () |
std::string | storageFullPath () |
void | setStorageDir (std::string filename) |
std::string | storageDir () |
void | setStorageFile (std::string filename=std::string("")) |
std::string | storageFile () |
std::string | storageFileFullName () |
std::string | dataFileFullName () |
std::string | dataFile () |
std::string | logFile () |
void | setDataStorage (bool dataStorage) |
bool | dataStorage () |
void | setLogStorage (bool logStorage) |
bool | logStorage () |
void | setLogDefFile (std::string defFile) |
std::string | logDefFile () |
void | setDefFile (std::string def) |
std::string | defFile () |
void | setNEvt (unsigned long nEvt) |
unsigned long | nEvt () |
void | setNEvtMax (int nEvtMax) |
int | nEvtMax () |
void | setTimeMax (unsigned long timeMax) |
unsigned long | timeMax () |
void | setNErrors (unsigned long nErrors) |
unsigned long | nErrors () |
void | incRunNumber () |
void | incNEvt () |
void | incNErrors () |
std::ofstream * | stream () |
void | setStream (std::string file=std::string("")) |
void | print () |
Private Attributes | |
MsgSvc | m_log |
MsgSvc::MsgLevel | m_logOutputLevel |
std::string | m_currentPath |
bool | m_dataStorage |
bool | m_logStorage |
std::string | m_storageDir |
std::string | m_storageFile |
std::string | m_storageDefault |
std::string | m_storagePath |
std::string | m_defFile |
bool | m_stopOnError |
unsigned long | m_nEvt |
unsigned long | m_nErrors |
unsigned long | m_printFreq |
unsigned long | m_plotFreq |
int | m_nEvtMax |
int | m_timeMax |
unsigned long | m_runNumber |
bool | m_runNumberManagement |
bool | m_batch |
std::ofstream * | m_stream |
std::ofstream * | m_logStream |
std::ofstream * | m_logDefStream |
std::string | m_logDefFile |
Options::Options | ( | ) |
Definition at line 19 of file Options.cpp.
References MsgSvc::INFO, m_logDefStream, m_logStream, m_storageDefault, m_stream, setCurrentPath(), setDataStorage(), setLogDefFile(), setLogOutputLevel(), setLogStorage(), setNErrors(), setNEvt(), setNEvtMax(), setPlotFreq(), setPrintFreq(), setRunNumber(), setRunNumberManagement(), setStorageDir(), setStorageFile(), setStoragePath(), setStream(), and setTimeMax().
Options::~Options | ( | ) |
|
inline |
Get accessor to member m_currentPath
Definition at line 135 of file Options.h.
References m_currentPath.
Referenced by export_base(), and setCurrentPath().
std::string Options::dataFile | ( | ) |
Get accessor to member m_dataFile
Definition at line 83 of file Options.cpp.
References m_storageFile.
Referenced by dataFileFullName(), and export_base().
|
inline |
Get accessor to member m_storageFile
Definition at line 219 of file Options.h.
References dataFile(), logFile(), m_storageFile, and storageFullPath().
Referenced by Processus::closeRootFile(), export_base(), and Processus::openRootFile().
|
inline |
Get accessor to member m_dataStorage
Definition at line 252 of file Options.h.
References m_dataStorage.
Referenced by Processus::closeRootFile(), EmulateFE::execute(), export_base(), EmulateFE::initialize(), ADCMeasurement::initialize(), Processus::openRootFile(), Application::prepare(), and setDataStorage().
|
inline |
Get accessor to member m_defFile
Definition at line 301 of file Options.h.
References m_defFile.
Referenced by export_base(), and setLogDefFile().
|
inline |
Incrementation of the current number of errors
Definition at line 384 of file Options.h.
References nErrors(), and setNErrors().
Referenced by export_base(), and Application::loop().
|
inline |
Incrementation of the current evt number
Definition at line 377 of file Options.h.
References nEvt(), and setNEvt().
Referenced by export_base(), and Application::loop().
void Options::incRunNumber | ( | ) |
Incrementation of the current Run number
Definition at line 74 of file Options.cpp.
References runNumber(), and setRunNumber().
Referenced by export_base(), nErrors(), and Application::terminate().
|
inline |
Get accessor to member m_logDefStorage
Definition at line 285 of file Options.h.
References m_logDefFile.
Referenced by export_base().
std::string Options::logFile | ( | ) |
Get accessor to member m_logFile
Definition at line 95 of file Options.cpp.
References m_storageFile.
Referenced by dataFileFullName(), and export_base().
|
inline |
Get accessor to member m_logOutputLevel
Definition at line 42 of file Options.h.
References m_logOutputLevel.
Referenced by export_base(), and setLogOutputLevel().
|
inline |
Get accessor to member m_logStorage
Definition at line 268 of file Options.h.
References m_logStorage.
Referenced by export_base(), Application::prepare(), setLogStorage(), setStream(), and Application::terminate().
|
inline |
Get accessor to member m_nErrors
Definition at line 365 of file Options.h.
References incRunNumber(), and m_nErrors.
Referenced by Processus::endProcessing(), export_base(), incNErrors(), Application::loop(), setNErrors(), Application::setState(), and Processus::setState().
|
inline |
Get accessor to member m_nEvt
Definition at line 317 of file Options.h.
References m_nEvt.
Referenced by Processus::endProcessing(), Acquisition::execute(), ADCMeasurement::execute(), CurrentMeasurement::execute(), export_base(), incNEvt(), Application::loop(), setNEvt(), Application::setState(), Processus::setState(), Application::svcRunning(), and Application::terminate().
|
inline |
Get accessor to member m_nEvtMax
Definition at line 333 of file Options.h.
References m_nEvtMax.
Referenced by export_base(), setNEvtMax(), Application::setState(), and Application::svcRunning().
|
inline |
Get accessor to member m_plotFreq
Definition at line 74 of file Options.h.
References m_plotFreq.
Referenced by export_base(), and setPlotFreq().
void Options::print | ( | ) |
Definition at line 107 of file Options.cpp.
References MsgSvc::INFO, m_batch, m_currentPath, m_dataStorage, m_defFile, m_log, m_logDefFile, m_logStorage, m_nErrors, m_nEvt, m_nEvtMax, m_plotFreq, m_printFreq, m_runNumber, m_runNumberManagement, m_stopOnError, m_storageDefault, m_storageDir, m_storageFile, m_storagePath, and MsgSvc::msgSvc().
Referenced by export_base(), and setStream().
|
inline |
Get accessor to member m_printFreq
Definition at line 58 of file Options.h.
References m_printFreq.
Referenced by export_base(), Application::loop(), and setPrintFreq().
|
inline |
Get accessor to member m_runNumber
Definition at line 107 of file Options.h.
References m_runNumber.
Referenced by Application::bookkeeping(), Processus::endProcessing(), export_base(), incRunNumber(), Acquisition::initialize(), CurrentMeasurement::initialize(), ADCMeasurement::initialize(), setRunNumber(), and Application::setState().
|
inline |
Get accessor to member m_runNumberManagement
Definition at line 123 of file Options.h.
References m_runNumberManagement.
Referenced by export_base(), setRunNumberManagement(), and Application::terminate().
|
inline |
Definition at line 127 of file Options.h.
References currentPath(), and m_currentPath.
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_dataStorage
dataStorage | the new value for m_dataStorage |
Definition at line 244 of file Options.h.
References dataStorage(), and m_dataStorage.
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_defFile
defFile | the new value for m_defFile |
Definition at line 293 of file Options.h.
References m_defFile.
Referenced by export_base().
|
inline |
Set accessor to member m_logDefFile
logDefStorage | the new value for m_logDefFile |
Definition at line 276 of file Options.h.
References defFile(), m_logDefFile, and m_logDefStream.
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_logOutputLevel
logOutputLevel | the new value for m_logOutputLevel |
Definition at line 34 of file Options.h.
References logOutputLevel(), and m_logOutputLevel.
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_logStorage
logStorage | the new value for m_logStorage |
Definition at line 260 of file Options.h.
References logStorage(), and m_logStorage.
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_nErrors
nErrors | the new value for m_nErrors |
Definition at line 357 of file Options.h.
References m_nErrors, and nErrors().
Referenced by export_base(), incNErrors(), Options(), Application::prepare(), and Processus::startProcessing().
|
inline |
Set accessor to member m_nEvt
nEvt | the new value for m_nEvt |
Definition at line 309 of file Options.h.
References m_nEvt, and nEvt().
Referenced by export_base(), incNEvt(), Options(), Application::prepare(), and Application::terminate().
|
inline |
Set accessor to member m_nEvtMax
nEvtMax | the new value for m_nEvtMax |
Definition at line 325 of file Options.h.
References m_nEvtMax, and nEvtMax().
Referenced by export_base(), Options(), and Application::prepare().
|
inline |
Set accessor to member m_plotFreq
plotFreq | the new value for m_plotFreq |
Definition at line 66 of file Options.h.
References m_plotFreq, and plotFreq().
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_printFreq
PrintFreq | the new value for m_PrintFreq |
Definition at line 50 of file Options.h.
References m_printFreq, and printFreq().
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_runNumber
runNumber | the new value for m_runNumber |
Definition at line 99 of file Options.h.
References m_runNumber, and runNumber().
Referenced by export_base(), incRunNumber(), Application::loadHistoryFile(), and Options().
|
inline |
Set accessor to member m_runNumberManagement
runNumberManagement | the new value for m_runNumberManagement |
Definition at line 115 of file Options.h.
References m_runNumberManagement, and runNumberManagement().
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_stopOnError
stopOnError | the new value for m_stopOnError |
Definition at line 83 of file Options.h.
References m_stopOnError, and stopOnError().
Referenced by export_base().
|
inline |
Set accessor to member m_storageDir
StorageDir | the new value for m_storageDir |
Definition at line 172 of file Options.h.
References m_storageDir.
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_StorageFile
StorageFile | the new value for m_StorageFile |
Definition at line 188 of file Options.h.
References m_storageDefault, and m_storageFile.
Referenced by export_base(), Options(), Application::prepare(), and setStream().
|
inline |
Set accessor to member m_storagePath
storagePath | the new value for m_storagePath |
Definition at line 143 of file Options.h.
References m_storagePath, and storagePath().
Referenced by export_base(), and Options().
|
inline |
Set accessor to member m_nEvt
nEvt | the new value for m_nEvt |
Definition at line 400 of file Options.h.
References logStorage(), m_logDefStream, m_logStream, m_stream, print(), setStorageFile(), and storageFileFullName().
Referenced by export_base(), Options(), Application::prepare(), and Application::terminate().
|
inline |
|
inline |
Get accessor to member m_stopOnError
Definition at line 91 of file Options.h.
References m_stopOnError.
Referenced by export_base(), Application::loop(), and setStopOnError().
|
inline |
Get accessor to member m_storageDir
Definition at line 180 of file Options.h.
References m_storageDir.
Referenced by export_base().
|
inline |
Get accessor to member m_storageFile
Definition at line 200 of file Options.h.
References m_storageFile.
Referenced by export_base(), and Application::prepare().
|
inline |
Get accessor to member m_storageFile
Definition at line 208 of file Options.h.
References m_storageFile, and storageFullPath().
Referenced by export_base(), and setStream().
|
inline |
Get accessor to member m_storagePath
Definition at line 159 of file Options.h.
References itos(), m_runNumber, m_storageDir, and m_storagePath.
Referenced by dataFileFullName(), export_base(), EmulateFE::generateFile(), Application::prepare(), and storageFileFullName().
|
inline |
Get accessor to member m_storagePath
Definition at line 151 of file Options.h.
References m_storagePath.
Referenced by export_base(), and setStoragePath().
|
inline |
|
inline |
Get accessor to member m_timeMax
Definition at line 349 of file Options.h.
References m_timeMax.
Referenced by setTimeMax().
|
private |
Definition at line 438 of file Options.h.
Referenced by currentPath(), print(), and setCurrentPath().
|
private |
Definition at line 439 of file Options.h.
Referenced by dataStorage(), print(), and setDataStorage().
|
private |
Definition at line 445 of file Options.h.
Referenced by defFile(), print(), and setDefFile().
|
private |
Definition at line 461 of file Options.h.
Referenced by logDefFile(), print(), and setLogDefFile().
|
private |
Definition at line 460 of file Options.h.
Referenced by Options(), setLogDefFile(), setStream(), and ~Options().
|
private |
Definition at line 436 of file Options.h.
Referenced by logOutputLevel(), and setLogOutputLevel().
|
private |
Definition at line 440 of file Options.h.
Referenced by logStorage(), print(), and setLogStorage().
|
private |
Definition at line 459 of file Options.h.
Referenced by Options(), and setStream().
|
private |
Definition at line 448 of file Options.h.
Referenced by nErrors(), print(), and setNErrors().
|
private |
|
private |
Definition at line 451 of file Options.h.
Referenced by nEvtMax(), print(), and setNEvtMax().
|
private |
Definition at line 450 of file Options.h.
Referenced by plotFreq(), print(), and setPlotFreq().
|
private |
Definition at line 449 of file Options.h.
Referenced by print(), printFreq(), and setPrintFreq().
|
private |
Definition at line 453 of file Options.h.
Referenced by print(), runNumber(), setRunNumber(), and storageFullPath().
|
private |
Definition at line 455 of file Options.h.
Referenced by print(), runNumberManagement(), and setRunNumberManagement().
|
private |
Definition at line 446 of file Options.h.
Referenced by print(), setStopOnError(), and stopOnError().
|
private |
Definition at line 443 of file Options.h.
Referenced by Options(), print(), and setStorageFile().
|
private |
Definition at line 441 of file Options.h.
Referenced by print(), setStorageDir(), storageDir(), and storageFullPath().
|
private |
Definition at line 442 of file Options.h.
Referenced by dataFile(), dataFileFullName(), logFile(), print(), setStorageFile(), storageFile(), and storageFileFullName().
|
private |
Definition at line 444 of file Options.h.
Referenced by print(), setStoragePath(), storageFullPath(), and storagePath().
|
private |
Definition at line 458 of file Options.h.
Referenced by Options(), setStream(), and stream().
|
private |
Definition at line 452 of file Options.h.
Referenced by setTimeMax(), and timeMax().