ATLAS Offline Software
Loading...
Searching...
No Matches
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
19namespace 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
Variable-sized bitset allowing (mostly) concurrent access.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Variable-sized bitset allowing (mostly) concurrent access.
Common base class for the auxiliary containers.
virtual size_t size() const override
Get the size of the container.
AuxContainerBase(bool allowDynamicVars=true)
Default constructor.
SG::auxid_t auxid_t
The aux ID type definition.
Auxiliary information about the pileup events.
std::vector< uint32_t > timeStampNSOffset
virtual void * getDecoration(SG::auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
std::vector< std::vector< float > > mcEventWeights
virtual void lockDecoration(SG::auxid_t auxid) override
Lock a decoration.
std::vector< std::vector< std::pair< std::string, std::string > > > detDescrTags
virtual bool isDecoration(auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
CxxUtils::ConcurrentBitset m_decorFlags
Keep track of the event status flags.
std::vector< uint64_t > pileUpMixtureIDLowBits
std::vector< uint64_t > pileUpMixtureIDHighBits
void toTransient()
Called after one of these objects is read.
size_t auxid_t
Identifier for a particular aux data item.
Definition AuxTypes.h:27
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.