Belle II Software  release-08-01-10
RunInfo Class Reference

Database object for Run Information. More...

#include <RunInfo.h>

Inheritance diagram for RunInfo:
Collaboration diagram for RunInfo:

Public Member Functions

 RunInfo ()
 Default constructor.
 
void setExp (unsigned int exp)
 Set Experimental Number.
 
void setRun (unsigned int run)
 Set Run Number.
 
void setRunType (const std::string &run_type)
 Set Run Type.
 
void setStartTime (unsigned long long int start_time)
 Set Run Start time (Epoch time)
 
void setStopTime (unsigned long long int stop_time)
 Set Run Stop time (Epoch time)
 
void setReceivedNevent (unsigned int received_nevent)
 Set No. More...
 
void setAcceptedNevent (unsigned int accepted_nevent)
 Set No. More...
 
void setSentNevent (unsigned int sent_nevent)
 Set No. More...
 
void setRunLength (unsigned int run_length)
 Set Run length (in sec) by DAQ.
 
void setTriggerRate (double trigger_rate)
 Set Trigger rate (in Hz)
 
void setBelle2Detector (unsigned int pxd, unsigned int svd, unsigned int cdc, unsigned int top, unsigned int arich, unsigned int ecl, unsigned int klm)
 Set DetectorSet based on which sub-detectors is included.
 
void setBadRun (unsigned int bad_run)
 Set Bad run tag (=0 means good run)
 
void setPreScaleTrigger (unsigned int prescaleTrigger, int bit)
 Set L1 preScale Trigger factors.
 
unsigned int getExp () const
 Get Experiment number.
 
unsigned int getRun () const
 Get Run number.
 
const std::string & getRunType () const
 Get Run type.
 
unsigned long long int getStartTime () const
 Get Run start time (Epoch time)
 
unsigned long long int getStopTime () const
 Get Run stop time (Epoch time)
 
unsigned int getReceivedNevent () const
 Get No. More...
 
unsigned int getAcceptedNevent () const
 Get No. More...
 
unsigned int getSentNevent () const
 Get No. More...
 
unsigned int getRunLength () const
 Get Run length (in sec) by DAQ.
 
double getTriggerRate () const
 Get Trigger rate (Hz)
 
unsigned int getBadRun () const
 Get Bad run tag.
 
Const::DetectorSet getBelle2Detector () const
 Get DetectorSet for the subdetectors included in the set.
 
unsigned int getPreScaleTrigger (int bit) const
 Get L1 preScale Trigger factors.
 
virtual void Print (Option_t *option="") const override
 Print the content value.
 

Private Member Functions

 ClassDefOverride (RunInfo, 2)
 ClassDef.
 

Private Attributes

unsigned int m_exp {0}
 Experiment Number.
 
unsigned int m_run {0}
 Run Number.
 
std::string m_runType {""}
 Run type

 
unsigned long long int m_startTime {0}
 Run start time (Epoch time)
 
unsigned long long int m_stopTime {0}
 Run stop time (Epoch time)
 
unsigned int m_receivedNevent {0}
 No. More...
 
unsigned int m_acceptedNevent {0}
 Get No. More...
 
unsigned int m_sentNevent {0}
 No. More...
 
double m_triggerRate {0}
 Trigger rate (in Hz)
 
unsigned int m_runLength {0}
 Run length (in sec) by DAQ. More...
 
unsigned int m_badRun {0}
 Bad run tag (=0 means good run)
 
Const::DetectorSet m_Belle2Detector
 DetectorSet for the sub-detector used.
 
unsigned int m_prescaleTrigger [192] = {0}
 L1 Trigger Prescale factors.
 

Detailed Description

Database object for Run Information.

Definition at line 24 of file RunInfo.h.

Member Function Documentation

◆ getAcceptedNevent()

unsigned int getAcceptedNevent ( ) const
inline

Get No.

of events triggered

Definition at line 163 of file RunInfo.h.

163 { return m_acceptedNevent; }
unsigned int m_acceptedNevent
Get No.
Definition: RunInfo.h:234

◆ getReceivedNevent()

unsigned int getReceivedNevent ( ) const
inline

Get No.

of events HLT processed

Definition at line 158 of file RunInfo.h.

◆ getSentNevent()

unsigned int getSentNevent ( ) const
inline

Get No.

of events recorded

Definition at line 168 of file RunInfo.h.

◆ setAcceptedNevent()

void setAcceptedNevent ( unsigned int  accepted_nevent)
inline

Set No.

of events triggered

Definition at line 65 of file RunInfo.h.

◆ setReceivedNevent()

void setReceivedNevent ( unsigned int  received_nevent)
inline

Set No.

of events HLT processed

Definition at line 60 of file RunInfo.h.

◆ setSentNevent()

void setSentNevent ( unsigned int  sent_nevent)
inline

Set No.

of events recorded

Definition at line 70 of file RunInfo.h.

Member Data Documentation

◆ m_acceptedNevent

unsigned int m_acceptedNevent {0}
private

Get No.

of events triggered

Definition at line 234 of file RunInfo.h.

◆ m_receivedNevent

unsigned int m_receivedNevent {0}
private

No.

of events HLT processed

Definition at line 231 of file RunInfo.h.

◆ m_runLength

unsigned int m_runLength {0}
private

Run length (in sec) by DAQ.

Start and Stop time are when shifter starts the run but in reality there is some difference as DAQ doesn't start immediately or can be paused during the run.

Definition at line 243 of file RunInfo.h.

◆ m_sentNevent

unsigned int m_sentNevent {0}
private

No.

of events recorded

Definition at line 237 of file RunInfo.h.


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