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

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

+ Inheritance diagram for OnlMonH4:
+ Collaboration diagram for OnlMonH4:

Public Types

enum  HodoType_t {
  H4T, H4B, H4Y1L, H4Y1R,
  H4Y2L, H4Y2R
}
 
- 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

 OnlMonH4 (const HodoType_t type)
 
virtual ~OnlMonH4 ()
 
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...
 

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

Member Enumeration Documentation

Enumerator
H4T 
H4B 
H4Y1L 
H4Y1R 
H4Y2L 
H4Y2R 

Definition at line 7 of file OnlMonH4.h.

Constructor & Destructor Documentation

OnlMonH4::OnlMonH4 ( const HodoType_t  type)

Definition at line 19 of file OnlMonH4.cc.

References H4B, H4T, H4Y1L, H4Y1R, H4Y2L, H4Y2R, 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 OnlMonH4::~OnlMonH4 ( )
inlinevirtual

Definition at line 23 of file OnlMonH4.h.

Member Function Documentation

OnlMonClient* OnlMonH4::Clone ( )
inlinevirtual

Reimplemented from OnlMonClient.

Definition at line 24 of file OnlMonH4.h.

References OnlMonH4().

+ Here is the call graph for this function:

int OnlMonH4::DrawMonitor ( )
virtual

Reimplemented from OnlMonClient.

Definition at line 174 of file OnlMonH4.cc.

References OnlMonCanvas::AddMessage(), UtilHist::AutoSetRange(), UtilHist::AutoSetRangeX(), UtilHist::AutoSetRangeY(), OnlMonClient::GetCanvas(), OnlMonCanvas::GetMainPad(), OnlMonCanvas::OK, OnlMonCanvas::SetStatus(), and OnlMonCanvas::WARN.

+ Here is the call graph for this function:

int OnlMonH4::EndOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 150 of file OnlMonH4.cc.

References Fun4AllReturnCodes::EVENT_OK.

int OnlMonH4::FindAllMonHist ( )
virtual

Reimplemented from OnlMonClient.

Definition at line 155 of file OnlMonH4.cc.

References OnlMonClient::FindMonHist().

+ Here is the call graph for this function:

int OnlMonH4::InitOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 69 of file OnlMonH4.cc.

References Fun4AllReturnCodes::EVENT_OK.

int OnlMonH4::InitRunOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 74 of file OnlMonH4.cc.

References Fun4AllReturnCodes::EVENT_OK, GeomSvc::getDetectorID(), GeomSvc::getPlaneNElements(), GeomSvc::instance(), and OnlMonClient::RegisterHist().

+ Here is the call graph for this function:

int OnlMonH4::ProcessEventOnlMon ( PHCompositeNode topNode)
virtual

Reimplemented from OnlMonClient.

Definition at line 127 of file OnlMonH4.cc.

References Fun4AllReturnCodes::ABORTEVENT, SQHitVector::end(), Fun4AllReturnCodes::EVENT_OK, UtilSQHit::FindHits(), and SQHitVector::size().

+ Here is the call graph for this function:


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