ATLAS Offline Software
EventInfo_v1.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef XAODEVENTINFO_VERSIONS_EVENTINFO_V1_H
8 #define XAODEVENTINFO_VERSIONS_EVENTINFO_V1_H
9 
10 // System include(s):
11 #include <stdint.h> // global namespace typenames
12 #include <set>
13 #include <vector>
14 #include <string>
15 #include <iosfwd>
16 
17 // EDM include(s):
20 #include "AthLinks/ElementLink.h"
21 #include "CxxUtils/CachedValue.h"
23 
24 // Forward declaration(s):
25 class StoreGateSvc;
26 
28 namespace xAOD {
29 
30  // Some forward declaration(s):
31  class EventInfo_v1;
33 
43  class EventInfo_v1 : public SG::AuxElement {
44 
45  public:
47  EventInfo_v1();
50 
52  EventInfo_v1& operator=( const EventInfo_v1& rhs );
53 
56 
61 
66 
71 
76 
81 
83  uint32_t bcid() const;
86 
103 
105  uint64_t detectorMask() const;
107  void setDetectorMask( uint32_t mask0, uint32_t mask1 );
109  void setDetectorMask( uint64_t mask );
111  uint64_t detectorMaskExt() const;
113  void setDetectorMaskExt( uint32_t mask2, uint32_t mask3 );
116 
118 
121 
123  typedef std::vector< std::pair< std::string, std::string > >
125 
127  const DetDescrTags_t& detDescrTags() const;
130 
135 
140 
142  const std::vector< float >& mcEventWeights() const;
144  void setMCEventWeights( const std::vector< float >& value );
146  float mcEventWeight( size_t i = 0 ) const;
147 
149  enum EventType {
155  IS_CALIBRATION = 4
156  };
157 
163  bool eventType( EventType type ) const;
164 
166 
169 
174 
179 
184 
190  class StreamTag {
191 
192  public:
194  StreamTag( const std::string& name, const std::string& type,
195  bool obeysLumiblock,
196  const std::set< uint32_t >& robs = std::set< uint32_t >(),
197  const std::set< uint32_t >& dets = std::set< uint32_t >() );
198 
200  const std::string& name() const;
202  const std::string& type() const;
204  bool obeysLumiblock() const;
206  const std::set< uint32_t >& robs() const;
208  const std::set< uint32_t >& dets() const;
209 
210  private:
211  std::string m_name;
212  std::string m_type;
213  bool m_obeysLumiblock;
215  std::set< uint32_t > m_robs;
216  std::set< uint32_t > m_dets;
217 
218  }; // class StreamTag
219 
221  const std::vector< StreamTag >& streamTags() const;
223  void setStreamTags( const std::vector< StreamTag >& value );
224 
226 
229 
232  float actualInteractionsPerCrossing() const;
235 
238  float averageInteractionsPerCrossing() const;
241 
246  };
247 
249  PileUpMixtureID pileUpMixtureID() const;
251  void setPileUpMixtureID( const PileUpMixtureID &value );
252 
257 
262 
264  enum PileUpType {
265  Unknown = 99,
266  Signal = 0,
268  Cavern = 2,
269  HaloGas = 3,
271  ZeroBias = 5,
273  }; // enum PileUpType
274 
276  static const std::string& PileUpType2Name(PileUpType typ);
277 
279  static PileUpType PileUpInt2Type(unsigned short typ);
280 
286  class SubEvent {
287 
288  public:
292 
294  int16_t time() const;
296  uint16_t index() const;
298  PileUpType type() const;
300  const std::string& typeName() const;
301 
305  const EventInfo_v1* ptr() const;
306 
307  private:
313 
314  }; // class SubEvent
315 
317  const std::vector< SubEvent >& subEvents() const;
319  void setSubEvents( const std::vector< SubEvent >& value );
321  void addSubEvent( const SubEvent& subEvent );
323  void clearSubEvents();
324 
326 
329 
332  Pixel = 0,
333  SCT = 1,
334  TRT = 2,
335  LAr = 3,
336  Tile = 4,
337  Muon = 5,
339  Core = 7,
341  Lumi = 9,
342  nDets = 10
343  };
344 
347  NotSet = 0,
348  Warning = 1,
349  Error = 2
350  };
351 
386  NBackgroundWords = 32
387  };
388 
390  uint32_t eventFlags( EventFlagSubDet subDet ) const;
392  bool isEventFlagBitSet( EventFlagSubDet subDet, size_t bit ) const;
393 
397  bool setEventFlagBit( EventFlagSubDet subDet, size_t bit ) const;
399  bool resetEventFlagBit( EventFlagSubDet subDet, size_t bit );
400 
404  bool setErrorState( EventFlagSubDet subDet,
405  EventFlagErrorState state );
406 
423 
425  bool updateEventFlagBit ( const EventFlagSubDet subDet,
426  const size_t bit ) const;
429  bool updateEventFlags( const EventFlagSubDet subDet,
430  const uint32_t flags_in ) const;
435  bool updateErrorState( const EventFlagSubDet subDet,
436  const EventFlagErrorState state ) const;
437 
439 
442 
444  float beamPosX() const;
446  float beamPosY() const;
448  float beamPosZ() const;
450  void setBeamPos( float x, float y, float z );
451 
453  float beamPosSigmaX() const;
455  float beamPosSigmaY() const;
457  float beamPosSigmaZ() const;
459  void setBeamPosSigma( float x, float y, float z );
460 
462  float beamPosSigmaXY() const;
464  void setBeamPosSigmaXY( float value );
465 
467  float beamTiltXZ() const;
469  void setBeamTiltXZ( float value );
470 
472  float beamTiltYZ() const;
474  void setBeamTiltYZ( float value );
475 
480 
482  float beamSpotWeight() const;
484  bool hasBeamSpotWeight() const;
486  void setBeamSpotWeight( float value );
487 
489 
492 
493 #if not defined(__GCCXML__) and not defined(__ROOTCLING__)
494  StoreGateSvc* evtStore ATLAS_NOT_CONST_THREAD_SAFE () const;
497  void setEvtStore( StoreGateSvc* svc );
498 #endif // not genreflex or rootcint/rootcling
499 
501 
503  void toPersistent();
505  void toTransient();
506 
507  private:
508  std::vector< EventInfo_v1::SubEvent > makeSubEvents() const;
509 
514 
515 #ifndef __GCCXML__
519 #endif // not __GCCXML__
520 
521  }; // class EventInfo_v1
522 
524  std::ostream& operator<< ( std::ostream& out, const xAOD::EventInfo_v1& ei );
525  std::ostream& operator<< ( std::ostream& out, const xAOD::EventInfo_v1::PileUpMixtureID& id );
528 
529 } // namespace xAOD
530 
531 // Declare the inheritance of the type:
532 #include "xAODCore/BaseInfo.h"
534 
535 #endif // XAODEVENTINFO_VERSIONS_EVENTINFO_V1_H
xAOD::EventInfo_v1::operator=
EventInfo_v1 & operator=(const EventInfo_v1 &rhs)
Assignment operator.
Definition: EventInfo_v1.cxx:96
xAOD::EventInfo_v1::BackgroundEventFlag
BackgroundEventFlag
Enum for bits in Background EventFlag word.
Definition: EventInfo_v1.h:353
xAOD::EventInfo_v1::setActualInteractionsPerCrossing
void setActualInteractionsPerCrossing(float value)
Set average interactions per crossing for the current BCID.
Definition: EventInfo_v1.cxx:391
xAOD::EventInfo_v1::detectorMask3
uint32_t detectorMask3() const
Bit field indicating which TTC zones are present in the event.
xAOD::EventInfo_v1::setSubEvents
void setSubEvents(const std::vector< SubEvent > &value)
Set the pileup events that were used in the simulation.
Definition: EventInfo_v1.cxx:607
xAOD::EventInfo_v1::BkgdResvBit4
@ BkgdResvBit4
Definition: EventInfo_v1.h:384
xAOD::EventInfo_v1::DetDescrTags_t
std::vector< std::pair< std::string, std::string > > DetDescrTags_t
Type of the detector description tags.
Definition: EventInfo_v1.h:124
xAOD::EventInfo_v1::HaloMuonOneSided
@ HaloMuonOneSided
Definition: EventInfo_v1.h:373
xAOD::EventInfo_v1::BkgdResvBit1
@ BkgdResvBit1
Definition: EventInfo_v1.h:381
xAOD::EventInfo_v1::PileUp_NTYPES
@ PileUp_NTYPES
Definition: EventInfo_v1.h:272
xAOD::EventInfo_v1::SubEvent::typeName
const std::string & typeName() const
The string name of the type.
Definition: EventInfo_v1.cxx:465
xAOD::EventInfo_v1::setEventNumber
void setEventNumber(uint64_t value)
Set the current event's event number.
xAOD::EventInfo_v1::EventInfo_v1
EventInfo_v1()
Default constructor.
Definition: EventInfo_v1.cxx:82
xAOD::EventInfo_v1::PileUpMixtureID
Unique pile-up mixture identifier definition.
Definition: EventInfo_v1.h:243
xAOD::EventInfo_v1::eventNumber
uint64_t eventNumber() const
The current event's event number.
xAOD::EventInfo_v1::beamTiltXZ
float beamTiltXZ() const
The beam's tilt in radians in XZ.
xAOD::EventInfo_v1::BkgdResvBit3
@ BkgdResvBit3
Definition: EventInfo_v1.h:383
xAOD::EventInfo_v1::setDetectorMask3
void setDetectorMask3(uint32_t value)
Set the bit field indicating with TTC timezones were present.
xAOD::EventInfo_v1::toPersistent
void toPersistent()
Prepare the object for writing.
Definition: EventInfo_v1.cxx:996
xAOD::EventInfo_v1::StreamTag::dets
const std::set< uint32_t > & dets() const
Get the (optional) list of detector IDs for partial event building.
Definition: EventInfo_v1.cxx:263
Pixel
Definition: PixelFEUtils.h:16
xAOD::EventInfo_v1::mcEventWeights
const std::vector< float > & mcEventWeights() const
The weights of all the MC events used in the simulation.
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::EventInfo_v1::detectorMaskExt
uint64_t detectorMaskExt() const
Bit field indicating which TTC zones are present in the event.
Definition: EventInfo_v1.cxx:164
LAr
Definition: LArVolumeBuilder.h:36
index
Definition: index.py:1
AthenaPoolTestRead.flags
flags
Definition: AthenaPoolTestRead.py:8
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
xAOD::EventInfo_v1::CosmicCombined
@ CosmicCombined
Definition: EventInfo_v1.h:379
xAOD::EventInfo_v1::HighPtMinimumBias
@ HighPtMinimumBias
High pT Minimum bias pileup event.
Definition: EventInfo_v1.h:270
EventType
This class represents the "type of event" where the type is given by one or more "characteristics".
Definition: EventType.h:92
xAOD::EventInfo_v1::StreamTag::m_type
std::string m_type
The type of the stream.
Definition: EventInfo_v1.h:212
ATLAS_NOT_CONST_THREAD_SAFE
#define ATLAS_NOT_CONST_THREAD_SAFE
Definition: checker_macros.h:215
xAOD::EventInfo_v1::MinimumBias
@ MinimumBias
(Low pT) Minimum bias pileup event
Definition: EventInfo_v1.h:267
xAOD::EventInfo_v1::MBTSBeamVeto
@ MBTSBeamVeto
Definition: EventInfo_v1.h:368
xAOD::EventInfo_v1::updateEventFlagBit
bool updateEventFlagBit(const EventFlagSubDet subDet, const size_t bit) const
Change detector flags with update semantics.
Definition: EventInfo_v1.cxx:746
xAOD::EventInfo_v1::PileUpMixtureID::lowBits
uint64_t lowBits
Definition: EventInfo_v1.h:244
xAOD::EventInfo_v1::clearSubEvents
void clearSubEvents()
Clear all the currently held sub-events.
Definition: EventInfo_v1.cxx:647
xAOD::EventInfo_v1::IS_CALIBRATION
@ IS_CALIBRATION
true: calibration, false: physics
Definition: EventInfo_v1.h:155
xAOD::EventInfo_v1::setBeamPos
void setBeamPos(float x, float y, float z)
Set the beam spot position.
Definition: EventInfo_v1.cxx:916
xAOD::EventInfo_v1::StreamTag::obeysLumiblock
bool obeysLumiblock() const
Get whether the the stream obeys the luminosity block boundaires.
Definition: EventInfo_v1.cxx:253
xAOD::EventInfo_v1::beamTiltYZ
float beamTiltYZ() const
The beam's tilt in radians in YZ.
BaseInfo.h
xAOD::EventInfo_v1::eventTypeBitmask
uint32_t eventTypeBitmask() const
The event type bitmask.
xAOD::EventInfo_v1::beamPosSigmaX
float beamPosSigmaX() const
The width of the beam spot in the X direction.
xAOD::EventInfo_v1::SubEvent::link
const ElementLink< EventInfoContainer_v1 > & link() const
Get a link to the EventInfo object describing the pileup event.
Definition: EventInfo_v1.cxx:496
athena.value
value
Definition: athena.py:122
xAOD::EventInfo_v1::setExtendedLevel1ID
void setExtendedLevel1ID(uint32_t value)
Set the extended Level-1 identifier.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::EventInfo_v1::NotSet
@ NotSet
The flag was not set to anything.
Definition: EventInfo_v1.h:347
xAOD::EventInfo_v1::BkgdResvBit2
@ BkgdResvBit2
Definition: EventInfo_v1.h:382
xAOD::EventInfo_v1::ZeroBias
@ ZeroBias
Zero bias pileup event.
Definition: EventInfo_v1.h:271
xAOD::EventInfo_v1::StreamTag::StreamTag
StreamTag(const std::string &name, const std::string &type, bool obeysLumiblock, const std::set< uint32_t > &robs=std::set< uint32_t >(), const std::set< uint32_t > &dets=std::set< uint32_t >())
Constructor giving all relevant information to the object.
xAOD::EventInfo_v1::setPileUpMixtureIDLowBits
void setPileUpMixtureIDLowBits(uint64_t value)
Set unique pile-up mixture identifier low bits.
xAOD::EventInfo_v1::SubEvent::ptr
const EventInfo_v1 * ptr() const
Get a pointer to the EventInfo object describing the pileup event.
Definition: EventInfo_v1.cxx:501
xAOD::EventInfo_v1::setBeamPosSigma
void setBeamPosSigma(float x, float y, float z)
Set the size of the beam spot.
Definition: EventInfo_v1.cxx:935
xAOD::EventInfo_v1::setDetDescrTags
void setDetDescrTags(const DetDescrTags_t &value)
Set the detector description tags.
xAOD::EventInfo_v1::pileUpMixtureIDHighBits
uint64_t pileUpMixtureIDHighBits() const
Unique pile-up mixture identifier high bits.
xAOD::EventInfo_v1::timeStampNSOffset
uint32_t timeStampNSOffset() const
Nanosecond time offset wrt. the time stamp.
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
xAOD::EventInfo_v1::makeSubEvents
std::vector< EventInfo_v1::SubEvent > makeSubEvents() const
Definition: EventInfo_v1.cxx:523
xAOD::EventInfo_v1::Background
@ Background
The beam background detectors.
Definition: EventInfo_v1.h:340
xAOD::EventInfo_v1::IS_SIMULATION
@ IS_SIMULATION
true: simulation, false: data
Definition: EventInfo_v1.h:151
xAOD::EventInfo_v1::CosmicStandAlone
@ CosmicStandAlone
Definition: EventInfo_v1.h:377
xAOD::EventInfo_v1::SubEvent::m_type
PileUpType m_type
The type of the pileup event.
Definition: EventInfo_v1.h:310
x
#define x
xAOD::EventInfo_v1::updateEventFlags
bool updateEventFlags(const EventFlagSubDet subDet, const uint32_t flags_in) const
Turn on a set of event flags for one particular sub-detector.
Definition: EventInfo_v1.cxx:792
xAOD::int16_t
setScaleOne setStatusOne setSaturated int16_t
Definition: gFexGlobalRoI_v1.cxx:55
xAOD::EventInfo_v1::beamPosX
float beamPosX() const
X coordinate of the beam spot position.
xAOD::EventInfo_v1::runNumber
uint32_t runNumber() const
The current event's run number.
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
xAOD::EventInfo_v1::CSCTimeDiffCol
@ CSCTimeDiffCol
Definition: EventInfo_v1.h:363
xAOD::EventInfo_v1::pileUpMixtureID
PileUpMixtureID pileUpMixtureID() const
Unique pile-up mixture identifier.
Definition: EventInfo_v1.cxx:421
SG_BASE
SG_BASE(xAOD::EventInfo_v1, SG::AuxElement)
xAOD::EventInfo_v1::Error
@ Error
The sub-detector issued an error.
Definition: EventInfo_v1.h:349
xAOD::EventInfo_v1::NBackgroundWords
@ NBackgroundWords
Definition: EventInfo_v1.h:386
xAOD::EventInfo_v1::setPileUpMixtureIDHighBits
void setPileUpMixtureIDHighBits(uint64_t value)
Set unique pile-up mixture identifier high bits.
xAOD::EventInfo_v1::StreamTag::robs
const std::set< uint32_t > & robs() const
Get the (optional) list of RoB IDs for partial event building.
Definition: EventInfo_v1.cxx:258
xAOD::EventInfo_v1::SubEvent::time
int16_t time() const
Get the time wrt. the signal event (which has time() == 0)
Definition: EventInfo_v1.cxx:450
xAOD::EventInfo_v1::mcChannelNumber
uint32_t mcChannelNumber() const
The MC generator's channel number.
xAOD::EventInfo_v1::setBeamTiltYZ
void setBeamTiltYZ(float value)
Set the beam's tilt in radians in YZ.
xAOD::EventInfo_v1::setPileUpMixtureID
void setPileUpMixtureID(const PileUpMixtureID &value)
Set unique pile-up mixture identifier.
Definition: EventInfo_v1.cxx:436
xAOD::EventInfo_v1::setBeamStatus
void setBeamStatus(uint32_t value)
Set the beam spot's status word.
xAOD::EventInfo_v1::beamStatus
uint32_t beamStatus() const
The beam spot's status word.
xAOD::EventInfo_v1::setEventFlags
bool setEventFlags(EventFlagSubDet subDet, uint32_t flags)
Set the event flags for a particular sub-detector.
Definition: EventInfo_v1.cxx:719
xAOD::EventInfo_v1::LArECTimeDiffHalo
@ LArECTimeDiffHalo
Definition: EventInfo_v1.h:356
xAOD::EventInfo_v1::hasBeamSpotWeight
bool hasBeamSpotWeight() const
Check if weight for beam spot size reweighting exists.
Definition: EventInfo_v1.cxx:966
xAOD::EventInfo_v1::setStreamTags
void setStreamTags(const std::vector< StreamTag > &value)
Set the streams that the event was put in.
Definition: EventInfo_v1.cxx:342
xAOD::EventInfo_v1::MBTSTimeDiffCol
@ MBTSTimeDiffCol
Definition: EventInfo_v1.h:355
xAOD::EventInfo_v1::setEventFlagBit
bool setEventFlagBit(EventFlagSubDet subDet, size_t bit) const
Set one particular bit of one particular sub-detector.
Definition: EventInfo_v1.cxx:741
xAOD::EventInfo_v1::beamPosY
float beamPosY() const
Y coordinate of the beam spot position.
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
xAOD::EventInfo_v1::setLevel1TriggerType
void setLevel1TriggerType(uint16_t value)
Set the Level-1 trigger type.
Tile
Definition: TileVolumeBuilder.h:43
xAOD::EventInfo_v1::detectorMask2
uint32_t detectorMask2() const
Bit field indicating which TTC zones are present in the event.
xAOD::EventInfo_v1::setErrorState
bool setErrorState(EventFlagSubDet subDet, EventFlagErrorState state)
Set the error state for a particular sub-detector.
Definition: EventInfo_v1.cxx:825
xAOD::EventInfo_v1::setMCEventNumber
void setMCEventNumber(uint64_t value)
Set the MC generator's event number.
TRT
Definition: HitInfo.h:33
xAOD::EventInfo_v1::setEventTypeBitmask
void setEventTypeBitmask(uint32_t value)
Set the event type bitmask.
xAOD::EventInfo_v1::detectorMask0
uint32_t detectorMask0() const
Bit field indicating which TTC zones are present in the event.
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
xAOD::EventInfo_v1::SCTSPNonEmpty
@ SCTSPNonEmpty
Definition: EventInfo_v1.h:361
lumiFormat.i
int i
Definition: lumiFormat.py:92
xAOD::EventInfo_v1::StreamTag::m_robs
std::set< uint32_t > m_robs
Optional list of RoB IDs for PEB.
Definition: EventInfo_v1.h:215
z
#define z
xAOD::EventInfo_v1::BkgdResvBit5
@ BkgdResvBit5
Definition: EventInfo_v1.h:385
xAOD::EventInfo_v1::setDetectorMask
void setDetectorMask(uint32_t mask0, uint32_t mask1)
Set the bit fields indicating with TTC timezones were present.
Definition: EventInfo_v1.cxx:149
xAOD::EventInfo_v1::Unknown
@ Unknown
Type not known/specified.
Definition: EventInfo_v1.h:265
xAOD::EventInfo_v1::CSCTimeDiffHalo
@ CSCTimeDiffHalo
Definition: EventInfo_v1.h:362
xAOD::EventInfo_v1::setDetectorMask0
void setDetectorMask0(uint32_t value)
Set the bit field indicating with TTC timezones were present.
xAOD::EventInfo_v1::HaloGas
@ HaloGas
Halo-gas non-collision background.
Definition: EventInfo_v1.h:269
xAOD::EventInfo_v1::SCTMultiplicityHuge
@ SCTMultiplicityHuge
Definition: EventInfo_v1.h:360
xAOD::EventInfo_v1::CosmicStandAloneTight
@ CosmicStandAloneTight
Definition: EventInfo_v1.h:378
xAOD::EventInfo_v1::MuonTimingCosmic
@ MuonTimingCosmic
Definition: EventInfo_v1.h:367
xAOD::EventInfo_v1::beamPosSigmaZ
float beamPosSigmaZ() const
The length of the beam spot in the Z direction.
CxxUtils::CachedValue
Cached value with atomic update.
Definition: CachedValue.h:55
xAOD::EventInfo_v1::StreamTag::m_obeysLumiblock
bool m_obeysLumiblock
Whether the stream obeys luminosity block boundaries.
Definition: EventInfo_v1.h:214
xAOD::EventInfo_v1::extendedLevel1ID
uint32_t extendedLevel1ID() const
The extended Level-1 identifier.
xAOD::EventInfo_v1::HaloMuonSegment
@ HaloMuonSegment
Definition: EventInfo_v1.h:371
test_pyathena.parent
parent
Definition: test_pyathena.py:15
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
xAOD::EventInfo_v1::SubEvent::m_link
ElementLink< EventInfoContainer_v1 > m_link
Link to the EventInfo object in question.
Definition: EventInfo_v1.h:312
xAOD::EventInfo_v1::MuonTimingCol
@ MuonTimingCol
Definition: EventInfo_v1.h:366
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
xAOD::EventInfo_v1::SubEvent::index
uint16_t index() const
Get the index of the sub-event.
Definition: EventInfo_v1.cxx:455
xAOD::EventInfo_v1::setStatusElement
void setStatusElement(uint32_t value)
Set the trigger status element.
xAOD::EventInfo_v1::setTimeStamp
void setTimeStamp(uint32_t value)
Set the POSIX time of the event.
xAOD::EventInfo_v1::setBCID
void setBCID(uint32_t value)
Set the bunch crossing ID of the event.
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::EventInfo_v1::detectorMask
uint64_t detectorMask() const
Bit field indicating which TTC zones are present in the event.
Definition: EventInfo_v1.cxx:143
xAOD::EventInfo_v1::setBeamSpotWeight
void setBeamSpotWeight(float value)
Set weight for beam spot size reweighting.
Definition: EventInfo_v1.cxx:976
xAOD::EventInfo_v1::lumiBlock
uint32_t lumiBlock() const
The current event's luminosity block number.
xAOD::EventInfo_v1::EventFlagErrorState
EventFlagErrorState
States that a given sub-detector could be in.
Definition: EventInfo_v1.h:346
xAOD::EventInfo_v1::StreamTag::name
const std::string & name() const
Get the name of the stream.
Definition: EventInfo_v1.cxx:243
xAOD::EventInfo_v1::setBeamPosSigmaXY
void setBeamPosSigmaXY(float value)
Set the beam spot shape's X-Y correlation.
xAOD::EventInfo_v1::ForwardDet
@ ForwardDet
The forward detectors.
Definition: EventInfo_v1.h:338
SCT
Definition: SCT_ChipUtils.h:14
xAOD::EventInfoContainer_v1
DataVector< EventInfo_v1 > EventInfoContainer_v1
Container type for event info objects.
Definition: EventInfo_v1.h:31
xAOD::EventInfo_v1::toTransient
void toTransient()
Cleanse the object after being read in.
Definition: EventInfo_v1.cxx:1018
xAOD::EventInfo_v1::setDetectorMask2
void setDetectorMask2(uint32_t value)
Set the bit field indicating with TTC timezones were present.
xAOD::EventInfo_v1::MBTSTimeDiffHalo
@ MBTSTimeDiffHalo
Definition: EventInfo_v1.h:354
xAOD::EventInfo_v1::beamPosSigmaY
float beamPosSigmaY() const
The width of the beam spot in the Y direction.
xAOD::EventInfo_v1::HaloClusterShape
@ HaloClusterShape
Definition: EventInfo_v1.h:372
xAOD::EventInfo_v1::SubEvent::m_index
uint16_t m_index
The index of the pileup event.
Definition: EventInfo_v1.h:309
xAOD::EventInfo_v1::addSubEvent
void addSubEvent(const SubEvent &subEvent)
Add one sub-event to the existing list.
Definition: EventInfo_v1.cxx:629
xAOD::EventInfo_v1::CosmicCombinedTight
@ CosmicCombinedTight
Definition: EventInfo_v1.h:380
xAOD::EventInfo_v1::averageInteractionsPerCrossing
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
Definition: EventInfo_v1.cxx:397
xAOD::EventInfo_v1::BCMTimeDiffHalo
@ BCMTimeDiffHalo
Definition: EventInfo_v1.h:364
xAOD::EventInfo_v1::beamPosZ
float beamPosZ() const
Z coordinate of the beam spot position.
CachedValue.h
Cached value with atomic update.
xAOD::EventInfo_v1::HaloMuonTwoSided
@ HaloMuonTwoSided
Definition: EventInfo_v1.h:374
xAOD::EventInfo_v1::setDetectorMaskExt
void setDetectorMaskExt(uint32_t mask2, uint32_t mask3)
Set the bit fields indicating with TTC timezones were present.
Definition: EventInfo_v1.cxx:170
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
xAOD::EventInfo_v1::BeamGasPixel
@ BeamGasPixel
Definition: EventInfo_v1.h:376
xAOD::EventInfo_v1::EventFlagSubDet
EventFlagSubDet
Sub-detector types for which we store event-level flags.
Definition: EventInfo_v1.h:331
xAOD::EventInfo_v1::setAverageInteractionsPerCrossing
void setAverageInteractionsPerCrossing(float value)
Set average interactions per crossing for all BCIDs.
Definition: EventInfo_v1.cxx:408
PileUpType
For details on how the MC particles are defined and organized see https://twiki.cern....
Definition: PileUpType.h:33
test_pythinning.out
out
Definition: test_pythinning.py:94
xAOD::EventInfo_v1::statusElement
uint32_t statusElement() const
Trigger status element.
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
xAOD::EventInfo_v1::streamTags
const std::vector< StreamTag > & streamTags() const
Get the streams that the event was put in.
Definition: EventInfo_v1.cxx:283
xAOD::EventInfo_v1::StreamTag::m_name
std::string m_name
The name of the stream.
Definition: EventInfo_v1.h:211
xAOD::EventInfo_v1::setTimeStampNSOffset
void setTimeStampNSOffset(uint32_t value)
Set the nanosecond offset wrt. the time stamp.
xAOD::EventInfo_v1::m_evtStore
StoreGateSvc * m_evtStore
Transient pointer to the StoreGateSvc instance associated with the event (Needed for pile-up digitisa...
Definition: EventInfo_v1.h:518
xAOD::EventInfo_v1::LArECTimeDiffCol
@ LArECTimeDiffCol
Definition: EventInfo_v1.h:357
xAOD::EventInfo_v1::PileUpInt2Type
static PileUpType PileUpInt2Type(unsigned short typ)
Convert int to PileUpType enum value.
Definition: EventInfo_v1.cxx:672
xAOD::EventInfo_v1::setMCChannelNumber
void setMCChannelNumber(uint32_t value)
Set the MC generator's channel number.
xAOD::EventInfo_v1::Signal
@ Signal
The signal event.
Definition: EventInfo_v1.h:266
xAOD::EventInfo_v1::eventFlags
uint32_t eventFlags(EventFlagSubDet subDet) const
Get the event flags for a particular sub-detector.
Definition: EventInfo_v1.cxx:697
xAOD::EventInfo_v1::detDescrTags
const DetDescrTags_t & detDescrTags() const
The detector description tags.
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAOD::EventInfo_v1::Warning
@ Warning
The sub-detector issued a warning.
Definition: EventInfo_v1.h:348
xAOD::EventInfo_v1::LUCIDBeamVeto
@ LUCIDBeamVeto
Definition: EventInfo_v1.h:370
xAOD::EventInfo_v1::resetEventFlagBit
bool resetEventFlagBit(EventFlagSubDet subDet, size_t bit)
Reset one particular bit of one particular sub-detector.
Definition: EventInfo_v1.cxx:772
xAOD::EventInfo_v1::beamPosSigmaXY
float beamPosSigmaXY() const
The beam spot shape's X-Y correlation.
xAOD::EventInfo_v1::SubEvent::SubEvent
SubEvent(int16_t time, uint16_t index, PileUpType type, const ElementLink< EventInfoContainer_v1 > &link)
Constructor giving all relevant information to the object.
Definition: EventInfo_v1.cxx:444
xAOD::EventInfo_v1::StreamTag::m_dets
std::set< uint32_t > m_dets
Optional list of detector IDs for PEB.
Definition: EventInfo_v1.h:216
a
TList * a
Definition: liststreamerinfos.cxx:10
y
#define y
xAOD::EventInfo_v1::m_streamTags
CxxUtils::CachedValue< std::vector< StreamTag > > m_streamTags
Cached stream tag objects.
Definition: EventInfo_v1.h:511
xAOD::EventInfo_v1::nDets
@ nDets
Number of sub-detector type in this enumeration.
Definition: EventInfo_v1.h:342
xAOD::EventInfo_v1::setRunNumber
void setRunNumber(uint32_t value)
Set the current event's run number.
xAOD::EventInfo_v1::PixMultiplicityHuge
@ PixMultiplicityHuge
Definition: EventInfo_v1.h:358
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::EventInfo_v1::HaloTileClusterPattern
@ HaloTileClusterPattern
Definition: EventInfo_v1.h:375
xAOD::EventInfo_v1::SubEvent::type
PileUpType type() const
Get the type of the pileup event.
Definition: EventInfo_v1.cxx:460
xAOD::EventInfo_v1::setBeamTiltXZ
void setBeamTiltXZ(float value)
Set the beam's tilt in radians in XZ.
xAOD::EventInfo_v1::Cavern
@ Cavern
Cavern background pileup event.
Definition: EventInfo_v1.h:268
xAOD::EventInfo_v1::BCMTimeDiffCol
@ BCMTimeDiffCol
Definition: EventInfo_v1.h:365
xAOD::EventInfo_v1::level1TriggerType
uint16_t level1TriggerType() const
The Level-1 trigger type.
xAOD::EventInfo_v1::errorState
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
Definition: EventInfo_v1.cxx:817
xAOD::EventInfo_v1::timeStamp
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
xAOD::EventInfo_v1::PixSPNonEmpty
@ PixSPNonEmpty
Definition: EventInfo_v1.h:359
xAOD::EventInfo_v1::BCMBeamVeto
@ BCMBeamVeto
Definition: EventInfo_v1.h:369
xAOD::EventInfo_v1::isEventFlagBitSet
bool isEventFlagBitSet(EventFlagSubDet subDet, size_t bit) const
Check one particular bit of one particular sub-detector.
Definition: EventInfo_v1.cxx:703
xAOD::EventInfo_v1::StreamTag::type
const std::string & type() const
Get the type of the stream.
Definition: EventInfo_v1.cxx:248
xAOD::EventInfo_v1::updateErrorState
bool updateErrorState(const EventFlagSubDet subDet, const EventFlagErrorState state) const
Update the error state for one particular sub-detector.
Definition: EventInfo_v1.cxx:856
xAOD::EventInfo_v1::detectorMask1
uint32_t detectorMask1() const
Bit field indicating which TTC zones are present in the event.
xAOD::EventInfo_v1::Lumi
@ Lumi
The luminosity detectors.
Definition: EventInfo_v1.h:341
xAOD::EventInfo_v1::mcEventWeight
float mcEventWeight(size_t i=0) const
The weight of one specific MC event used in the simulation.
Definition: EventInfo_v1.cxx:203
xAOD::EventInfo_v1::PileUpType2Name
static const std::string & PileUpType2Name(PileUpType typ)
Convert PileUpType enum value to string.
Definition: EventInfo_v1.cxx:658
xAOD::operator==
bool operator==(const xAOD::EventInfo_v1::PileUpMixtureID &a, const xAOD::EventInfo_v1::PileUpMixtureID &b)
This operator is provided to make it convenient to compare two instances of PileUpMixtureID directly.
Definition: EventInfo_v1.cxx:1120
xAOD::EventInfo_v1::m_subEvents
CxxUtils::CachedValue< std::vector< SubEvent > > m_subEvents
Cached sub-event objects.
Definition: EventInfo_v1.h:513
xAOD::EventInfo_v1::setDetectorMask1
void setDetectorMask1(uint32_t value)
Set the bit field indicating with TTC timezones were present.
xAOD::EventInfo_v1::setLumiBlock
void setLumiBlock(uint32_t value)
Set the current event's luminosity block number.
xAOD::EventInfo_v1::subEvents
const std::vector< SubEvent > & subEvents() const
Get the pileup events that were used in the simulation.
Definition: EventInfo_v1.cxx:596
xAOD::EventInfo_v1::bcid
uint32_t bcid() const
The bunch crossing ID of the event.
checker_macros.h
Define macros for attributes used to control the static checker.
xAOD::EventInfo_v1::SubEvent::m_time
int16_t m_time
The time wrt. the signal event.
Definition: EventInfo_v1.h:308
xAOD::EventInfo_v1::IS_TESTBEAM
@ IS_TESTBEAM
true: testbeam, false: full detector
Definition: EventInfo_v1.h:153
xAOD::EventInfo_v1::beamSpotWeight
float beamSpotWeight() const
Weight for beam spot size reweighting.
Definition: EventInfo_v1.cxx:970
xAOD::EventInfo_v1::Core
@ Core
Core flags describing the event.
Definition: EventInfo_v1.h:339
xAOD::EventInfo_v1::pileUpMixtureIDLowBits
uint64_t pileUpMixtureIDLowBits() const
Unique pile-up mixture identifier low bits.
xAOD::EventInfo_v1::SubEvent
Class describing the properties of one pileup sub-event.
Definition: EventInfo_v1.h:286
xAOD::EventInfo_v1::StreamTag
Class describing a stream tag on the event.
Definition: EventInfo_v1.h:190
xAOD::EventInfo_v1::PileUpMixtureID::highBits
uint64_t highBits
Definition: EventInfo_v1.h:245
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::operator<<
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
Definition: RDataSource.cxx:53
xAOD::EventInfo_v1::mcEventNumber
uint64_t mcEventNumber() const
The MC generator's event number.
xAOD::EventInfo_v1::setMCEventWeights
void setMCEventWeights(const std::vector< float > &value)
Set the weights of all the MC events used in the simulation.
xAOD::EventInfo_v1::eventType
bool eventType(EventType type) const
Check for one particular bitmask value.
xAOD::EventInfo_v1::actualInteractionsPerCrossing
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.
Definition: EventInfo_v1.cxx:380