Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LL1Mon Class Reference

#include <OnlMon/blob/main/subsystems/ll1/LL1Mon.h>

+ Inheritance diagram for LL1Mon:
+ Collaboration diagram for LL1Mon:

Public Member Functions

 LL1Mon (const std::string &name="LL1MON")
 
virtual ~LL1Mon ()
 
int process_event (Event *evt)
 
int Init ()
 
int BeginRun (const int runno)
 
int Reset ()
 
- Public Member Functions inherited from OnlMon
 OnlMon (const std::string &name="NONE")
 
 ~OnlMon () override
 
virtual int process_event_common (Event *evt)
 
virtual int InitCommon (OnlMonServer *se)
 
virtual void identify (std::ostream &out=std::cout) const
 
virtual int BeginRunCommon (const int runno, OnlMonServer *se)
 
virtual int EndRun (const int)
 
virtual void SetStatus (const int newstatus)
 
virtual int ResetEvent ()
 
virtual void SetMonitorServerId (unsigned int i)
 
virtual unsigned int MonitorServerId () const
 
- Public Member Functions inherited from OnlMonBase
 OnlMonBase (const std::string &name="NONE")
 
virtual ~OnlMonBase ()
 
const std::string Name () const
 
void Name (const std::string &name)
 
virtual void Verbosity (const int i)
 
virtual int Verbosity () const
 

Protected Attributes

int evtcnt = 0
 
int idummy = 0
 
int thresh =2
 
TH2 * h_line_up =nullptr
 
TH2 * h_nhit_corr =nullptr
 
TH1 * h_hit_n = nullptr
 
TH1 * h_hit_s = nullptr
 
TH1 * h_nhit_n =nullptr
 
TH1 * h_nhit_s =nullptr
 
TH1 * h_nhit_n1 =nullptr
 
TH1 * h_nhit_n2 =nullptr
 
TH1 * h_nhit_s1 =nullptr
 
TH1 * h_nhit_s2 =nullptr
 
TH2 * h_nhit_n_corr =nullptr
 
TH2 * h_nhit_s_corr =nullptr
 
TH1 * h_time_diff =nullptr
 
TH2 * h_hit_check =nullptr
 
float binstart = -0.5
 
float binend = 64.5
 
float binend2 = 32.5
 
const int nSamples = 20
 
const int nChannels =52
 
const int nChargeChannels = 8
 
const int nHitSampleIdx = 9
 
const int nhitbins = 65
 
- Protected Attributes inherited from OnlMon
int status
 
unsigned int m_MonitorServerId = 0
 
TH1 * m_LocalFrameWorkVars = nullptr
 
- Protected Attributes inherited from OnlMonBase
std::string ThisName
 
int verbosity = 0
 

Additional Inherited Members

- Public Types inherited from OnlMon
enum  { ACTIVE = -1, OK = 0, WARNING = 1, ERROR = 2 }
 

Detailed Description

Definition at line 10 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 10 of file LL1Mon.h

Constructor & Destructor Documentation

LL1Mon::LL1Mon ( const std::string &  name = "LL1MON")

Definition at line 33 of file LL1Mon.cc.

View newest version in sPHENIX GitHub at line 33 of file LL1Mon.cc

LL1Mon::~LL1Mon ( )
virtual

Definition at line 41 of file LL1Mon.cc.

View newest version in sPHENIX GitHub at line 41 of file LL1Mon.cc

Member Function Documentation

int LL1Mon::BeginRun ( const int  runno)
virtual

Reimplemented from OnlMon.

Definition at line 86 of file LL1Mon.cc.

View newest version in sPHENIX GitHub at line 86 of file LL1Mon.cc

int LL1Mon::Init ( )
virtual

Reimplemented from OnlMon.

Definition at line 47 of file LL1Mon.cc.

View newest version in sPHENIX GitHub at line 47 of file LL1Mon.cc

References binend, binend2, binstart, h_line_up, h_nhit_corr, h_nhit_n1, h_nhit_n2, h_nhit_s1, h_nhit_s2, OnlMonServer::instance(), nhitbins, printf(), OnlMonServer::registerHisto(), and Reset().

+ Here is the call graph for this function:

int LL1Mon::process_event ( Event evt)
virtual

Reimplemented from OnlMon.

Definition at line 93 of file LL1Mon.cc.

View newest version in sPHENIX GitHub at line 93 of file LL1Mon.cc

