![]() |
ATLAS Offline Software
|
Class describing the basic event information. More...
#include <EventInfo_v1.h>
Classes | |
| class | StreamTag |
| Class describing a stream tag on the event. More... | |
| struct | PileUpMixtureID |
| Unique pile-up mixture identifier definition. More... | |
| class | SubEvent |
| Class describing the properties of one pileup sub-event. More... | |
Public Member Functions | |
| EventInfo_v1 () | |
| Default constructor. | |
| EventInfo_v1 (const EventInfo_v1 &parent) | |
| Copy constructor. | |
| EventInfo_v1 & | operator= (const EventInfo_v1 &rhs) |
| Assignment operator. | |
| void | toPersistent () |
| Prepare the object for writing. | |
| void | toTransient () |
| Cleanse the object after being read in. | |
Basic event information | |
| uint32_t | runNumber () const |
| The current event's run number. | |
| void | setRunNumber (uint32_t value) |
| Set the current event's run number. | |
| uint64_t | eventNumber () const |
| The current event's event number. | |
| void | setEventNumber (uint64_t value) |
| Set the current event's event number. | |
| uint32_t | lumiBlock () const |
| The current event's luminosity block number. | |
| void | setLumiBlock (uint32_t value) |
| Set the current event's luminosity block number. | |
| uint32_t | timeStamp () const |
| POSIX time in seconds from 1970. January 1st. | |
| void | setTimeStamp (uint32_t value) |
| Set the POSIX time of the event. | |
| uint32_t | timeStampNSOffset () const |
| Nanosecond time offset wrt. the time stamp. | |
| void | setTimeStampNSOffset (uint32_t value) |
| Set the nanosecond offset wrt. the time stamp. | |
| uint32_t | bcid () const |
| The bunch crossing ID of the event. | |
| void | setBCID (uint32_t value) |
| Set the bunch crossing ID of the event. | |
| uint32_t | detectorMask0 () const |
| Bit field indicating which TTC zones are present in the event. | |
| void | setDetectorMask0 (uint32_t value) |
| Set the bit field indicating with TTC timezones were present. | |
| uint32_t | detectorMask1 () const |
| Bit field indicating which TTC zones are present in the event. | |
| void | setDetectorMask1 (uint32_t value) |
| Set the bit field indicating with TTC timezones were present. | |
| uint32_t | detectorMask2 () const |
| Bit field indicating which TTC zones are present in the event. | |
| void | setDetectorMask2 (uint32_t value) |
| Set the bit field indicating with TTC timezones were present. | |
| uint32_t | detectorMask3 () const |
| Bit field indicating which TTC zones are present in the event. | |
| void | setDetectorMask3 (uint32_t value) |
| Set the bit field indicating with TTC timezones were present. | |
| uint64_t | detectorMask () const |
| Bit field indicating which TTC zones are present in the event. | |
| void | setDetectorMask (uint32_t mask0, uint32_t mask1) |
| Set the bit fields indicating with TTC timezones were present. | |
| void | setDetectorMask (uint64_t mask) |
| Set the bit fields indicating with TTC timezones were present. | |
| uint64_t | detectorMaskExt () const |
| Bit field indicating which TTC zones are present in the event. | |
| void | setDetectorMaskExt (uint32_t mask2, uint32_t mask3) |
| Set the bit fields indicating with TTC timezones were present. | |
| void | setDetectorMaskExt (uint64_t mask) |
| Set the bit fields indicating with TTC timezones were present. | |
Trigger related information | |
| uint32_t | statusElement () const |
| Trigger status element. | |
| void | setStatusElement (uint32_t value) |
| Set the trigger status element. | |
| uint32_t | extendedLevel1ID () const |
| The extended Level-1 identifier. | |
| void | setExtendedLevel1ID (uint32_t value) |
| Set the extended Level-1 identifier. | |
| uint16_t | level1TriggerType () const |
| The Level-1 trigger type. | |
| void | setLevel1TriggerType (uint16_t value) |
| Set the Level-1 trigger type. | |
| const std::vector< StreamTag > & | streamTags () const |
| Get the streams that the event was put in. | |
| void | setStreamTags (const std::vector< StreamTag > &value) |
| Set the streams that the event was put in. | |
Beam spot information | |
| float | beamPosX () const |
| X coordinate of the beam spot position. | |
| float | beamPosY () const |
| Y coordinate of the beam spot position. | |
| float | beamPosZ () const |
| Z coordinate of the beam spot position. | |
| void | setBeamPos (float x, float y, float z) |
| Set the beam spot position. | |
| float | beamPosSigmaX () const |
| The width of the beam spot in the X direction. | |
| float | beamPosSigmaY () const |
| The width of the beam spot in the Y direction. | |
| float | beamPosSigmaZ () const |
| The length of the beam spot in the Z direction. | |
| void | setBeamPosSigma (float x, float y, float z) |
| Set the size of the beam spot. | |
| float | beamPosSigmaXY () const |
| The beam spot shape's X-Y correlation. | |
| void | setBeamPosSigmaXY (float value) |
| Set the beam spot shape's X-Y correlation. | |
| float | beamTiltXZ () const |
| The beam's tilt in radians in XZ. | |
| void | setBeamTiltXZ (float value) |
| Set the beam's tilt in radians in XZ. | |
| float | beamTiltYZ () const |
| The beam's tilt in radians in YZ. | |
| void | setBeamTiltYZ (float value) |
| Set the beam's tilt in radians in YZ. | |
| uint32_t | beamStatus () const |
| The beam spot's status word. | |
| void | setBeamStatus (uint32_t value) |
| Set the beam spot's status word. | |
| float | beamSpotWeight () const |
| Weight for beam spot size reweighting. | |
| bool | hasBeamSpotWeight () const |
| Check if weight for beam spot size reweighting exists. | |
| void | setBeamSpotWeight (float value) |
| Set weight for beam spot size reweighting. | |
Functions used by pile-up digitisation | |
| StoreGateSvc *evtStore | ATLAS_NOT_CONST_THREAD_SAFE () const |
| Get the pointer to the event store associated with this event. | |
| void | setEvtStore (StoreGateSvc *svc) |
| Set the pointer to the event store associated with this event. | |
Private Member Functions | |
| std::vector< EventInfo_v1::SubEvent > | makeSubEvents () const |
Private Attributes | |
| CxxUtils::CachedValue< std::vector< StreamTag > > | m_streamTags |
| Cached stream tag objects. | |
| CxxUtils::CachedValue< std::vector< SubEvent > > | m_subEvents |
| Cached sub-event objects. | |
| StoreGateSvc * | m_evtStore |
| Transient pointer to the StoreGateSvc instance associated with the event (Needed for pile-up digitisation). | |
Event type information | |
| enum | EventType { IS_SIMULATION = 1 , IS_TESTBEAM = 2 , IS_CALIBRATION = 4 } |
| Event type codes that can be set/checked in the bitmask. More... | |
| typedef std::vector< std::pair< std::string, std::string > > | DetDescrTags_t |
| Type of the detector description tags. | |
| const DetDescrTags_t & | detDescrTags () const |
| The detector description tags. | |
| void | setDetDescrTags (const DetDescrTags_t &value) |
| Set the detector description tags. | |
| uint32_t | mcChannelNumber () const |
| The MC generator's channel number. | |
| void | setMCChannelNumber (uint32_t value) |
| Set the MC generator's channel number. | |
| uint64_t | mcEventNumber () const |
| The MC generator's event number. | |
| void | setMCEventNumber (uint64_t value) |
| Set the MC generator's event number. | |
| const std::vector< float > & | mcEventWeights () const |
| The weights of all the MC events used in the simulation. | |
| void | setMCEventWeights (const std::vector< float > &value) |
| Set the weights of all the MC events used in the simulation. | |
| float | mcEventWeight (size_t i=0) const |
| The weight of one specific MC event used in the simulation. | |
| uint32_t | eventTypeBitmask () const |
| The event type bitmask. | |
| void | setEventTypeBitmask (uint32_t value) |
| Set the event type bitmask. | |
| bool | eventType (EventType type) const |
| Check for one particular bitmask value. | |
Pileup information | |
| enum | PileUpType { Unknown = 99 , Signal = 0 , MinimumBias = 1 , Cavern = 2 , HaloGas = 3 , HighPtMinimumBias = 4 , ZeroBias = 5 , PileUp_NTYPES } |
| Enumerator describing the types of pileup events. More... | |
| float | actualInteractionsPerCrossing () const |
| Average interactions per crossing for the current BCID - for in-time pile-up. | |
| void | setActualInteractionsPerCrossing (float value) |
| Set average interactions per crossing for the current BCID. | |
| float | averageInteractionsPerCrossing () const |
| Average interactions per crossing for all BCIDs - for out-of-time pile-up. | |
| void | setAverageInteractionsPerCrossing (float value) |
| Set average interactions per crossing for all BCIDs. | |
| PileUpMixtureID | pileUpMixtureID () const |
| Unique pile-up mixture identifier. | |
| void | setPileUpMixtureID (const PileUpMixtureID &value) |
| Set unique pile-up mixture identifier. | |
| uint64_t | pileUpMixtureIDLowBits () const |
| Unique pile-up mixture identifier low bits. | |
| void | setPileUpMixtureIDLowBits (uint64_t value) |
| Set unique pile-up mixture identifier low bits. | |
| uint64_t | pileUpMixtureIDHighBits () const |
| Unique pile-up mixture identifier high bits. | |
| void | setPileUpMixtureIDHighBits (uint64_t value) |
| Set unique pile-up mixture identifier high bits. | |
| const std::vector< SubEvent > & | subEvents () const |
| Get the pileup events that were used in the simulation. | |
| void | setSubEvents (const std::vector< SubEvent > &value) |
| Set the pileup events that were used in the simulation. | |
| void | addSubEvent (const SubEvent &subEvent) |
| Add one sub-event to the existing list. | |
| void | clearSubEvents () |
| Clear all the currently held sub-events. | |
| static const std::string & | PileUpType2Name (PileUpType typ) |
| Convert PileUpType enum value to string. | |
| static PileUpType | PileUpInt2Type (unsigned short typ) |
| Convert int to PileUpType enum value. | |
Detector information | |
| enum | EventFlagSubDet { Pixel = 0 , SCT = 1 , TRT = 2 , LAr = 3 , Tile = 4 , Muon = 5 , ForwardDet = 6 , Core = 7 , Background = 8 , Lumi = 9 , nDets = 10 } |
| Sub-detector types for which we store event-level flags. More... | |
| enum | EventFlagErrorState { NotSet = 0 , Warning = 1 , Error = 2 } |
| States that a given sub-detector could be in. More... | |
| enum | BackgroundEventFlag { MBTSTimeDiffHalo = 0 , MBTSTimeDiffCol = 1 , LArECTimeDiffHalo = 2 , LArECTimeDiffCol = 3 , PixMultiplicityHuge = 4 , PixSPNonEmpty = 5 , SCTMultiplicityHuge = 6 , SCTSPNonEmpty = 7 , CSCTimeDiffHalo = 8 , CSCTimeDiffCol = 9 , BCMTimeDiffHalo = 10 , BCMTimeDiffCol = 11 , MuonTimingCol = 12 , MuonTimingCosmic = 13 , MBTSBeamVeto = 14 , BCMBeamVeto = 15 , LUCIDBeamVeto = 16 , HaloMuonSegment = 17 , HaloClusterShape = 18 , HaloMuonOneSided = 19 , HaloMuonTwoSided = 20 , HaloTileClusterPattern = 21 , BeamGasPixel = 22 , CosmicStandAlone = 23 , CosmicStandAloneTight = 24 , CosmicCombined = 25 , CosmicCombinedTight = 26 , BkgdResvBit1 = 27 , BkgdResvBit2 = 28 , BkgdResvBit3 = 29 , BkgdResvBit4 = 30 , BkgdResvBit5 = 31 , NBackgroundWords = 32 } |
| Enum for bits in Background EventFlag word. More... | |
| uint32_t | eventFlags (EventFlagSubDet subDet) const |
| Get the event flags for a particular sub-detector. | |
| bool | isEventFlagBitSet (EventFlagSubDet subDet, size_t bit) const |
| Check one particular bit of one particular sub-detector. | |
| bool | setEventFlags (EventFlagSubDet subDet, uint32_t flags) |
| Set the event flags for a particular sub-detector. | |
| bool | setEventFlagBit (EventFlagSubDet subDet, size_t bit) const |
| Set one particular bit of one particular sub-detector. | |
| bool | resetEventFlagBit (EventFlagSubDet subDet, size_t bit) |
| Reset one particular bit of one particular sub-detector. | |
| EventFlagErrorState | errorState (EventFlagSubDet subDet) const |
| Get the error state for a particular sub-detector. | |
| bool | setErrorState (EventFlagSubDet subDet, EventFlagErrorState state) |
| Set the error state for a particular sub-detector. | |
| bool | updateEventFlagBit (const EventFlagSubDet subDet, const size_t bit) const |
| Change detector flags with update semantics. | |
| bool | updateEventFlags (const EventFlagSubDet subDet, const uint32_t flags_in) const |
| Turn on a set of event flags for one particular sub-detector. | |
| bool | updateErrorState (const EventFlagSubDet subDet, const EventFlagErrorState state) const |
| Update the error state for one particular sub-detector. | |
Class describing the basic event information.
This is a replacement for the offline EventInfo class, to be used in xAOD files. It stores the same information as its parent, but in much simpler format. Practically in the same format in which we store(d) event information in D3PDs.
Definition at line 43 of file EventInfo_v1.h.
| typedef std::vector< std::pair< std::string, std::string > > xAOD::EventInfo_v1::DetDescrTags_t |
Type of the detector description tags.
Definition at line 124 of file EventInfo_v1.h.
Enum for bits in Background EventFlag word.
Definition at line 353 of file EventInfo_v1.h.
States that a given sub-detector could be in.
| Enumerator | |
|---|---|
| NotSet | The flag was not set to anything. |
| Warning | The sub-detector issued a warning. |
| Error | The sub-detector issued an error. |
Definition at line 346 of file EventInfo_v1.h.
Sub-detector types for which we store event-level flags.
| Enumerator | |
|---|---|
| Pixel | The pixel tracker. |
| SCT | The SCT. |
| TRT | The TRT. |
| LAr | The LAr calorimeter. |
| Tile | The Tile calorimeter. |
| Muon | The muon spectrometer. |
| ForwardDet | The forward detectors. |
| Core | Core flags describing the event. |
| Background | The beam background detectors. |
| Lumi | The luminosity detectors. |
| nDets | Number of sub-detector type in this enumeration. |
Definition at line 331 of file EventInfo_v1.h.
Event type codes that can be set/checked in the bitmask.
| Enumerator | |
|---|---|
| IS_SIMULATION | true: simulation, false: data |
| IS_TESTBEAM | true: testbeam, false: full detector |
| IS_CALIBRATION | true: calibration, false: physics |
Definition at line 149 of file EventInfo_v1.h.
Enumerator describing the types of pileup events.
| Enumerator | |
|---|---|
| Unknown | Type not known/specified. |
| Signal | The signal event. |
| MinimumBias | (Low pT) Minimum bias pileup event |
| Cavern | Cavern background pileup event. |
| HaloGas | Halo-gas non-collision background. |
| HighPtMinimumBias | High pT Minimum bias pileup event. |
| ZeroBias | Zero bias pileup event. |
| PileUp_NTYPES | |
Definition at line 264 of file EventInfo_v1.h.
| xAOD::EventInfo_v1::EventInfo_v1 | ( | ) |
Default constructor.
Definition at line 82 of file EventInfo_v1.cxx.
| xAOD::EventInfo_v1::EventInfo_v1 | ( | const EventInfo_v1 & | parent | ) |
Copy constructor.
Definition at line 88 of file EventInfo_v1.cxx.
| float xAOD::EventInfo_v1::actualInteractionsPerCrossing | ( | ) | const |
Average interactions per crossing for the current BCID - for in-time pile-up.
Definition at line 380 of file EventInfo_v1.cxx.
Add one sub-event to the existing list.
Definition at line 629 of file EventInfo_v1.cxx.
| StoreGateSvc *evtStore xAOD::EventInfo_v1::ATLAS_NOT_CONST_THREAD_SAFE | ( | ) | const |
Get the pointer to the event store associated with this event.
| float xAOD::EventInfo_v1::averageInteractionsPerCrossing | ( | ) | const |
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
Definition at line 397 of file EventInfo_v1.cxx.
| uint32_t xAOD::EventInfo_v1::bcid | ( | ) | const |
The bunch crossing ID of the event.
| float xAOD::EventInfo_v1::beamPosSigmaX | ( | ) | const |
The width of the beam spot in the X direction.
| float xAOD::EventInfo_v1::beamPosSigmaXY | ( | ) | const |
The beam spot shape's X-Y correlation.
| float xAOD::EventInfo_v1::beamPosSigmaY | ( | ) | const |
The width of the beam spot in the Y direction.
| float xAOD::EventInfo_v1::beamPosSigmaZ | ( | ) | const |
The length of the beam spot in the Z direction.
| float xAOD::EventInfo_v1::beamPosX | ( | ) | const |
X coordinate of the beam spot position.
| float xAOD::EventInfo_v1::beamPosY | ( | ) | const |
Y coordinate of the beam spot position.
| float xAOD::EventInfo_v1::beamPosZ | ( | ) | const |
Z coordinate of the beam spot position.
| float xAOD::EventInfo_v1::beamSpotWeight | ( | ) | const |
Weight for beam spot size reweighting.
Definition at line 970 of file EventInfo_v1.cxx.
| uint32_t xAOD::EventInfo_v1::beamStatus | ( | ) | const |
The beam spot's status word.
| float xAOD::EventInfo_v1::beamTiltXZ | ( | ) | const |
The beam's tilt in radians in XZ.
| float xAOD::EventInfo_v1::beamTiltYZ | ( | ) | const |
The beam's tilt in radians in YZ.
| void xAOD::EventInfo_v1::clearSubEvents | ( | ) |
Clear all the currently held sub-events.
Definition at line 647 of file EventInfo_v1.cxx.
| const DetDescrTags_t & xAOD::EventInfo_v1::detDescrTags | ( | ) | const |
The detector description tags.
| setEventNumber setTimeStamp setBCID setDetectorMask1 setDetectorMask3 uint64_t xAOD::EventInfo_v1::detectorMask | ( | ) | const |
Bit field indicating which TTC zones are present in the event.
Definition at line 143 of file EventInfo_v1.cxx.
| uint32_t xAOD::EventInfo_v1::detectorMask0 | ( | ) | const |
Bit field indicating which TTC zones are present in the event.
| uint32_t xAOD::EventInfo_v1::detectorMask1 | ( | ) | const |
Bit field indicating which TTC zones are present in the event.
| uint32_t xAOD::EventInfo_v1::detectorMask2 | ( | ) | const |
Bit field indicating which TTC zones are present in the event.
| uint32_t xAOD::EventInfo_v1::detectorMask3 | ( | ) | const |
Bit field indicating which TTC zones are present in the event.
| uint64_t xAOD::EventInfo_v1::detectorMaskExt | ( | ) | const |
Bit field indicating which TTC zones are present in the event.
Definition at line 164 of file EventInfo_v1.cxx.
| EventInfo_v1::EventFlagErrorState xAOD::EventInfo_v1::errorState | ( | EventFlagSubDet | subDet | ) | const |
Get the error state for a particular sub-detector.
Definition at line 817 of file EventInfo_v1.cxx.
| uint32_t xAOD::EventInfo_v1::eventFlags | ( | EventFlagSubDet | subDet | ) | const |
Get the event flags for a particular sub-detector.
Definition at line 697 of file EventInfo_v1.cxx.
| uint64_t xAOD::EventInfo_v1::eventNumber | ( | ) | const |
The current event's event number.
| uint32_t xAOD::EventInfo_v1::eventTypeBitmask | ( | ) | const |
The event type bitmask.
| uint32_t xAOD::EventInfo_v1::extendedLevel1ID | ( | ) | const |
The extended Level-1 identifier.
| bool xAOD::EventInfo_v1::hasBeamSpotWeight | ( | ) | const |
Check if weight for beam spot size reweighting exists.
Definition at line 966 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::isEventFlagBitSet | ( | EventFlagSubDet | subDet, |
| size_t | bit ) const |
Check one particular bit of one particular sub-detector.
Definition at line 703 of file EventInfo_v1.cxx.
| uint16_t xAOD::EventInfo_v1::level1TriggerType | ( | ) | const |
The Level-1 trigger type.
| uint32_t xAOD::EventInfo_v1::lumiBlock | ( | ) | const |
The current event's luminosity block number.
|
private |
Definition at line 523 of file EventInfo_v1.cxx.
| setMCChannelNumber setMCEventWeights float xAOD::EventInfo_v1::mcEventWeight | ( | size_t | i = 0 | ) | const |
The weight of one specific MC event used in the simulation.
Definition at line 203 of file EventInfo_v1.cxx.
The weights of all the MC events used in the simulation.
| EventInfo_v1 & xAOD::EventInfo_v1::operator= | ( | const EventInfo_v1 & | rhs | ) |
Assignment operator.
Definition at line 96 of file EventInfo_v1.cxx.
|
static |
Convert int to PileUpType enum value.
Definition at line 672 of file EventInfo_v1.cxx.
| setPileUpMixtureIDHighBits EventInfo_v1::PileUpMixtureID xAOD::EventInfo_v1::pileUpMixtureID | ( | ) | const |
Unique pile-up mixture identifier.
Definition at line 421 of file EventInfo_v1.cxx.
| uint64_t xAOD::EventInfo_v1::pileUpMixtureIDHighBits | ( | ) | const |
Unique pile-up mixture identifier high bits.
| uint64_t xAOD::EventInfo_v1::pileUpMixtureIDLowBits | ( | ) | const |
Unique pile-up mixture identifier low bits.
|
static |
Convert PileUpType enum value to string.
Definition at line 658 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::resetEventFlagBit | ( | EventFlagSubDet | subDet, |
| size_t | bit ) |
Reset one particular bit of one particular sub-detector.
Definition at line 772 of file EventInfo_v1.cxx.
| uint32_t xAOD::EventInfo_v1::runNumber | ( | ) | const |
The current event's run number.
| void xAOD::EventInfo_v1::setActualInteractionsPerCrossing | ( | float | value | ) |
Set average interactions per crossing for the current BCID.
Definition at line 391 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setAverageInteractionsPerCrossing | ( | float | value | ) |
Set average interactions per crossing for all BCIDs.
Definition at line 408 of file EventInfo_v1.cxx.
Set the beam spot position.
Definition at line 916 of file EventInfo_v1.cxx.
Set the size of the beam spot.
Definition at line 935 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setBeamPosSigmaXY | ( | float | value | ) |
Set the beam spot shape's X-Y correlation.
| void xAOD::EventInfo_v1::setBeamSpotWeight | ( | float | value | ) |
Set weight for beam spot size reweighting.
Definition at line 976 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setDetDescrTags | ( | const DetDescrTags_t & | value | ) |
Set the detector description tags.
Set the bit fields indicating with TTC timezones were present.
Definition at line 149 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setDetectorMask | ( | uint64_t | mask | ) |
Set the bit fields indicating with TTC timezones were present.
Definition at line 156 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setDetectorMask0 | ( | uint32_t | value | ) |
Set the bit field indicating with TTC timezones were present.
| void xAOD::EventInfo_v1::setDetectorMask1 | ( | uint32_t | value | ) |
Set the bit field indicating with TTC timezones were present.
| void xAOD::EventInfo_v1::setDetectorMask2 | ( | uint32_t | value | ) |
Set the bit field indicating with TTC timezones were present.
| void xAOD::EventInfo_v1::setDetectorMask3 | ( | uint32_t | value | ) |
Set the bit field indicating with TTC timezones were present.
Set the bit fields indicating with TTC timezones were present.
Definition at line 170 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setDetectorMaskExt | ( | uint64_t | mask | ) |
Set the bit fields indicating with TTC timezones were present.
Definition at line 177 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::setErrorState | ( | EventFlagSubDet | subDet, |
| EventFlagErrorState | state ) |
Set the error state for a particular sub-detector.
Definition at line 825 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::setEventFlagBit | ( | EventFlagSubDet | subDet, |
| size_t | bit ) const |
Set one particular bit of one particular sub-detector.
Definition at line 741 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::setEventFlags | ( | EventFlagSubDet | subDet, |
| uint32_t | flags ) |
Set the event flags for a particular sub-detector.
Definition at line 719 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setEvtStore | ( | StoreGateSvc * | svc | ) |
Set the pointer to the event store associated with this event.
Definition at line 990 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setLumiBlock | ( | uint32_t | value | ) |
Set the current event's luminosity block number.
| void xAOD::EventInfo_v1::setMCChannelNumber | ( | uint32_t | value | ) |
| void xAOD::EventInfo_v1::setPileUpMixtureID | ( | const PileUpMixtureID & | value | ) |
Set unique pile-up mixture identifier.
Definition at line 436 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setPileUpMixtureIDHighBits | ( | uint64_t | value | ) |
Set unique pile-up mixture identifier high bits.
| void xAOD::EventInfo_v1::setPileUpMixtureIDLowBits | ( | uint64_t | value | ) |
Set unique pile-up mixture identifier low bits.
Set the streams that the event was put in.
Definition at line 342 of file EventInfo_v1.cxx.
Set the pileup events that were used in the simulation.
Definition at line 607 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::setTimeStampNSOffset | ( | uint32_t | value | ) |
Set the nanosecond offset wrt. the time stamp.
| uint32_t xAOD::EventInfo_v1::statusElement | ( | ) | const |
Trigger status element.
| const std::vector< EventInfo_v1::StreamTag > & xAOD::EventInfo_v1::streamTags | ( | ) | const |
Get the streams that the event was put in.
Definition at line 283 of file EventInfo_v1.cxx.
| const std::vector< EventInfo_v1::SubEvent > & xAOD::EventInfo_v1::subEvents | ( | ) | const |
Get the pileup events that were used in the simulation.
Definition at line 596 of file EventInfo_v1.cxx.
| uint32_t xAOD::EventInfo_v1::timeStamp | ( | ) | const |
POSIX time in seconds from 1970. January 1st.
| uint32_t xAOD::EventInfo_v1::timeStampNSOffset | ( | ) | const |
Nanosecond time offset wrt. the time stamp.
| void xAOD::EventInfo_v1::toPersistent | ( | ) |
Prepare the object for writing.
Definition at line 996 of file EventInfo_v1.cxx.
| void xAOD::EventInfo_v1::toTransient | ( | ) |
Cleanse the object after being read in.
As it is now fairly complicated to prepare an EventInfo object for usage after it's been read in from a branch, it seemed to make sense to put the code that's used to do this, into a separate function.
It tries to do the right thing in all situations...
Definition at line 1018 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::updateErrorState | ( | const EventFlagSubDet | subDet, |
| const EventFlagErrorState | state ) const |
Update the error state for one particular sub-detector.
The error state may only be increased by this method. If STATE is less than the current error state, then this method will return false and leave the current state unchanged.
Definition at line 856 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::updateEventFlagBit | ( | const EventFlagSubDet | subDet, |
| const size_t | bit ) const |
Change detector flags with update semantics.
This means that we can set bits but not reset them, and that the error state can move higher (NotSet -> Warning -> Error) but not the other way. These methods are const, so they can be called on an existing EventInfo, but will fail with an exception if the detector flag word has been locked. This will happen on input if the flag word has already been set to something; it could also happen if the flag word is written explicitly with a DecorationHandle.
Be aware that no dependency tracking is done for these flags, so something that is reading them should ensure that whatever writes them runs first. In most cases, setting event flags goes along with producing some data item; in those cases, it should suffice for the reader to have a dependency on this data item. In other cases, one might need to use explicit DecorationHandle's or produce a dummy data item. Set one particular bit of one particular sub-detector
Definition at line 746 of file EventInfo_v1.cxx.
| bool xAOD::EventInfo_v1::updateEventFlags | ( | const EventFlagSubDet | subDet, |
| const uint32_t | flags_in ) const |
Turn on a set of event flags for one particular sub-detector.
This does a logical OR of the exising flags and FLAGS.
Definition at line 792 of file EventInfo_v1.cxx.
|
private |
Transient pointer to the StoreGateSvc instance associated with the event (Needed for pile-up digitisation).
Definition at line 518 of file EventInfo_v1.h.
|
private |
Cached stream tag objects.
Definition at line 511 of file EventInfo_v1.h.
|
private |
Cached sub-event objects.
Definition at line 513 of file EventInfo_v1.h.