ATLAS Offline Software
Loading...
Searching...
No Matches
TriggerMenu_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6// System include(s):
7#include <iostream>
8
9// EDM include(s):
11
12// Local include(s):
14
15namespace xAOD {
16
21
23 //
24 // Implementation of the configuration identifier accessor functions
25 //
26
28 setSMK )
30 setL1psk )
32 setHLTpsk )
33
34 //
36
38 //
39 // Implementation of the LVL1 configuration accessor functions
40 //
41
43 itemCtpIds, setItemCtpIds )
44
46
47 static const Accessor< std::vector< uint16_t > > acc( "itemCtpIds" );
48 return acc.isAvailable( *this );
49 }
50
52 std::vector< std::string >,
53 itemNames, setItemNames )
54
56
57 static const Accessor< std::vector< std::string > > acc( "itemNames" );
58 return acc.isAvailable( *this );
59 }
60
61 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< float >,
62 itemPrescales, setItemPrescales )
63
65
66 static const Accessor< std::vector< float > > acc( "itemPrescales" );
67 return acc.isAvailable( *this );
68 }
69
70 //
72
74 //
75 // Implementation of the HLT configuration accessor functions
76 //
77
78 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< uint16_t >,
79 chainIds, setChainIds )
80
82
83 static const Accessor< std::vector< uint16_t > > acc( "chainIds" );
84 return acc.isAvailable( *this );
85 }
86
88 std::vector< std::string >,
89 chainNames, setChainNames )
90
92
93 static const Accessor< std::vector< std::string > > acc( "chainNames" );
94 return acc.isAvailable( *this );
95 }
96
98 std::vector< std::string >,
99 chainParentNames, setChainParentNames )
100
102
103 static const Accessor< std::vector< std::string > > acc( "chainParentNames" );
104 return acc.isAvailable( *this );
105 }
106
108 chainPrescales, setChainPrescales )
109
111
112 static const Accessor< std::vector< float > > acc( "chainPrescales" );
113 return acc.isAvailable( *this );
114 }
115
117 chainRerunPrescales,
118 setChainRerunPrescales )
119
121
122 static const Accessor< std::vector< float > > acc( "chainRerunPrescales" );
123 return acc.isAvailable( *this );
124 }
125
127 chainPassthroughPrescales,
128 setChainPassthroughPrescales )
129
131
132 static const Accessor< std::vector< float > >
133 acc( "chainPassthroughPrescales" );
134 return acc.isAvailable( *this );
135 }
136
137 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< std::vector< uint32_t> >,
138 chainSignatureCounters, setChainSignatureCounters )
139
141
142 static const Accessor< std::vector< std::vector< uint32_t> > > acc( "chainSignatureCounters" );
143 return acc.isAvailable( *this );
144 }
145
146 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< std::vector< int > >,
147 chainSignatureLogics, setChainSignatureLogics )
148
150
151 static const Accessor< std::vector< std::vector< int > > > acc( "chainSignatureLogics" );
152 return acc.isAvailable( *this );
153 }
154
155 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector<std::vector< std::vector< std::string> > >,
156 chainSignatureOutputTEs, setChainSignatureOutputTEs )
157
159
160 static const Accessor< std::vector<std::vector< std::vector< std::string> > > > acc( "chainSignatureOutputTEs" );
161 return acc.isAvailable( *this );
162 }
163
164 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector<std::vector< std::string > >,
165 chainSignatureLabels, setChainSignatureLabels )
166
168
169 static const Accessor< std::vector< std::vector< std::string > > > acc( "chainSignatureLabels" );
170 return acc.isAvailable( *this );
171 }
172
173
174 //
176
178 //
179 // Implementation of the HLT sequence accessor functions
180 //
181
182
183 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< std::vector< std::string > >,
184 sequenceInputTEs, setSequenceInputTEs )
185
187
188 static const Accessor< std::vector< std::vector< std::string > > > acc( "sequenceInputTEs" );
189 return acc.isAvailable( *this );
190 }
191
192 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< std::string >,
193 sequenceOutputTEs, setSequenceOutputTEs )
194
196
197 static const Accessor< std::vector< std::string > > acc( "sequenceOutputTEs" );
198 return acc.isAvailable( *this );
199 }
200
201 AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< std::vector< std::string > >,
202 sequenceAlgorithms, setSequenceAlgorithms )
203
205
206 static const Accessor< std::vector<std::vector< std::string > > > acc( "sequenceAlgorithms" );
207 return acc.isAvailable( *this );
208 }
209
210
211
212 //
214
215
217 //
218 // Implementation of the bunch group accessor functions
219 //
220
223 bunchGroupBunches, setBunchGroupBunches )
224
226
227 static const Accessor< BunchGroup_t > acc( "bunchGroupBunches" );
228 return acc.isAvailable( *this );
229 }
230
231 //
233
234} // namespace xAOD
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
AuxElement()
Default constructor.
Class holding one particular trigger configuration.
bool bunchGroupBunchesAvailable() const
Check if the bunches belonging to the bunch groups are available.
bool sequenceOutputTEsAvailable() const
Check output TEs are available.
bool chainSignatureCountersAvailable() const
Check if the signature counters are available.
bool chainRerunPrescalesAvailable() const
Check if the HLT chain re-run prescales are available.
bool sequenceAlgorithmsAvailable() const
Check input TEs are available.
bool itemCtpIdsAvailable() const
Check whether the CTP IDs are available.
bool itemPrescalesAvailable() const
Check whether the LVL1 prescales are available.
bool sequenceInputTEsAvailable() const
Check input TEs are available.
bool chainSignatureOutputTEsAvailable() const
Check if the output TE ids are available.
bool chainSignatureLogicsAvailable() const
Check if the logic of the signatures are available.
TriggerMenu_v1()
Default constructor.
std::vector< std::vector< uint16_t > > BunchGroup_t
Bunch identifiers describing one bunch group.
bool chainSignatureLabelsAvailable() const
Check if the signature labels are available.
bool chainPrescalesAvailable() const
Check if the HLT chain prescales are available.
bool chainNamesAvailable() const
Check if the HLT chain names are available.
bool chainPassthroughPrescalesAvailable() const
Check if the HLT chain pass-through prescales are available.
bool chainIdsAvailable() const
Check if the HLT chain IDs are available.
bool itemNamesAvailable() const
Check whether the LVL1 item names are available.
bool chainParentNamesAvailable() const
Check if the HLT chain parent names are available.
Forward declaration.
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setL1psk itemCtpIds
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
setWord1 uint16_t
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
setEventNumber uint32_t