References LL1HEADER::channel, evtcnt, Event::getPacket(), h_line_up, h_nhit_corr, h_nhit_n1, h_nhit_n2, h_nhit_s1, h_nhit_s2, LL1HEADER::idxhitn, LL1HEADER::idxhits, Packet::iValue(), ll1setup(), nChannels, LL1HEADER::nhit_n, LL1HEADER::nhit_n1, LL1HEADER::nhit_n2, LL1HEADER::nhit_s, LL1HEADER::nhit_s1, LL1HEADER::nhit_s2, nSamples, thresh, and LL1HEADER::triggerwords.

+ Here is the call graph for this function:

int LL1Mon::Reset ( )
virtual

Reimplemented from OnlMon.

Definition at line 139 of file LL1Mon.cc.

View newest version in sPHENIX GitHub at line 139 of file LL1Mon.cc

References evtcnt, and idummy.

Referenced by Init().

+ Here is the caller graph for this function:

Member Data Documentation

float LL1Mon::binend = 64.5
protected

Definition at line 41 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 41 of file LL1Mon.h

Referenced by Init().

float LL1Mon::binend2 = 32.5
protected

Definition at line 42 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 42 of file LL1Mon.h

Referenced by Init().

float LL1Mon::binstart = -0.5
protected

Definition at line 40 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 40 of file LL1Mon.h

Referenced by Init().

int LL1Mon::evtcnt = 0
protected

Definition at line 22 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 22 of file LL1Mon.h

Referenced by process_event(), and Reset().

TH2* LL1Mon::h_hit_check =nullptr
protected

Definition at line 38 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 38 of file LL1Mon.h

TH1* LL1Mon::h_hit_n = nullptr
protected

Definition at line 27 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 27 of file LL1Mon.h

TH1* LL1Mon::h_hit_s = nullptr
protected

Definition at line 28 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 28 of file LL1Mon.h

TH2* LL1Mon::h_line_up =nullptr
protected

Definition at line 25 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 25 of file LL1Mon.h

Referenced by Init(), and process_event().

TH2* LL1Mon::h_nhit_corr =nullptr
protected

Definition at line 26 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 26 of file LL1Mon.h

Referenced by Init(), and process_event().

TH1* LL1Mon::h_nhit_n =nullptr
protected

Definition at line 29 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 29 of file LL1Mon.h

TH1* LL1Mon::h_nhit_n1 =nullptr
protected

Definition at line 31 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 31 of file LL1Mon.h

Referenced by Init(), and process_event().

TH1* LL1Mon::h_nhit_n2 =nullptr
protected

Definition at line 32 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 32 of file LL1Mon.h

Referenced by Init(), and process_event().

TH2* LL1Mon::h_nhit_n_corr =nullptr
protected

Definition at line 35 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 35 of file LL1Mon.h

TH1* LL1Mon::h_nhit_s =nullptr
protected

Definition at line 30 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 30 of file LL1Mon.h

TH1* LL1Mon::h_nhit_s1 =nullptr
protected

Definition at line 33 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 33 of file LL1Mon.h

Referenced by Init(), and process_event().

TH1* LL1Mon::h_nhit_s2 =nullptr
protected

Definition at line 34 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 34 of file LL1Mon.h

Referenced by Init(), and process_event().

TH2* LL1Mon::h_nhit_s_corr =nullptr
protected

Definition at line 36 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 36 of file LL1Mon.h

TH1* LL1Mon::h_time_diff =nullptr
protected

Definition at line 37 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 37 of file LL1Mon.h

int LL1Mon::idummy = 0
protected

Definition at line 23 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 23 of file LL1Mon.h

Referenced by Reset().

const int LL1Mon::nChannels =52
protected

Definition at line 44 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 44 of file LL1Mon.h

Referenced by process_event().

const int LL1Mon::nChargeChannels = 8
protected

Definition at line 45 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 45 of file LL1Mon.h

const int LL1Mon::nhitbins = 65
protected

Definition at line 48 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 48 of file LL1Mon.h

Referenced by Init().

const int LL1Mon::nHitSampleIdx = 9
protected

Definition at line 46 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 46 of file LL1Mon.h

const int LL1Mon::nSamples = 20
protected

Definition at line 43 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 43 of file LL1Mon.h

Referenced by process_event().

int LL1Mon::thresh =2
protected

Definition at line 24 of file LL1Mon.h.

View newest version in sPHENIX GitHub at line 24 of file LL1Mon.h

Referenced by process_event().


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