This class provides general information about an event. It extends MergedEventInfo with a list of sub-evts (the original and the bkg ones)
More...
#include <MergedEventInfo.h>
|
template<class T > |
using | owner = T |
|
This class provides general information about an event. It extends MergedEventInfo with a list of sub-evts (the original and the bkg ones)
Definition at line 43 of file MergedEventInfo.h.
◆ owner
◆ anonymous enum
Enumerator |
---|
EF_BITS | |
EF_ERROR_BITS | |
EF_ERROR_SHIFT | |
ACTUAL_INTERACTS_BITS | |
AVE_INTERACTS_BITS | |
AVE_INTERACTS_SHIFT | |
Definition at line 207 of file EventInfo/EventInfo/EventInfo.h.
◆ BackgroundEventFlag
Enumerator |
---|
MBTSTimeDiffHalo | |
MBTSTimeDiffCol | |
LArECTimeDiffHalo | |
LArECTimeDiffCol | |
PixMultiplicityHuge | |
PixSPNonEmpty | |
SCTMultiplicityHuge | |
SCTSPNonEmpty | |
CSCTimeDiffHalo | |
CSCTimeDiffCol | |
BCMTimeDiffHalo | |
BCMTimeDiffCol | |
MuonTimingCol | |
MuonTimingCosmic | |
MBTSBeamVeto | |
BCMBeamVeto | |
LUCIDBeamVeto | |
HaloMuonSegment | |
HaloClusterShape | |
HaloMuonOneSided | |
HaloMuonTwoSided | |
HaloTileClusterPattern | |
BeamGasPixel | |
CosmicStandAlone | |
CosmicStandAloneTight | |
CosmicCombined | |
CosmicCombinedTight | |
BkgdResvBit1 | |
BkgdResvBit2 | |
BkgdResvBit3 | |
BkgdResvBit4 | |
BkgdResvBit5 | |
NBackgroundWords | |
Definition at line 76 of file EventInfo/EventInfo/EventInfo.h.
◆ EventFlagErrorState
◆ EventFlagSubDet
Enumerator |
---|
Pixel | |
SCT | |
TRT | |
LAr | |
Tile | |
Muon | |
ForwardDet | |
Core | |
Background | |
Lumi | |
nDets | |
Definition at line 60 of file EventInfo/EventInfo/EventInfo.h.
61 Pixel,
SCT,
TRT,
LAr,
Tile,
Muon,
ForwardDet,
Core,
Background,
Lumi,
nDets
◆ MergedEventInfo() [1/2]
MergedEventInfo::MergedEventInfo |
( |
| ) |
|
◆ MergedEventInfo() [2/2]
◆ ~MergedEventInfo()
MergedEventInfo::~MergedEventInfo |
( |
| ) |
|
|
virtual |
◆ actualInteractionsPerCrossing()
float EventInfo::actualInteractionsPerCrossing |
( |
| ) |
const |
|
inlineinherited |
Access to number of interactions per crossing:
actual interactions per crossing for the current BCID - for in-time pile-up
average interactions per crossing for the current (or actual) BCID - for in-time pile-up
Definition at line 283 of file EventInfo/EventInfo/EventInfo.h.
◆ averageInteractionsPerCrossing()
float EventInfo::averageInteractionsPerCrossing |
( |
| ) |
const |
|
inlineinherited |
◆ classID()
◆ clID()
◆ errorState()
◆ event_ID() [1/2]
◆ event_ID() [2/2]
◆ event_type() [1/2]
◆ event_type() [2/2]
◆ eventFlags() [1/2]
const std::vector< unsigned int > & EventInfo::eventFlags |
( |
| ) |
const |
|
inlineinherited |
◆ eventFlags() [2/2]
◆ isEventFlagBitSet()
bool EventInfo::isEventFlagBitSet |
( |
EventFlagSubDet |
subDet, |
|
|
unsigned char |
bit |
|
) |
| const |
|
inlineinherited |
◆ origEvent_ID()
◆ setActualInteractionsPerCrossing()
void EventInfo::setActualInteractionsPerCrossing |
( |
float |
interactions | ) |
|
|
inherited |
Setting the number of interactions per crossing:
actual interactions per crossing for the current BCID - for in-time pile-up
Definition at line 156 of file EventInfo.cxx.
159 unsigned int ivalue = (
unsigned int) (interactions * 100.
f);
163 "EventInfo::setActualInteractionsPerCrossing *** ERROR ***: trying to store too large of value: interactions/ivalue/max value: "
◆ setAverageInteractionsPerCrossing()
void EventInfo::setAverageInteractionsPerCrossing |
( |
float |
interactions | ) |
|
|
inherited |
average interactions per crossing for all BCIDs - for out-of-time pile-up
Definition at line 173 of file EventInfo.cxx.
176 unsigned int ivalue = (
unsigned int) (interactions * 100.
f);
180 "EventInfo::setAverageInteractionsPerCrossing *** ERROR ***: trying to store too large of value: interactions/ivalue/max value: "
◆ setErrorState()
Set error state flag for a particular sub detector.
Returns true is successfully inserted (i.e. valid subDet).
Definition at line 139 of file EventInfo.cxx.
◆ setEventFlagBit()
bool EventInfo::setEventFlagBit |
( |
EventFlagSubDet |
subDet, |
|
|
unsigned char |
bit, |
|
|
bool |
set = true |
|
) |
| |
|
inherited |
Set a bit for an event flag of a particular sub detector.
bit range is 0 - 27. Returns true is successfully inserted (i.e. valid subDet and bit value). Use 'set = false' to unset the bit, default it true.
Definition at line 120 of file EventInfo.cxx.
◆ setEventFlags()
bool EventInfo::setEventFlags |
( |
EventFlagSubDet |
subDet, |
|
|
unsigned int |
flags |
|
) |
| |
|
inherited |
Set event flag for a particular sub detector - maximun size is 28 bits.
The bits beyond this will be ignored. Returns true is successfully inserted (i.e. valid subDet).
Definition at line 107 of file EventInfo.cxx.
◆ setEventID() [1/2]
◆ setEventID() [2/2]
void EventInfo::setEventID |
( |
std::unique_ptr< EventID > |
pid | ) |
|
|
protectedinherited |
◆ setEventType() [1/2]
◆ setEventType() [2/2]
void EventInfo::setEventType |
( |
std::unique_ptr< EventType > |
pType | ) |
|
|
protectedinherited |
◆ setTriggerInfo() [1/2]
◆ setTriggerInfo() [2/2]
void EventInfo::setTriggerInfo |
( |
std::unique_ptr< TriggerInfo > |
pTrig | ) |
|
|
inherited |
◆ trigger_info() [1/2]
◆ trigger_info() [2/2]
◆ m_event_flags
std::vector<unsigned int> EventInfo::m_event_flags {std::vector<unsigned int>(nDets, 0)} |
|
privateinherited |
◆ m_event_ID
std::unique_ptr<EventID> EventInfo::m_event_ID |
|
privateinherited |
◆ m_event_type
std::unique_ptr<EventType> EventInfo::m_event_type |
|
privateinherited |
◆ m_newEventID
EventID MergedEventInfo::m_newEventID |
|
private |
◆ m_trigger_info
The documentation for this class was generated from the following files:
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.