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

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

+ Inheritance diagram for OnlMonCham:
+ Collaboration diagram for OnlMonCham:

Public Types

enum  ChamType_t {
  D0, D1, D2, D3p,
  D3m
}
 
- 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
}
 

Public Member Functions

 OnlMonCham (const ChamType_t type)
 
virtual ~OnlMonCham ()
 
OnlMonClientClone ()
 
int InitOnlMon (PHCompositeNode *topNode)
 
int InitRunOnlMon (PHCompositeNode *topNode)
 
int ProcessEventOnlMon (PHCompositeNode *topNode)
 
int EndOnlMon (PHCompositeNode *topNode)
 
int FindAllMonHist ()
 
int DrawMonitor ()
 
- Public Member Functions inherited from OnlMonClient
 OnlMonClient ()
 
virtual ~OnlMonClient ()
 
void Title (const std::string &title)
 
std::string Title ()
 
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...
 
void GetBasicID (int *run_id=0, int *spill_id=0, int *event_id=0, int *spill_id_min=0, int *spill_id_max=0)
 
void GetBasicCount (int *n_evt=0, int *n_sp=0)
 
int StartMonitor ()
 
TH1 * FindMonHist (const std::string name, const bool non_null=true)
 
int SendHist (TSocket *sock, int sp_min, int sp_max)
 
- 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...
 

Static Public Attributes

static const int N_PL = 6
 

Additional Inherited Members

- Static Public Member Functions inherited from OnlMonClient
static void SetClearUsFlag (const bool val)
 
static bool GetClearUsFlag ()
 
- Protected Types inherited from OnlMonClient
enum  HistMode_t { MODE_ADD, MODE_UPDATE }
 
- Protected Member Functions inherited from OnlMonClient
void RegisterHist (TH1 *h1, const HistMode_t mode=MODE_ADD)
 
void NumCanvases (const int num)
 
int NumCanvases ()
 
OnlMonCanvasGetCanvas (const int num=0)
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 
- Protected Member Functions inherited from Fun4AllBase
 Fun4AllBase (const std::string &name="NONAME")
 
- 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 OnlMonCham.h.

Member Enumeration Documentation

Enumerator
D0 
D1 
D2 
D3p 
D3m 

Definition at line 7 of file OnlMonCham.h.

Constructor & Destructor Documentation

OnlMonCham::OnlMonCham ( const ChamType_t  type)

Definition at line 17 of file OnlMonCham.cc.

References D0, D1, D2, D3m, D3p, Fun4AllBase::Name(), OnlMonClient::NumCanvases(), and OnlMonClient::Title().

Referenced by Clone().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual OnlMonCham::~OnlMonCham ( )
inlinevirtual

Definition at line 18 of file OnlMonCham.h.

Member Function Documentation

OnlMonClient* OnlMonCham::Clone ( )
inlinevirtual

Reimplemented from OnlMonClient.

Definition at line 19 of file OnlMonCham.h.

References OnlMonCham().

+ Here is the call graph for this function:

int OnlMonCham::DrawMonitor ( )
virtual

Reimplemented from OnlMonClient.

Definition at line 120 of file OnlMonCham.cc.

References UtilHist::AutoSetRange(), OnlMonClient::GetCanvas(), OnlMonCanvas::GetMainPad(), and N_PL.

+ Here is the call graph for this function:

int OnlMonCham::EndOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 99 of file OnlMonCham.cc.

References Fun4AllReturnCodes::EVENT_OK.

int OnlMonCham::FindAllMonHist ( )
virtual

Reimplemented from OnlMonClient.

Definition at line 104 of file OnlMonCham.cc.

References OnlMonClient::FindMonHist(), and N_PL.

+ Here is the call graph for this function:

int OnlMonCham::InitOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 29 of file OnlMonCham.cc.

References Fun4AllReturnCodes::EVENT_OK.

int OnlMonCham::InitRunOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 34 of file OnlMonCham.cc.

References Fun4AllReturnCodes::ABORTEVENT, D0, D1, D2, D3m, D3p, Fun4AllReturnCodes::EVENT_OK, GeomSvc::getDetectorIDs(), GeomSvc::getDetectorName(), GeomSvc::getPlaneNElements(), GeomSvc::instance(), N_PL, and OnlMonClient::RegisterHist().

+ Here is the call graph for this function:

int OnlMonCham::ProcessEventOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 83 of file OnlMonCham.cc.

References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and N_PL.

Member Data Documentation

const int OnlMonCham::N_PL = 6
static

Definition at line 8 of file OnlMonCham.h.

Referenced by DrawMonitor(), FindAllMonHist(), InitRunOnlMon(), and ProcessEventOnlMon().


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