12#include <framework/gearbox/Const.h>
13#include <framework/logging/Logger.h>
87 unsigned int cdc,
unsigned int top,
88 unsigned int arich,
unsigned int ecl,
120 if (bit > -1 && bit < 192) {
123 B2FATAL(
"setPreScaleTrigger Error : " << bit <<
" not a valid range. \n Terminate");
198 if (bit > -1 && bit < 192) {
201 B2FATAL(
"getPreScaleTrigger Error : " << bit <<
" not a valid range. \n Terminate");
210 virtual void Print(Option_t* option =
"")
const override;
The DetectorSet class for sets of detector IDs in the form of EDetector values.
Database object for Run Information.
void setAcceptedNevent(unsigned int accepted_nevent)
Set No.
virtual void Print(Option_t *option="") const override
Print the content value.
unsigned int getExp() const
Get Experiment number.
void setExp(unsigned int exp)
Set Experimental Number.
unsigned int m_sentNevent
No.
void setBadRun(unsigned int bad_run)
Set Bad run tag (=0 means good run)
void setReceivedNevent(unsigned int received_nevent)
Set No.
unsigned int getRun() const
Get Run number.
Const::DetectorSet getBelle2Detector() const
Get DetectorSet for the subdetectors included in the set.
void setStopTime(unsigned long long int stop_time)
Set Run Stop time (Epoch time)
const std::string & getRunType() const
Get Run type.
unsigned int m_acceptedNevent
Get No.
RunInfo()
Default constructor.
unsigned int getPreScaleTrigger(int bit) const
Get L1 preScale Trigger factors.
unsigned int getReceivedNevent() const
Get No.
unsigned int m_exp
Experiment Number.
unsigned long long int m_stopTime
Run stop time (Epoch time)
unsigned int getAcceptedNevent() const
Get No.
void setRun(unsigned int run)
Set Run Number.
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.
ClassDefOverride(RunInfo, 2)
ClassDef.
double getTriggerRate() const
Get Trigger rate (Hz)
void setPreScaleTrigger(unsigned int prescaleTrigger, int bit)
Set L1 preScale Trigger factors.
std::string m_runType
Run type
unsigned int m_run
Run Number.
unsigned long long int m_startTime
Run start time (Epoch time)
unsigned int m_prescaleTrigger[192]
L1 Trigger Prescale factors.
unsigned int getSentNevent() const
Get No.
unsigned int getBadRun() const
Get Bad run tag.
unsigned int getRunLength() const
Get Run length (in sec) by DAQ.
void setSentNevent(unsigned int sent_nevent)
Set No.
unsigned long long int getStartTime() const
Get Run start time (Epoch time)
Const::DetectorSet m_Belle2Detector
DetectorSet for the sub-detector used.
void setTriggerRate(double trigger_rate)
Set Trigger rate (in Hz)
unsigned long long int getStopTime() const
Get Run stop time (Epoch time)
unsigned int m_runLength
Run length (in sec) by DAQ.
double m_triggerRate
Trigger rate (in Hz)
void setRunLength(unsigned int run_length)
Set Run length (in sec) by DAQ.
unsigned int m_receivedNevent
No.
unsigned int m_badRun
Bad run tag (=0 means good run)
void setRunType(const std::string &run_type)
Set Run Type.
void setStartTime(unsigned long long int start_time)
Set Run Start time (Epoch time)
Abstract base class for different kinds of events.