Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AnaWait Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/online/onlmonserver/AnaWait.h>

+ Inheritance diagram for AnaWait:
+ Collaboration diagram for AnaWait:

Public Member Functions

 AnaWait (const int sec_spill=30, const int sec_event=0)
 
virtual ~AnaWait ()
 
void SetWaitPerSpill (const int sec)
 
void SetWaitPerEvent (const int sec)
 
int Init (PHCompositeNode *topNode)
 
int InitRun (PHCompositeNode *topNode)
 
int process_event (PHCompositeNode *topNode)
 
int End (PHCompositeNode *topNode)
 Called at the end of all processing. More...
 
- Public Member Functions inherited from SubsysReco
virtual ~SubsysReco ()
 
virtual int EndRun (const int)
 Called at the end of each run. More...
 
virtual int Reset (PHCompositeNode *)
 Reset. More...
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event. More...
 
virtual void Print (const std::string &what="ALL") const
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module. More...
 
virtual void Name (const std::string &name)
 Sets the name of this module. More...
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual int Verbosity () const
 Gets the verbosity of this module. More...
 

Protected Member Functions

void DoWait (int sec)
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 
- Protected Member Functions inherited from Fun4AllBase
 Fun4AllBase (const std::string &name="NONAME")
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10
}
 
- Protected Attributes inherited from Fun4AllBase
std::string ThisName
 
int verbosity
 The verbosity level. 0 means not verbose at all. More...
 

Detailed Description

Definition at line 5 of file AnaWait.h.

Constructor & Destructor Documentation

AnaWait::AnaWait ( const int  sec_spill = 30,
const int  sec_event = 0 
)

Definition at line 7 of file AnaWait.cc.

AnaWait::~AnaWait ( )
virtual

Definition at line 13 of file AnaWait.cc.

Member Function Documentation

void AnaWait::DoWait ( int  sec)
protected

Definition at line 53 of file AnaWait.cc.

Referenced by process_event().

+ Here is the caller graph for this function:

int AnaWait::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 48 of file AnaWait.cc.

References Fun4AllReturnCodes::EVENT_OK.

int AnaWait::Init ( PHCompositeNode )
virtual

Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Reimplemented from SubsysReco.

Definition at line 18 of file AnaWait.cc.

References Fun4AllReturnCodes::EVENT_OK.

int AnaWait::InitRun ( PHCompositeNode )
virtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.

Reimplemented from SubsysReco.

Definition at line 23 of file AnaWait.cc.

References Fun4AllReturnCodes::EVENT_OK.

int AnaWait::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 28 of file AnaWait.cc.

References Fun4AllReturnCodes::ABORTEVENT, DoWait(), and Fun4AllReturnCodes::EVENT_OK.

+ Here is the call graph for this function:

void AnaWait::SetWaitPerEvent ( const int  sec)
inline

Definition at line 14 of file AnaWait.h.

void AnaWait::SetWaitPerSpill ( const int  sec)
inline

Definition at line 13 of file AnaWait.h.


The documentation for this class was generated from the following files: