ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TrigDec::TrigDecisionMakerMT Class Reference

#include <TrigDecisionMakerMT.h>

Inheritance diagram for TrigDec::TrigDecisionMakerMT:
Collaboration diagram for TrigDec::TrigDecisionMakerMT:

Public Member Functions

 TrigDecisionMakerMT (const std::string &name, ISvcLocator *pSvcLocator)
 std Gaudi Algorithm constructor More...
 
 ~TrigDecisionMakerMT ()
 std deconstructor More...
 
virtual StatusCode initialize () override
 std Gaudi initialize method -> read-in trigger configuration More...
 
virtual StatusCode execute (const EventContext &context) const override
 Re-entrant execute to create the xAOD::TrigDecision. More...
 
virtual StatusCode finalize () override
 std Gaudi finalize method -> print out statistics More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode getL1Result (const LVL1CTP::Lvl1Result *&result, const EventContext &context) const
 retrieve LVL1 result (called in execute) More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

Gaudi::Property< bool > m_doL1 {this, "doL1", true, "Read L1 trigger information"}
 
Gaudi::Property< bool > m_doHLT {this, "doHLT", true, "Read HLT trigger information"}
 
ToolHandle< HLT::ILvl1ResultAccessToolm_lvl1Tool {this, "Lvl1ResultAccessTool", "HLT::Lvl1ResultAccessTool/Lvl1ResultAccessTool", "L1 tool to fetch"}
 tool to ease the access to the L1 results (RoIs, items, etc) More...
 
ToolHandle< ITriggerBitsMakerToolm_bitsMakerTool {this, "BitsMakerTool", "", "Tool to create trigger bits for MC"}
 
SG::ReadCondHandleKey< TrigConf::L1BunchGroupSetm_bgKey {this, "L1BunchGroup", "L1BunchGroup", "L1BunchGroupSet key name"}
 
SG::ReadHandleKey< TrigConf::HLTMenum_HLTMenuKey {this, "HLTTriggerMenu", "DetectorStore+HLTTriggerMenu", "HLT Menu key"}
 
SG::ReadHandleKey< HLT::HLTResultMTm_hltResultKeyIn {this, "HLTResultMT", "HLTResultMT", "Key of the HLTResultMT object to get bits from online bytestream" }
 
SG::ReadHandleKey< ROIB::RoIBResultm_ROIBResultKeyIn {this, "RoIBResult", "RoIBResult", "RoIB Result Object Key"}
 
SG::ReadHandleKey< xAOD::EventInfom_EventInfoKeyIn {this, "EventInfo", "EventInfo", "Event Info Object Key"}
 
SG::WriteHandleKey< xAOD::TrigDecisionm_trigDecisionKeyOut {this, "TrigDecisionKey", "xTrigDecision", "Output trigger decision object key"}
 
std::atomic< uint32_t > m_nEvents {0}
 
std::atomic< uint32_t > m_l1Passed {0}
 
std::atomic< uint32_t > m_hltPassed {0}
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Author
Tim Martin Tim.M.nosp@m.arti.nosp@m.n@cer.nosp@m.n.ch - University of Warwick

Definition at line 62 of file TrigDecisionMakerMT.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TrigDecisionMakerMT()

TrigDec::TrigDecisionMakerMT::TrigDecisionMakerMT ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

std Gaudi Algorithm constructor

Definition at line 28 of file TrigDecisionMakerMT.cxx.

29  : ::AthReentrantAlgorithm(name, pSvcLocator)
30 {}

◆ ~TrigDecisionMakerMT()

TrigDec::TrigDecisionMakerMT::~TrigDecisionMakerMT ( )

std deconstructor

Definition at line 32 of file TrigDecisionMakerMT.cxx.

32 {}

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode TrigDec::TrigDecisionMakerMT::execute ( const EventContext &  context) const
overridevirtual

Re-entrant execute to create the xAOD::TrigDecision.

Definition at line 78 of file TrigDecisionMakerMT.cxx.

79 {
80  using namespace TrigCompositeUtils;
81 
82  // increment event counter
83  m_nEvents++;
84 
85  std::unique_ptr<xAOD::TrigDecision> trigDec = std::make_unique<xAOD::TrigDecision>();
86  std::unique_ptr<xAOD::TrigDecisionAuxInfo> trigDecAux = std::make_unique<xAOD::TrigDecisionAuxInfo>();
87  trigDec->setStore(trigDecAux.get());
88 
90  ATH_CHECK(hltMenu.isValid());
91  trigDec->setSMK(hltMenu->smk());
92 
93  if (m_doL1) {
94  const LVL1CTP::Lvl1Result* l1Result = nullptr;
95  ATH_CHECK(getL1Result(l1Result, context));
96 
97  trigDec->setTAV(l1Result->itemsAfterVeto());
98  trigDec->setTAP(l1Result->itemsAfterPrescale());
99  trigDec->setTBP(l1Result->itemsBeforePrescale());
100 
101  if (l1Result->isAccepted()) {
102  ++m_l1Passed;
103  }
104  }
105 
106  if (m_doHLT) {
107 
108  boost::dynamic_bitset<uint32_t> passRawBitset, prescaledBitset;
109 
110  if (m_bitsMakerTool.isSet()) {
111 
112  ATH_MSG_DEBUG ("MC Mode: Creating bits with TriggerBitsMakerTool");
113  ATH_CHECK(m_bitsMakerTool->getBits(passRawBitset, prescaledBitset, context));
114 
115  } else {
116 
117  ATH_MSG_DEBUG ("Data Mode: Reading bits from HLTResultMT");
118  SG::ReadHandle<HLT::HLTResultMT> hltResult = SG::makeHandle<HLT::HLTResultMT>(m_hltResultKeyIn, context);
119  ATH_CHECK(hltResult.isValid());
120 
121  passRawBitset = hltResult->getHltPassRawBits();
122  prescaledBitset = hltResult->getHltPrescaledBits();
123 
124  // Inspect error codes from event header
125  const std::vector<HLT::OnlineErrorCode> errorCodes = hltResult->getErrorCodes();
126  bool truncated = false;
127  uint32_t code = 0;
128  for (size_t i = 0; i < errorCodes.size(); ++i) {
129  truncated |= (errorCodes.at(i) == HLT::OnlineErrorCode::RESULT_TRUNCATION);
130  if (i == 0) {
131  code = static_cast<uint32_t>(errorCodes.at(0));
132  }
133  }
134 
135  // If the event header does not show any truncation check the individual HLT ROBs
136  // to cover the case of allowed result truncation (see ATR-27986).
137  //
138  // We only support one truncation status in the TrigDecision. So the convention is:
139  // 1) If the main HLT result is available, its status is reflected (e.g. Physics stream)
140  // 2) If not, we take the combined status of all other ROBs, but in practice there
141  // should only ever be one (TLA) ROB in a given stream.
142  if (!truncated) {
143  std::set<uint16_t> allModuleIds; // sorted(!) set of module IDs
144  for (const auto& itr : hltResult->getSerialisedData()) allModuleIds.insert(itr.first);
145 
146  for (uint16_t moduleId : allModuleIds) {
147  const std::vector<uint32_t>& status = hltResult->getRobStatus(moduleId);
148  if (status.size() > 1) { // status[0] is the generic eformat event status
149  truncated |= (status[1] == static_cast<uint32_t>(HLT::OnlineErrorCode::RESULT_TRUNCATION));
150  code |= status[1];
151  }
152  if (moduleId==0) break;
153  }
154  }
155 
156  trigDec->setEFErrorBits(code);
157  trigDec->setEFTruncated(truncated);
158  }
159 
160  ATH_MSG_DEBUG ("Number of HLT chains passed raw: " << passRawBitset.count());
161  ATH_MSG_DEBUG ("Number of HLT chains prescaled out: " << prescaledBitset.count());
162 
163  if (passRawBitset.any()) {
164  ++m_hltPassed;
165  }
166 
167  std::vector<uint32_t> passRaw, prescaled;
168 
169  passRaw.resize(passRawBitset.num_blocks());
170  prescaled.resize(prescaledBitset.num_blocks());
171 
172  boost::to_block_range(passRawBitset, passRaw.begin());
173  boost::to_block_range(prescaledBitset, prescaled.begin());
174 
175  // OFFLINE FIX TO P1 OPERATIONAL ISSUE 28th-31st July 2022
176  // [ATR-26036] These runs had an incomplete fix applied leading to incorrect prescale bits, prior runs in Run 3 had no presacled bits.
177  // Incorrect prescale bits will cause incorrect results from the Trig Decision Tool. Hence these need to be zeroed out (no prescale bits is better than wrong prescale bits)
178  static const std::set<unsigned> buggyPrescaleBitRuns = {429603, 429606, 429612, 429658, 429697, 429716};
179  const bool isBuggyPrescaleBitsRun = (std::find(buggyPrescaleBitRuns.begin(), buggyPrescaleBitRuns.end(), context.eventID().run_number()) != buggyPrescaleBitRuns.end());
180  if (isBuggyPrescaleBitsRun) {
181  ATH_MSG_DEBUG("T0 Trigger fix for 429603-429716 is deleting incorrect isPrescaled trigger bits decoded from the bytestream.");
182  for (size_t i = 0; i < prescaled.size(); ++i) {
183  prescaled.at(i) = 0;
184  }
185  }
186 
187  if (passRaw.size() != prescaled.size()) {
188  ATH_MSG_ERROR("Trigger bitsets are not all the same size! passRaw:"
189  << passRaw.size() << " prescaled:" << prescaled.size() );
190  return StatusCode::FAILURE;
191  }
192 
193  // Run 3 note: with only a two-level system, with no passthrough bit, no resurrection bit
194  // the raw-pass equates to the physics-pass.
195  trigDec->setEFPassedRaw(passRaw);
196  trigDec->setEFPassedPhysics(passRaw);
197  trigDec->setEFPrescaled(prescaled);
198 
199  }
200 
201  // get the bunch crossing id
202  const xAOD::EventInfo* eventInfo = SG::get(m_EventInfoKeyIn, context);
204  ATH_CHECK(bgkey.isValid());
205  const TrigConf::L1BunchGroupSet* l1bgs = *bgkey;
206  if (l1bgs) {
207  // We currently only support 8 bits/bunchgroups (ATR-24030)
208  trigDec->setBGCode( static_cast<char>(l1bgs->bgPattern(eventInfo->bcid())) );
209  }
210  else {
211  ATH_MSG_WARNING("Could not read " << m_bgKey);
212  }
213 
214  ATH_MSG_DEBUG ( "Run '" << eventInfo->runNumber()
215  << "'; Event '" << eventInfo->eventNumber()
216  << "'; BCID '" << eventInfo->bcid()
217  << "'; BG Code '" << trigDec->bgCode() << "'" ) ;
218 
219  ATH_MSG_DEBUG ("Decision object dump: " << *(trigDec.get()));
220  auto trigDecWriteHandle = SG::makeHandle( m_trigDecisionKeyOut, context );
221  ATH_CHECK( trigDecWriteHandle.record( std::move( trigDec ), std::move( trigDecAux ) ) );
222  ATH_MSG_DEBUG ("Recorded xAOD::TrigDecision to StoreGate with key = " << m_trigDecisionKeyOut.key());
223 
224  return StatusCode::SUCCESS;
225 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ finalize()

StatusCode TrigDec::TrigDecisionMakerMT::finalize ( )
overridevirtual

std Gaudi finalize method -> print out statistics

Definition at line 64 of file TrigDecisionMakerMT.cxx.

65 {
66  // print out stats: used also to do regression tests
67  ATH_MSG_DEBUG ("=============================================");
68  ATH_MSG_DEBUG ("REGTEST Run summary:");
69  ATH_MSG_DEBUG ("REGTEST Events processed : " << m_nEvents);
70  ATH_MSG_DEBUG ("REGTEST Level 1 : passed = " << m_l1Passed);
71  ATH_MSG_DEBUG ("REGTEST HLT : passed = " << m_hltPassed);
72  ATH_MSG_DEBUG ("=============================================");
73 
74  return StatusCode::SUCCESS;
75 }

◆ getL1Result()

StatusCode TrigDec::TrigDecisionMakerMT::getL1Result ( const LVL1CTP::Lvl1Result *&  result,
const EventContext &  context 
) const
private

retrieve LVL1 result (called in execute)

Definition at line 228 of file TrigDecisionMakerMT.cxx.

229 {
230  SG::ReadHandle<ROIB::RoIBResult> roIBResult = SG::makeHandle<ROIB::RoIBResult>(m_ROIBResultKeyIn, context);
231  ATH_CHECK(roIBResult.isValid());
232 
233  std::vector< std::unique_ptr<LVL1CTP::Lvl1Item> > itemConfig = m_lvl1Tool->makeLvl1ItemConfig(context);
234 
235  if (roIBResult->cTPResult().isComplete()) {
236  m_lvl1Tool->createL1Items(itemConfig, *roIBResult, &result);
237  ATH_MSG_DEBUG ( "Built LVL1CTP::Lvl1Result from valid CTPResult.");
238  }
239 
240  if (result == nullptr) {
241  ATH_MSG_ERROR ( "Could not construct L1 result from roIBResult");
242  return StatusCode::FAILURE;
243  }
244 
245  return StatusCode::SUCCESS;
246 }

◆ initialize()

StatusCode TrigDec::TrigDecisionMakerMT::initialize ( )
overridevirtual

std Gaudi initialize method -> read-in trigger configuration

Definition at line 35 of file TrigDecisionMakerMT.cxx.

36 {
37 
38  bool resultObjectIsUsed = true;
39  if (!m_bitsMakerTool.empty()) {
40  ATH_MSG_INFO("TrigDecisionMakerMT is setting up to run after the Trigger in a job with POOL output. "
41  "The TriggerBitsMakerTool will be used directly to create the xAOD::TrigDecision.");
42  ATH_CHECK( m_bitsMakerTool.retrieve() );
43  resultObjectIsUsed = false;
44  } else {
45  ATH_MSG_INFO("TrigDecisionMakerMT is setting up to read the trigger bits from trigger bytestream. "
46  "The HLTResultMT object will be used as the source of the trigger bits.");
47  }
48  ATH_CHECK( m_hltResultKeyIn.initialize(resultObjectIsUsed) ); // If false, this removes the ReadHandle
49 
52 
55 
56  ATH_CHECK( m_trigDecisionKeyOut.initialize() );
57 
58  ATH_CHECK( m_lvl1Tool.retrieve() );
59 
60  return StatusCode::SUCCESS;
61 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_bgKey

SG::ReadCondHandleKey<TrigConf::L1BunchGroupSet> TrigDec::TrigDecisionMakerMT::m_bgKey {this, "L1BunchGroup", "L1BunchGroup", "L1BunchGroupSet key name"}
private

Definition at line 88 of file TrigDecisionMakerMT.h.

◆ m_bitsMakerTool

ToolHandle<ITriggerBitsMakerTool> TrigDec::TrigDecisionMakerMT::m_bitsMakerTool {this, "BitsMakerTool", "", "Tool to create trigger bits for MC"}
private

Definition at line 85 of file TrigDecisionMakerMT.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_doHLT

Gaudi::Property<bool> TrigDec::TrigDecisionMakerMT::m_doHLT {this, "doHLT", true, "Read HLT trigger information"}
private

Definition at line 80 of file TrigDecisionMakerMT.h.

◆ m_doL1

Gaudi::Property<bool> TrigDec::TrigDecisionMakerMT::m_doL1 {this, "doL1", true, "Read L1 trigger information"}
private

Definition at line 79 of file TrigDecisionMakerMT.h.

◆ m_EventInfoKeyIn

SG::ReadHandleKey<xAOD::EventInfo> TrigDec::TrigDecisionMakerMT::m_EventInfoKeyIn {this, "EventInfo", "EventInfo", "Event Info Object Key"}
private

Definition at line 93 of file TrigDecisionMakerMT.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_HLTMenuKey

SG::ReadHandleKey<TrigConf::HLTMenu> TrigDec::TrigDecisionMakerMT::m_HLTMenuKey {this, "HLTTriggerMenu", "DetectorStore+HLTTriggerMenu", "HLT Menu key"}
private

Definition at line 89 of file TrigDecisionMakerMT.h.

◆ m_hltPassed

std::atomic<uint32_t> TrigDec::TrigDecisionMakerMT::m_hltPassed {0}
private

Definition at line 99 of file TrigDecisionMakerMT.h.

◆ m_hltResultKeyIn

SG::ReadHandleKey<HLT::HLTResultMT> TrigDec::TrigDecisionMakerMT::m_hltResultKeyIn {this, "HLTResultMT", "HLTResultMT", "Key of the HLTResultMT object to get bits from online bytestream" }
private

Definition at line 91 of file TrigDecisionMakerMT.h.

◆ m_l1Passed

std::atomic<uint32_t> TrigDec::TrigDecisionMakerMT::m_l1Passed {0}
private

Definition at line 99 of file TrigDecisionMakerMT.h.

◆ m_lvl1Tool

ToolHandle<HLT::ILvl1ResultAccessTool> TrigDec::TrigDecisionMakerMT::m_lvl1Tool {this, "Lvl1ResultAccessTool", "HLT::Lvl1ResultAccessTool/Lvl1ResultAccessTool", "L1 tool to fetch"}
private

tool to ease the access to the L1 results (RoIs, items, etc)

Definition at line 83 of file TrigDecisionMakerMT.h.

◆ m_nEvents

std::atomic<uint32_t> TrigDec::TrigDecisionMakerMT::m_nEvents {0}
mutableprivate

Definition at line 99 of file TrigDecisionMakerMT.h.

◆ m_ROIBResultKeyIn

SG::ReadHandleKey<ROIB::RoIBResult> TrigDec::TrigDecisionMakerMT::m_ROIBResultKeyIn {this, "RoIBResult", "RoIBResult", "RoIB Result Object Key"}
private

Definition at line 92 of file TrigDecisionMakerMT.h.

◆ m_trigDecisionKeyOut

SG::WriteHandleKey<xAOD::TrigDecision> TrigDec::TrigDecisionMakerMT::m_trigDecisionKeyOut {this, "TrigDecisionKey", "xTrigDecision", "Output trigger decision object key"}
private

Definition at line 96 of file TrigDecisionMakerMT.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
xAOD::TrigDecision_v1::setSMK
void setSMK(uint32_t value)
Set the Super Master Key describing this object.
TrigDec::TrigDecisionMakerMT::m_l1Passed
std::atomic< uint32_t > m_l1Passed
Definition: TrigDecisionMakerMT.h:99
TrigDec::TrigDecisionMakerMT::m_bgKey
SG::ReadCondHandleKey< TrigConf::L1BunchGroupSet > m_bgKey
Definition: TrigDecisionMakerMT.h:88
xAOD::TrigDecision_v1::setEFPassedPhysics
void setEFPassedPhysics(const std::vector< uint32_t > &value)
Set the EF physics decision bits.
get_generator_info.result
result
Definition: get_generator_info.py:21
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
xAOD::EventInfo_v1::eventNumber
uint64_t eventNumber() const
The current event's event number.
TrigDec::TrigDecisionMakerMT::m_ROIBResultKeyIn
SG::ReadHandleKey< ROIB::RoIBResult > m_ROIBResultKeyIn
Definition: TrigDecisionMakerMT.h:92
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
TrigDec::TrigDecisionMakerMT::m_HLTMenuKey
SG::ReadHandleKey< TrigConf::HLTMenu > m_HLTMenuKey
Definition: TrigDecisionMakerMT.h:89
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
AthCommonDataStore::renounce
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
Definition: AthCommonDataStore.h:380
xAOD::TrigDecision_v1::setEFTruncated
void setEFTruncated(bool value)
Set whether the EF result is truncated.
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::EventInfo_v1::runNumber
uint32_t runNumber() const
The current event's run number.
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
LVL1CTP::Lvl1Result::itemsBeforePrescale
const std::vector< uint32_t > & itemsBeforePrescale() const
Definition: Lvl1Result.h:55
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LVL1CTP::Lvl1Result::itemsAfterVeto
const std::vector< uint32_t > & itemsAfterVeto() const
Definition: Lvl1Result.h:57
SG::makeHandle
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Definition: ReadCondHandle.h:270
LVL1CTP::Lvl1Result::isAccepted
bool isAccepted() const
final LVL1 decision && isConfigured
Definition: Lvl1Result.cxx:19
HLT::HLTResultMT::getRobStatus
const std::vector< uint32_t > & getRobStatus(uint16_t moduleId) const
Status words for ROB with given moduleId.
Definition: HLTResultMT.cxx:226
HLT::HLTResultMT::getErrorCodes
const std::vector< HLT::OnlineErrorCode > getErrorCodes() const
Error codes getter (by value) - strips off the first bit-mask status word.
Definition: HLTResultMT.cxx:201
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TrigDec::TrigDecisionMakerMT::m_bitsMakerTool
ToolHandle< ITriggerBitsMakerTool > m_bitsMakerTool
Definition: TrigDecisionMakerMT.h:85
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
lumiFormat.i
int i
Definition: lumiFormat.py:92
SG::AuxElement::setStore
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
Definition: AuxElement.cxx:221
xAOD::TrigDecision_v1::setTAP
void setTAP(const std::vector< uint32_t > &value)
Set the Trigger After Prescale bits.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
xAOD::TrigDecision_v1::setTBP
void setTBP(const std::vector< uint32_t > &value)
Set the Trigger Before Prescale bits.
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
xAOD::TrigDecision_v1::setTAV
void setTAV(const std::vector< uint32_t > &value)
Set the Trigger After Veto bits.
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
TrigDec::TrigDecisionMakerMT::getL1Result
StatusCode getL1Result(const LVL1CTP::Lvl1Result *&result, const EventContext &context) const
retrieve LVL1 result (called in execute)
Definition: TrigDecisionMakerMT.cxx:228
TrigDec::TrigDecisionMakerMT::m_doL1
Gaudi::Property< bool > m_doL1
Definition: TrigDecisionMakerMT.h:79
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
TrigConf::L1BunchGroupSet
L1 board configuration.
Definition: L1BunchGroupSet.h:71
TrigConf::L1BunchGroupSet::bgPattern
bgPattern_t bgPattern(size_t bcid) const
Return word with bit-pattern of fired bunchgroups for given bcid.
Definition: L1BunchGroupSet.cxx:138
xAOD::TrigDecision_v1::setEFErrorBits
void setEFErrorBits(uint32_t value)
Set a summary of all errors that happened during the EF execution.
TrigDec::TrigDecisionMakerMT::m_doHLT
Gaudi::Property< bool > m_doHLT
Definition: TrigDecisionMakerMT.h:80
SG::ReadHandle::isValid
virtual bool isValid() override final
Can the handle be successfully dereferenced?
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
ROIB::RoIBResult::cTPResult
const CTPResult & cTPResult() const
Gets the CTP part of the L1 RDO.
Definition: RoIBResult.cxx:60
TrigDec::TrigDecisionMakerMT::m_lvl1Tool
ToolHandle< HLT::ILvl1ResultAccessTool > m_lvl1Tool
tool to ease the access to the L1 results (RoIs, items, etc)
Definition: TrigDecisionMakerMT.h:83
pmontree.code
code
Definition: pmontree.py:443
TrigDec::TrigDecisionMakerMT::m_trigDecisionKeyOut
SG::WriteHandleKey< xAOD::TrigDecision > m_trigDecisionKeyOut
Definition: TrigDecisionMakerMT.h:96
LVL1CTP::Lvl1Result
Definition: Lvl1Result.h:32
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
TrigDec::TrigDecisionMakerMT::m_nEvents
std::atomic< uint32_t > m_nEvents
Definition: TrigDecisionMakerMT.h:99
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HLT::HLTResultMT::getSerialisedData
const std::unordered_map< uint16_t, std::vector< uint32_t > > & getSerialisedData() const
Serialised data getter.
Definition: HLTResultMT.cxx:147
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
xAOD::TrigDecision_v1::setEFPrescaled
void setEFPrescaled(const std::vector< uint32_t > &value)
Set the EF prescaled bits.
xAOD::TrigDecision_v1::bgCode
char bgCode() const
Get the bunch group code of the current event.
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
xAOD::TrigDecision_v1::setEFPassedRaw
void setEFPassedRaw(const std::vector< uint32_t > &value)
Set the EF passed-raw bits.
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
TrigDec::TrigDecisionMakerMT::m_hltResultKeyIn
SG::ReadHandleKey< HLT::HLTResultMT > m_hltResultKeyIn
Definition: TrigDecisionMakerMT.h:91
TrigCompositeUtils
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
HLT::HLTResultMT::getHltPrescaledBits
const boost::dynamic_bitset< uint32_t > & getHltPrescaledBits() const
Const-getter for HLT prescaled bits.
Definition: HLTResultMT.cxx:95
xAOD::TrigDecision_v1::setBGCode
void setBGCode(char value)
Set the bunch group code of the current event.
HLT::OnlineErrorCode::RESULT_TRUNCATION
@ RESULT_TRUNCATION
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
merge.status
status
Definition: merge.py:17
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
TrigDec::TrigDecisionMakerMT::m_hltPassed
std::atomic< uint32_t > m_hltPassed
Definition: TrigDecisionMakerMT.h:99
xAOD::EventInfo_v1::bcid
uint32_t bcid() const
The bunch crossing ID of the event.
SG::get
const T * get(const ReadHandleKey< T > &key)
Convenience function to retrieve an object given a ReadHandleKey.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TrigDec::TrigDecisionMakerMT::m_EventInfoKeyIn
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKeyIn
Definition: TrigDecisionMakerMT.h:93
fitman.k
k
Definition: fitman.py:528
LVL1CTP::Lvl1Result::itemsAfterPrescale
const std::vector< uint32_t > & itemsAfterPrescale() const
Definition: Lvl1Result.h:56
ROIB::CTPResult::isComplete
bool isComplete() const
returns true if object isValid() and data has the expected length
ServiceHandle< ICondSvc >
HLT::HLTResultMT::getHltPassRawBits
const boost::dynamic_bitset< uint32_t > & getHltPassRawBits() const
Const-getter for HLT pass raw bits.
Definition: HLTResultMT.cxx:90