ATLAS Offline Software
EventInfoAuxContainer_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_EVENTINFOAUXCONTAINER_V1_H
8 #define XAODEVENTINFO_VERSIONS_EVENTINFOAUXCONTAINER_V1_H
9 
10 // System include(s):
11 #include <stdint.h>
12 #include <vector>
13 #include <string>
14 
15 // EDM include(s):
18 
19 namespace xAOD {
20 
32 
33  public:
36 
45  virtual void* getDecoration (SG::auxid_t auxid,
46  size_t size,
47  size_t capacity) override;
48 
49 
54  virtual bool isDecoration (auxid_t auxid) const override;
55 
56 
61  virtual void lockDecoration (SG::auxid_t auxid) override;
62 
63 
69  void toTransient();
70 
71 
72  private:
75  std::vector< uint32_t > runNumber;
76  std::vector< uint64_t > eventNumber;
77  std::vector< uint32_t > lumiBlock;
78  std::vector< uint32_t > timeStamp;
79  std::vector< uint32_t > timeStampNSOffset;
80  std::vector< uint32_t > bcid;
81  std::vector< uint32_t > detectorMask0;
82  std::vector< uint32_t > detectorMask1;
83  std::vector< uint32_t > detectorMask2;
84  std::vector< uint32_t > detectorMask3;
86 
89  std::vector< std::vector< std::pair< std::string, std::string > > >
91  std::vector< uint32_t > eventTypeBitmask;
93 
96  std::vector< uint32_t > pixelFlags;
97  std::vector< uint32_t > sctFlags;
98  std::vector< uint32_t > trtFlags;
99  std::vector< uint32_t > larFlags;
100  std::vector< uint32_t > tileFlags;
101  std::vector< uint32_t > muonFlags;
102  std::vector< uint32_t > forwardDetFlags;
103  std::vector< uint32_t > coreFlags;
104  std::vector< uint32_t > backgroundFlags;
105  std::vector< uint32_t > lumiFlags;
107 
110  std::vector< uint32_t > mcChannelNumber;
111  std::vector< uint64_t > mcEventNumber;
112  std::vector< std::vector< float > > mcEventWeights;
114 
117  std::vector< uint64_t > pileUpMixtureIDLowBits;
118  std::vector< uint64_t > pileUpMixtureIDHighBits;
120 
126 
127  }; // class EventInfoAuxContainer_v1
128 
129 } // namespace xAOD
130 
131 // Declare the inheritance of the type to StoreGate:
132 #include "xAODCore/BaseInfo.h"
134 
135 #endif // XAODEVENTINFO_VERSIONS_EVENTINFOAUXCONTAINER_V1_H
xAOD::EventInfoAuxContainer_v1::pixelFlags
std::vector< uint32_t > pixelFlags
Definition: EventInfoAuxContainer_v1.h:96
xAOD::EventInfoAuxContainer_v1::mcEventNumber
std::vector< uint64_t > mcEventNumber
Definition: EventInfoAuxContainer_v1.h:111
xAOD::EventInfoAuxContainer_v1::eventTypeBitmask
std::vector< uint32_t > eventTypeBitmask
Definition: EventInfoAuxContainer_v1.h:91
xAOD::EventInfoAuxContainer_v1::pileUpMixtureIDLowBits
std::vector< uint64_t > pileUpMixtureIDLowBits
Definition: EventInfoAuxContainer_v1.h:117
xAOD::EventInfoAuxContainer_v1::detectorMask3
std::vector< uint32_t > detectorMask3
Definition: EventInfoAuxContainer_v1.h:84
xAOD::EventInfoAuxContainer_v1::backgroundFlags
std::vector< uint32_t > backgroundFlags
Definition: EventInfoAuxContainer_v1.h:104
xAOD::EventInfoAuxContainer_v1::m_decorFlags
CxxUtils::ConcurrentBitset m_decorFlags
Keep track of the event status flags.
Definition: EventInfoAuxContainer_v1.h:125
ConcurrentBitset.h
Variable-sized bitset allowing (mostly) concurrent access.
CxxUtils::ConcurrentBitset
Variable-sized bitset allowing (mostly) concurrent access.
Definition: ConcurrentBitset.h:146
AuxContainerBase.h
xAOD::AuxContainerBase
Common base class for the auxiliary containers.
Definition: AuxContainerBase.h:59
BaseInfo.h
xAOD::EventInfoAuxContainer_v1::eventNumber
std::vector< uint64_t > eventNumber
Definition: EventInfoAuxContainer_v1.h:76
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::EventInfoAuxContainer_v1::toTransient
void toTransient()
Called after one of these objects is read.
Definition: EventInfoAuxContainer_v1.cxx:117
xAOD::EventInfoAuxContainer_v1::isDecoration
virtual bool isDecoration(auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
Definition: EventInfoAuxContainer_v1.cxx:87
xAOD::EventInfoAuxContainer_v1::detectorMask2
std::vector< uint32_t > detectorMask2
Definition: EventInfoAuxContainer_v1.h:83
xAOD::EventInfoAuxContainer_v1::runNumber
std::vector< uint32_t > runNumber
Definition: EventInfoAuxContainer_v1.h:75
xAOD::AuxContainerBase::size
virtual size_t size() const override
Get the size of the container.
Definition: AuxContainerBase.cxx:430
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
xAOD::EventInfoAuxContainer_v1::coreFlags
std::vector< uint32_t > coreFlags
Definition: EventInfoAuxContainer_v1.h:103
xAOD::EventInfoAuxContainer_v1::timeStampNSOffset
std::vector< uint32_t > timeStampNSOffset
Definition: EventInfoAuxContainer_v1.h:79
xAOD::EventInfoAuxContainer_v1::lumiFlags
std::vector< uint32_t > lumiFlags
Definition: EventInfoAuxContainer_v1.h:105
xAOD::EventInfoAuxContainer_v1::mcEventWeights
std::vector< std::vector< float > > mcEventWeights
Definition: EventInfoAuxContainer_v1.h:112
xAOD::EventInfoAuxContainer_v1::lockDecoration
virtual void lockDecoration(SG::auxid_t auxid) override
Lock a decoration.
Definition: EventInfoAuxContainer_v1.cxx:101
xAOD::EventInfoAuxContainer_v1::pileUpMixtureIDHighBits
std::vector< uint64_t > pileUpMixtureIDHighBits
Definition: EventInfoAuxContainer_v1.h:118
xAOD::EventInfoAuxContainer_v1::sctFlags
std::vector< uint32_t > sctFlags
Definition: EventInfoAuxContainer_v1.h:97
xAOD::EventInfoAuxContainer_v1::getDecoration
virtual void * getDecoration(SG::auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
Definition: EventInfoAuxContainer_v1.cxx:71
SG_BASE
SG_BASE(xAOD::EventInfoAuxContainer_v1, xAOD::AuxContainerBase)
xAOD::EventInfoAuxContainer_v1::timeStamp
std::vector< uint32_t > timeStamp
Definition: EventInfoAuxContainer_v1.h:78
xAOD::EventInfoAuxContainer_v1
Auxiliary information about the pileup events.
Definition: EventInfoAuxContainer_v1.h:31
xAOD::EventInfoAuxContainer_v1::EventInfoAuxContainer_v1
EventInfoAuxContainer_v1()
Default constructor.
Definition: EventInfoAuxContainer_v1.cxx:10
xAOD::EventInfoAuxContainer_v1::detectorMask0
std::vector< uint32_t > detectorMask0
Definition: EventInfoAuxContainer_v1.h:81
xAOD::EventInfoAuxContainer_v1::mcChannelNumber
std::vector< uint32_t > mcChannelNumber
Definition: EventInfoAuxContainer_v1.h:110
xAOD::EventInfoAuxContainer_v1::detectorMask1
std::vector< uint32_t > detectorMask1
Definition: EventInfoAuxContainer_v1.h:82
xAOD::EventInfoAuxContainer_v1::larFlags
std::vector< uint32_t > larFlags
Definition: EventInfoAuxContainer_v1.h:99
xAOD::EventInfoAuxContainer_v1::muonFlags
std::vector< uint32_t > muonFlags
Definition: EventInfoAuxContainer_v1.h:101
xAOD::EventInfoAuxContainer_v1::detDescrTags
std::vector< std::vector< std::pair< std::string, std::string > > > detDescrTags
Definition: EventInfoAuxContainer_v1.h:90
xAOD::AuxContainerBase::auxid_t
SG::auxid_t auxid_t
The aux ID type definition.
Definition: AuxContainerBase.h:63
xAOD::EventInfoAuxContainer_v1::tileFlags
std::vector< uint32_t > tileFlags
Definition: EventInfoAuxContainer_v1.h:100
xAOD::EventInfoAuxContainer_v1::lumiBlock
std::vector< uint32_t > lumiBlock
Definition: EventInfoAuxContainer_v1.h:77
xAOD::EventInfoAuxContainer_v1::trtFlags
std::vector< uint32_t > trtFlags
Definition: EventInfoAuxContainer_v1.h:98
xAOD::EventInfoAuxContainer_v1::bcid
std::vector< uint32_t > bcid
Definition: EventInfoAuxContainer_v1.h:80
xAOD::EventInfoAuxContainer_v1::forwardDetFlags
std::vector< uint32_t > forwardDetFlags
Definition: EventInfoAuxContainer_v1.h:102