ROOTANA
|
Public Member Functions | |
Analyzer () | |
virtual | ~Analyzer () |
void | Initialize () |
void | InitManager () |
void | BeginRun (int transition, int run, int time) |
bool | ProcessMidasEvent (TDataContainer &dataContainer) |
Analyzer () | |
virtual | ~Analyzer () |
void | Initialize () |
void | BeginRun (int transition, int run, int time) |
void | EndRun (int transition, int run, int time) |
bool | ProcessMidasEvent (TDataContainer &dataContainer) |
std::string | SetFullOutputFileName (int run, std::string midasFilename) |
Analyzer () | |
virtual | ~Analyzer () |
void | Initialize () |
void | BeginRun (int transition, int run, int time) |
void | EndRun (int transition, int run, int time) |
bool | ProcessMidasEvent (TDataContainer &dataContainer) |
Analyzer () | |
virtual | ~Analyzer () |
void | Initialize () |
void | InitManager () |
void | BeginRun (int transition, int run, int time) |
bool | ProcessMidasEvent (TDataContainer &dataContainer) |
Public Member Functions inherited from TRootanaEventLoop | |
virtual | ~TRootanaEventLoop () |
TDataContainer * | GetDataContainer () |
Method to get the data container that event loop owns. More... | |
virtual void | InitializeRAD (void) |
Special version of Init method, to be used only by TRootanaDisplay. More... | |
virtual void | BeginRunRAD (int transition, int run, int time) |
virtual void | EndRunRAD (int transition, int run, int time) |
Also special version of EOR method, to be used only by TRootanaDisplay. More... | |
virtual void | Finalize () |
virtual void | Usage (void) |
virtual bool | CheckOption (std::string option) |
virtual bool | PreFilter (TDataContainer &dataContainer) |
bool | IsOnline () const |
Are we processing online data? More... | |
bool | IsOffline () const |
Are we processing offline data? More... | |
int | GetCurrentRunNumber () const |
Current Run Number. More... | |
void | SetCurrentRunNumber (int run) |
Current Run Number. More... | |
int | ExecuteLoop (int argc, char *argv[]) |
Method to actually process the Midas information, either as file or online. More... | |
int | ProcessMidasFile (TApplication *app, const char *fname) |
int | ProcessMidasOnline (TApplication *app, const char *hostname, const char *exptname) |
void | DisableAutoMainWindow () |
Disable automatic creation of MainWindow. More... | |
void | UseBatchMode () |
Use a batch mode, where we don't check ROOT status. More... | |
MVOdb * | GetODB () |
Get pointer to ODB variables. More... | |
void | OpenRootFile (int run, std::string midasFilename=std::string("")) |
Open output ROOT file. More... | |
void | CloseRootFile () |
Cloe output ROOT file. More... | |
bool | IsRootFileValid () |
Check if output ROOT file is valid and open. More... | |
void | DisableRootOutput (bool disable=true) |
int | IsRootOutputEnabled () |
void | SetOutputFilename (std::string name) |
void | SetOnlineName (std::string name) |
void | ProcessThisEventID (int eventID) |
bool | CheckEventID (int eventId) |
Little helper method to check if EventID matchs requested EventID list. More... | |
void | SuppressTimestampWarnings () |
bool | GetSuppressTimestampWarnings () |
Suppress timestamp warnings? true = suppress warnings. More... | |
void | UseOnlyRecent (bool setting=true) |
void | SetTHttpServerReadWrite (bool readwrite=true) |
Data Fields | |
TAnaManager * | anaManager |
TTree * | fTree |
int | timestamp |
int | serialnumber |
float | current_readings [9] |
float | voltage_readings [9] |
struct timeval | LastUpdateTime |
Additional Inherited Members | |
Static Public Member Functions inherited from TRootanaEventLoop | |
static TRootanaEventLoop & | Get (void) |
template<typename T > | |
static void | CreateSingleton () |
Protected Member Functions inherited from TRootanaEventLoop | |
bool | CreateOutputFile (std::string name, std::string options="RECREATE") |
TRootanaEventLoop () | |
virtual bool | CheckOptionRAD (std::string option) |
virtual void | UsageRAD (void) |
Also a special version of usage for TRootanaDisplay. See CheckOptionRAD. More... | |
Protected Attributes inherited from TRootanaEventLoop | |
TDirectory * | fOnlineHistDir |
TDirectory for online histograms. More... | |
Static Protected Attributes inherited from TRootanaEventLoop | |
static TRootanaEventLoop * | fTRootanaEventLoop = NULL |
The static pointer to the singleton instance. More... | |
|
inline |
|
inline |
Definition at line 42 of file midas2root.cxx.
|
inlinevirtual |
Definition at line 46 of file midas2root.cxx.
|
inline |
|
inlinevirtual |
Definition at line 39 of file midas2root_alt.cxx.
|
inline |
|
inlinevirtual |
Definition at line 36 of file root_server.cxx.
|
inlinevirtual |
Called before the first event of a file is read, but you should prefer Initialize() for general initialization. This method will be called once for each input file.
Reimplemented from TRootanaEventLoop.
Definition at line 52 of file ana.cxx.
|
inlinevirtual |
Called before the first event of a file is read, but you should prefer Initialize() for general initialization. This method will be called once for each input file.
Reimplemented from TRootanaEventLoop.
Definition at line 54 of file midas2root.cxx.
|
inlinevirtual |
Called before the first event of a file is read, but you should prefer Initialize() for general initialization. This method will be called once for each input file.
Reimplemented from TRootanaEventLoop.
Definition at line 47 of file midas2root_alt.cxx.
|
inlinevirtual |
Called before the first event of a file is read, but you should prefer Initialize() for general initialization. This method will be called once for each input file.
Reimplemented from TRootanaEventLoop.
Definition at line 56 of file root_server.cxx.
|
inlinevirtual |
Called after the last event of a file is read, but you should prefer Finalize() for general finalization. This method will be called once for each input file.
Reimplemented from TRootanaEventLoop.
Definition at line 70 of file midas2root.cxx.
|
inlinevirtual |
Called after the last event of a file is read, but you should prefer Finalize() for general finalization. This method will be called once for each input file.
Reimplemented from TRootanaEventLoop.
Definition at line 59 of file midas2root_alt.cxx.
|
inlinevirtual |
Called after the arguments are processes but before reading the first event is read
Reimplemented from TRootanaEventLoop.
Definition at line 34 of file ana.cxx.
|
inlinevirtual |
Called after the arguments are processes but before reading the first event is read
Reimplemented from TRootanaEventLoop.
Definition at line 48 of file midas2root.cxx.
|
inlinevirtual |
Called after the arguments are processes but before reading the first event is read
Reimplemented from TRootanaEventLoop.
Definition at line 41 of file midas2root_alt.cxx.
|
inlinevirtual |
Called after the arguments are processes but before reading the first event is read
Reimplemented from TRootanaEventLoop.
Definition at line 38 of file root_server.cxx.
|
inline |
|
inline |
Definition at line 47 of file root_server.cxx.
|
inlinevirtual |
The main method, called for each event. Users must implement this function!
Implements TRootanaEventLoop.
Definition at line 59 of file ana.cxx.
|
inlinevirtual |
The main method, called for each event. Users must implement this function!
Implements TRootanaEventLoop.
Definition at line 78 of file midas2root.cxx.
|
inlinevirtual |
The main method, called for each event. Users must implement this function!
Implements TRootanaEventLoop.
Definition at line 67 of file midas2root_alt.cxx.
|
inlinevirtual |
The main method, called for each event. Users must implement this function!
Implements TRootanaEventLoop.
Definition at line 64 of file root_server.cxx.
|
inlinevirtual |
This is an alternative, more complicated way of setting the output ROOT filename. In this case the user is given the run number and the midas file name and, from that information, constructs the output ROOT filename themselves.
Reimplemented from TRootanaEventLoop.
Definition at line 110 of file midas2root.cxx.
TAnaManager * Analyzer::anaManager |
float Analyzer::current_readings[9] |
Definition at line 31 of file midas2root_alt.cxx.
TTree * Analyzer::fTree |
Definition at line 31 of file midas2root.cxx.
struct timeval Analyzer::LastUpdateTime |
Definition at line 56 of file root_server.cxx.
int Analyzer::serialnumber |
Definition at line 34 of file midas2root.cxx.
int Analyzer::timestamp |
Definition at line 33 of file midas2root.cxx.
float Analyzer::voltage_readings[9] |
Definition at line 32 of file midas2root_alt.cxx.