ATLAS Offline Software
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 
15 namespace xAOD {
16 
18  : SG::AuxElement() {
19 
20  }
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 
45  bool TriggerMenu_v1::itemCtpIdsAvailable() const {
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 
87  AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1,
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 
97  AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1,
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 
107  AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< float >,
108  chainPrescales, setChainPrescales )
109 
111 
112  static const Accessor< std::vector< float > > acc( "chainPrescales" );
113  return acc.isAvailable( *this );
114  }
115 
116  AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< float >,
117  chainRerunPrescales,
118  setChainRerunPrescales )
119 
121 
122  static const Accessor< std::vector< float > > acc( "chainRerunPrescales" );
123  return acc.isAvailable( *this );
124  }
125 
126  AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1, std::vector< float >,
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 
221  AUXSTORE_OBJECT_SETTER_AND_GETTER( TriggerMenu_v1,
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
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
RunEBWeightsComputation.smk
smk
Definition: RunEBWeightsComputation.py:87
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::itemCtpIds
setL1psk itemCtpIds
Definition: TriggerMenu_v1.cxx:43
xAOD::TriggerMenu_v1::sequenceAlgorithmsAvailable
bool sequenceAlgorithmsAvailable() const
Check input TEs are available.
xAOD::TriggerMenu_v1::BunchGroup_t
std::vector< std::vector< uint16_t > > BunchGroup_t
Bunch identifiers describing one bunch group.
Definition: TriggerMenu_v1.h:189
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::TriggerMenu_v1::TriggerMenu_v1
TriggerMenu_v1()
Default constructor.
Definition: TriggerMenu_v1.cxx:17
xAOD::TriggerMenu_v1::sequenceInputTEsAvailable
bool sequenceInputTEsAvailable() const
Check input TEs are available.
xAOD::TriggerMenu_v1::chainRerunPrescalesAvailable
bool chainRerunPrescalesAvailable() const
Check if the HLT chain re-run prescales are available.
xAOD::TriggerMenu_v1::bunchGroupBunchesAvailable
bool bunchGroupBunchesAvailable() const
Check if the bunches belonging to the bunch groups are available.
vector
Definition: MultiHisto.h:13
xAOD::TriggerMenu_v1::chainSignatureOutputTEsAvailable
bool chainSignatureOutputTEsAvailable() const
Check if the output TE ids are available.
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
xAOD::TriggerMenu_v1::chainIdsAvailable
bool chainIdsAvailable() const
Check if the HLT chain IDs are available.
xAOD::TriggerMenu_v1::chainPrescalesAvailable
bool chainPrescalesAvailable() const
Check if the HLT chain prescales are available.
xAOD::TriggerMenu_v1::chainParentNamesAvailable
bool chainParentNamesAvailable() const
Check if the HLT chain parent names are available.
xAOD::TriggerMenu_v1::itemPrescalesAvailable
bool itemPrescalesAvailable() const
Check whether the LVL1 prescales are available.
TriggerMenu_v1.h
xAOD::TriggerMenu_v1::chainSignatureLabelsAvailable
bool chainSignatureLabelsAvailable() const
Check if the signature labels are available.
xAOD::l1psk
l1psk
Definition: TriggerMenu_v1.cxx:29
xAOD::TriggerMenu_v1::itemNamesAvailable
bool itemNamesAvailable() const
Check whether the LVL1 item names are available.
xAOD::TriggerMenu_v1::chainNamesAvailable
bool chainNamesAvailable() const
Check if the HLT chain names are available.
xAOD::TriggerMenu_v1::chainSignatureLogicsAvailable
bool chainSignatureLogicsAvailable() const
Check if the logic of the signatures are available.
xAOD::TriggerMenu_v1::chainPassthroughPrescalesAvailable
bool chainPassthroughPrescalesAvailable() const
Check if the HLT chain pass-through prescales are available.
xAOD::TriggerMenu_v1
Class holding one particular trigger configuration.
Definition: TriggerMenu_v1.h:34
xAOD::TriggerMenu_v1::sequenceOutputTEsAvailable
bool sequenceOutputTEsAvailable() const
Check output TEs are available.
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27
xAOD::TriggerMenu_v1::chainSignatureCountersAvailable
bool chainSignatureCountersAvailable() const
Check if the signature counters are available.