 |
Belle II Software
release-05-01-25
|
14 #include <framework/datastore/RelationsObject.h>
98 unsigned int ftdlBits[10],
99 unsigned int psnmBits[10],
123 bool testFtdl(
unsigned int bit)
const;
135 bool testPsnm(
unsigned int bit)
const;
@ TTYP_DPHY
delayed physics events for background
@ TTYP_PID2
reserved (not defined yet)
void setPreScale(int i, int bit, int pre)
set the prescale factor of each bit
ETimingQuality getTimQuality() const
get timing source quality
ETimingType getTimType() const
get timing source information
void setPsnmBits(int i, int word)
set the Prescaled ftdl bits
static const int c_Version
version of this code
@ TTYP_PID3
reserved (not defined yet)
unsigned int getFtdlBits(const unsigned i) const
get ftdl bits (directly determined by the trigger conditions)
@ TTYP_CDC
events triggered by CDC timing
bool isPoissonInInjectionVeto() const
check whether poisson random trigger is within injection veto
void setFtdlBits(int i, int word)
set the ftdl bits, the same as setTRGSummary(int i, int word)
@ TTYP_RAND
random trigger events
bool testPsnm(unsigned int bit) const
check whether a psnm bit is set
bool testInput(unsigned int bit) const
check whether an input bit is set
ClassDefOverride(TRGSummary, 7)
Trigger Summary Information including bit (input, ftdl, psnm), timing and trigger source.
void setTRGSummary(int i, int word)
set the Final Trigger Decision Logic bit
ETimingQuality
trigger timing type quality
unsigned int getPsnmBits(const unsigned i) const
get psnm bits (prescaled ftdl bits)
bool test() const
check whether any psnm bit is set
@ TTYP_RSV1
reserved (not defined yet)
bool testFtdl(unsigned int bit) const
check whether a ftdl bit is set
ETimingQuality m_timQuality
trigger timing type quality
@ TTYP_ECL
events triggered by ECL timing
@ TTYP_SELF
events triggered by self trigger
@ TTYP_PID1
reserved (not defined yet)
Trigger Summary Information input bits input bits from subdetectors ftdl (Final Trigger Decision Logi...
@ TTYP_RSV4
reserved (not defined yet)
bool m_isPoissonInInjectionVeto
Poisson random trigger in injection veto or not.
ETimingType m_timType
types of trigger timing source defined in b2tt firmware
unsigned int m_psnmBits[c_ntrgWords]
psnm (PreScale aNd Mask) bits.
unsigned int getOutputBitNumber(const std::string &name) const
get number of an output trigger bit
@ TTYP_RSV3
reserved (not defined yet)
unsigned int getTRGSummary(int i) const
get the trigger result, each word has 32 bits
unsigned int getInputBitNumber(const std::string &name) const
get number of an input trigger bit
unsigned int getInputBits(const unsigned i) const
get input bits
@ TTYP_TOP
events triggered by TOP timing
void setInputBits(int i, int word)
set the input bits
Abstract base class for different kinds of events.
static const unsigned int c_trgWordSize
size of a l1 trigger word
void setPoissonInInjectionVeto()
set true if poisson random trigger is within injection veto
static const unsigned int c_ntrgWords
number of l1 trigger words
std::string getInfoHTML() const override
Return a short summary of this object's contents in HTML format.
void setTimQuality(ETimingQuality timQuality)
set the timQuality
unsigned int getPreScale(int i, int bit) const
get the prescale factor which the bit is corresponding
std::string outputBitWithColor(bool bit) const
return the td part of an HTML table with green of the bit is > 0
TRGSummary()=default
default constructor: xxx
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
void setTimType(ETimingType timType)
set the timType
ETimingType
types of trigger timing source defined in b2tt firmware
@ TTYP_NONE
reserved (not defined yet)
@ TTYP_TEST
test pulse input
@ TTYP_RSV2
reserved (not defined yet)
unsigned int m_prescaleBits[c_ntrgWords][c_trgWordSize]
the prescale factor of each bit
unsigned int m_ftdlBits[c_ntrgWords]
ftdl (Final Trigger Decision Logic) bits.
unsigned int m_inputBits[c_ntrgWords]
input bits from subdetectors
@ TTYP_POIS
poisson random trigger