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

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

+ Inheritance diagram for OnlMonV1495:
+ Collaboration diagram for OnlMonV1495:

Public Types

enum  HodoType_t {
  H1X, H2X, H3X, H4X,
  H1Y, H2Y, H4Y1, H4Y2
}
 
- 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

 OnlMonV1495 (const HodoType_t type, const int lvl)
 
virtual ~OnlMonV1495 ()
 
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_DET = 2
 

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 OnlMonV1495.h.

Member Enumeration Documentation

Enumerator
H1X 
H2X 
H3X 
H4X 
H1Y 
H2Y 
H4Y1 
H4Y2 

Definition at line 7 of file OnlMonV1495.h.

Constructor & Destructor Documentation

OnlMonV1495::OnlMonV1495 ( const HodoType_t  type,
const int  lvl 
)

Definition at line 19 of file OnlMonV1495.cc.

References H1X, H1Y, H2X, H2Y, H3X, H4X, H4Y1, H4Y2, 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 OnlMonV1495::~OnlMonV1495 ( )
inlinevirtual

Definition at line 24 of file OnlMonV1495.h.

Member Function Documentation

OnlMonClient* OnlMonV1495::Clone ( )
inlinevirtual

Reimplemented from OnlMonClient.

Definition at line 25 of file OnlMonV1495.h.

References OnlMonV1495().

+ Here is the call graph for this function:

int OnlMonV1495::DrawMonitor ( )
virtual

Reimplemented from OnlMonClient.

Definition at line 173 of file OnlMonV1495.cc.

References OnlMonClient::GetCanvas(), OnlMonCanvas::GetMainPad(), and N_DET.

+ Here is the call graph for this function:

int OnlMonV1495::EndOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 140 of file OnlMonV1495.cc.

References Fun4AllReturnCodes::EVENT_OK.

int OnlMonV1495::FindAllMonHist ( )
virtual

Reimplemented from OnlMonClient.

Definition at line 145 of file OnlMonV1495.cc.

References OnlMonClient::FindMonHist(), and N_DET.

+ Here is the call graph for this function:

int OnlMonV1495::InitOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 34 of file OnlMonV1495.cc.

References Fun4AllReturnCodes::EVENT_OK.

int OnlMonV1495::InitRunOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 39 of file OnlMonV1495.cc.

References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, GeomSvc::getPlaneNElements(), H1X, H1Y, H2X, H2Y, H3X, H4X, H4Y1, H4Y2, GeomSvc::instance(), N_DET, and OnlMonClient::RegisterHist().

+ Here is the call graph for this function:

int OnlMonV1495::ProcessEventOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 114 of file OnlMonV1495.cc.

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

Member Data Documentation

const int OnlMonV1495::N_DET = 2
static

Definition at line 8 of file OnlMonV1495.h.

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


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