|
ATLAS Offline Software
|
#include <TrigDecisionMaker.h>
|
| TrigDecisionMaker (const std::string &name, ISvcLocator *pSvcLocator) |
| std Gaudi Algorithm constructor More...
|
|
virtual | ~TrigDecisionMaker () |
| std deconstructor More...
|
|
virtual StatusCode | initialize () override |
| std Gaudi initialize method -> read-in trigger configuration More...
|
|
virtual StatusCode | execute (const EventContext &ctx) const override |
| std Gaudi execute method -> fill event-wise TrigDecision object, save in SG More...
|
|
virtual StatusCode | finalize () override |
| std Gaudi finalize method -> print out statistics More...
|
|
ResultStatus | getL1Result (const LVL1CTP::Lvl1Result *&result, const EventContext &ctx) const |
| retrieve LVL1 result (called in execute) More...
|
|
ResultStatus | getHLTResult (const HLT::HLTResult *&result, TrigLevel level, const EventContext &ctx) const |
| retrieve HLT results (called in execute) 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 |
|
|
Gaudi::Property< bool > | m_doL1 {this, "doL1", true, "flag whether or not to consider L1 trigger information"} |
|
Gaudi::Property< bool > | m_doL2 {this, "doL2", true, "flag whether or not to consider L2 trigger information"} |
|
Gaudi::Property< bool > | m_doEF {this, "doEF", true, "flag whether or not to consider L3 (EF) trigger information"} |
|
Gaudi::Property< bool > | m_doHLT {this, "doHLT", true, "flag whether or not to consider merged L2EF=HLT trigger information"} |
|
SG::ReadCondHandleKey< TrigConf::L1BunchGroupSet > | m_bgKey {this, "L1BunchGroup", "L1BunchGroup", "L1BunchGroupSet key name"} |
|
SG::ReadHandleKey< TrigConf::HLTMenu > | m_HLTMenuKey {this, "HLTTriggerMenu", "DetectorStore+HLTTriggerMenu", "HLT Menu key"} |
|
SG::WriteHandleKey< TrigDecision > | m_trigDecisionKey {this, "TrigDecisionKey", "TrigDecision", "SG key to save the TrigDecision object" } |
|
SG::ReadHandleKey< ROIB::RoIBResult > | m_l1roibResultKey {this, "L1ROIBResultKey", "RoIBResult", "SK key to retrieve the L1 ROIB result from SG" } |
|
SG::ReadHandleKey< LVL1CTP::Lvl1Result > | m_l1ResultKey {this, "L1ResultKey", "Lvl1Result", "SK key to retrieve the L1 result from SG" } |
|
SG::ReadHandleKey< HLT::HLTResult > | m_l2ResultKey {this, "L2ResultKey", "HLTResult_L2", "SK key to retrieve the L2 result from SG" } |
|
SG::ReadHandleKey< HLT::HLTResult > | m_efResultKey {this, "EFResultKey", "HLTResult_EF", "SK key to retrieve the EF result from SG" } |
|
SG::ReadHandleKey< HLT::HLTResult > | m_hltResultKey {this, "HLTResultKey", "HLTResult_HLT", " SK key to retrieve the merged HLT result from SG" } |
|
ToolHandle< HLT::ILvl1ResultAccessTool > | m_lvl1Tool {this, "Lvl1ResultAccessTool", "HLT::Lvl1ResultAccessTool/Lvl1ResultAccessTool", "L1 tool to fetch"} |
| tool to ease the access to the L1 results (RoIs, items, etc) More...
|
|
std::atomic< unsigned int > | m_nEvents |
| statistics: number of processed events More...
|
|
std::atomic< unsigned int > | m_l1_error |
|
std::atomic< unsigned int > | m_l2_error |
|
std::atomic< unsigned int > | m_ef_error |
|
std::atomic< unsigned int > | m_hlt_error |
|
std::atomic< unsigned int > | m_td_error |
|
std::atomic< unsigned int > | m_td_skip |
| statistics: error numbers More...
|
|
std::atomic< unsigned int > | m_l1_notFound |
|
std::atomic< unsigned int > | m_l2_notFound |
|
std::atomic< unsigned int > | m_ef_notFound |
|
std::atomic< unsigned int > | m_hlt_notFound |
| statistics: number of events where L1, HLT results were not found More...
|
|
std::atomic< unsigned int > | m_l1_notReq |
|
std::atomic< unsigned int > | m_l2_notReq |
|
std::atomic< unsigned int > | m_ef_notReq |
|
std::atomic< unsigned int > | m_hlt_notReq |
| statistics: number of events where something was not requested More...
|
|
std::atomic< unsigned int > | m_l1_passed |
|
std::atomic< unsigned int > | m_l2_passed |
|
std::atomic< unsigned int > | m_ef_passed |
|
std::atomic< unsigned int > | m_hlt_passed |
| statistics: number of events that passed the given trigger lvl More...
|
|
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 |
|
Note: Legacy class. Used to process Run 1 and Run 2 RAW data.
- Algorithm-derived class to run after the Steering
- Finds the list of defined signatures at initialization
- For each event:
- Creates a TriggerDecision object
- Fills it with the outcome of each defined signature
- Stores it in StoreGate to be written to ESD/AOD
- See also
- TrigDecisionMakerMT
- Author
- Nicolas Berger Nicol.nosp@m.as.B.nosp@m.erger.nosp@m.@cer.nosp@m.n.ch - CERN
-
Till Eifert Till..nosp@m.Eife.nosp@m.rt@ce.nosp@m.rn.c.nosp@m.h - U. of Geneva, Switzerland
-
Ricardo Goncalo Jose..nosp@m.Gonc.nosp@m.alo@c.nosp@m.ern..nosp@m.ch - Royal Holloway, U. of London
-
Tomasz Bold Tomas.nosp@m.z.Bo.nosp@m.ld@ce.nosp@m.rn.c.nosp@m.h - UC Irvine - AGH-UST Krakow
Definition at line 70 of file TrigDecisionMaker.h.
◆ StoreGateSvc_t
◆ ResultStatus
Enumerator |
---|
Unknown | |
OK | |
NotRequested | |
NotFound | |
SGError | |
ProcError | |
Definition at line 73 of file TrigDecisionMaker.h.
◆ TrigLevel
◆ TrigDecisionMaker()
TrigDecisionMaker::TrigDecisionMaker |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TrigDecisionMaker()
TrigDecisionMaker::~TrigDecisionMaker |
( |
| ) |
|
|
virtual |
◆ 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.
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation 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.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation 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.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation 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.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation 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.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode TrigDecisionMaker::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
std Gaudi execute method -> fill event-wise TrigDecision object, save in SG
Definition at line 140 of file TrigDecisionMaker.cxx.
185 if (!l1Result && !l2Result && !efResult && !hltResult) {
186 ATH_MSG_ERROR (
"The whole trigger seems off for this event (no L1/L2/EF/HLT results) - no TrigDecision produced");
188 return StatusCode::SUCCESS;
191 std::unique_ptr<TrigDecision> trigDec = std::make_unique<TrigDecision>();
206 <<
"; Event " << ctx.eventID().event_number()
207 <<
"; BC-ID " << ctx.eventID().bunch_crossing_id() ) ;
213 trigDec->
m_bgCode =
static_cast<char>(l1bgs->
bgPattern(ctx.eventID().bunch_crossing_id()));
220 if (writeHandle.record(std::move(trigDec)).isFailure()) {
221 ATH_MSG_ERROR (
"Failed to record TrigDecision to StoreGate with key "
225 return StatusCode::FAILURE;
228 ATH_MSG_DEBUG (
"Recorded TrigDecision to StoreGate with key = "
232 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
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.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ finalize()
StatusCode TrigDecisionMaker::finalize |
( |
| ) |
|
|
overridevirtual |
std Gaudi finalize method -> print out statistics
Definition at line 105 of file TrigDecisionMaker.cxx.
108 ATH_MSG_DEBUG (
"=============================================" ) ;
134 ATH_MSG_DEBUG (
"=============================================" ) ;
136 return StatusCode::SUCCESS;
◆ getHLTResult()
retrieve HLT results (called in execute)
Definition at line 279 of file TrigDecisionMaker.cxx.
285 ATH_MSG_ERROR (
"Level must be either L2 or EF or HLT in getHLTResult!");
295 if (!hltRH.isValid()) {
296 ATH_MSG_ERROR (
"Error retrieving HLTResult from StoreGate" ) ;
◆ getL1Result()
retrieve LVL1 result (called in execute)
Definition at line 235 of file TrigDecisionMaker.cxx.
243 if (l1RH.isValid()) {
250 ATH_MSG_WARNING(
"Configured to retrieve L1 from LVL1CTP::Lvl1Result but this was not found");
256 if (!l1roibRH.isValid()) {
266 std::vector< std::unique_ptr<LVL1CTP::Lvl1Item> > itemConfig =
m_lvl1Tool->makeLvl1ItemConfig(ctx);
268 if ((roIBResult->
cTPResult()).isComplete()) {
270 ATH_MSG_DEBUG (
"Build LVL1CTP::Lvl1Result from valid CTPResult.") ;
272 ATH_MSG_DEBUG (
"No LVL1CTP::Lvl1Result build since no valid CTPResult is available.") ;
◆ initialize()
StatusCode TrigDecisionMaker::initialize |
( |
| ) |
|
|
overridevirtual |
std Gaudi initialize method -> read-in trigger configuration
Definition at line 54 of file TrigDecisionMaker.cxx.
100 return StatusCode::SUCCESS;
◆ inputHandles()
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 |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ 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.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ 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.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_bgKey
◆ m_detStore
◆ m_doEF
Gaudi::Property<bool> TrigDec::TrigDecisionMaker::m_doEF {this, "doEF", true, "flag whether or not to consider L3 (EF) trigger information"} |
|
private |
◆ m_doHLT
Gaudi::Property<bool> TrigDec::TrigDecisionMaker::m_doHLT {this, "doHLT", true, "flag whether or not to consider merged L2EF=HLT trigger information"} |
|
private |
◆ m_doL1
Gaudi::Property<bool> TrigDec::TrigDecisionMaker::m_doL1 {this, "doL1", true, "flag whether or not to consider L1 trigger information"} |
|
private |
◆ m_doL2
Gaudi::Property<bool> TrigDec::TrigDecisionMaker::m_doL2 {this, "doL2", true, "flag whether or not to consider L2 trigger information"} |
|
private |
◆ m_ef_error
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_ef_error |
|
private |
◆ m_ef_notFound
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_ef_notFound |
|
private |
◆ m_ef_notReq
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_ef_notReq |
|
private |
◆ m_ef_passed
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_ef_passed |
|
private |
◆ m_efResultKey
◆ m_evtStore
◆ 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_hlt_error
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_hlt_error |
|
private |
◆ m_hlt_notFound
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_hlt_notFound |
|
private |
◆ m_hlt_notReq
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_hlt_notReq |
|
private |
statistics: number of events where something was not requested
Definition at line 111 of file TrigDecisionMaker.h.
◆ m_hlt_passed
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_hlt_passed |
|
private |
statistics: number of events that passed the given trigger lvl
Definition at line 112 of file TrigDecisionMaker.h.
◆ m_HLTMenuKey
◆ m_hltResultKey
SG::ReadHandleKey<HLT::HLTResult> TrigDec::TrigDecisionMaker::m_hltResultKey {this, "HLTResultKey", "HLTResult_HLT", " SK key to retrieve the merged HLT result from SG" } |
|
private |
◆ m_l1_error
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l1_error |
|
mutableprivate |
◆ m_l1_notFound
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l1_notFound |
|
mutableprivate |
◆ m_l1_notReq
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l1_notReq |
|
mutableprivate |
◆ m_l1_passed
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l1_passed |
|
mutableprivate |
◆ m_l1ResultKey
◆ m_l1roibResultKey
◆ m_l2_error
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l2_error |
|
private |
◆ m_l2_notFound
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l2_notFound |
|
private |
◆ m_l2_notReq
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l2_notReq |
|
private |
◆ m_l2_passed
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_l2_passed |
|
private |
◆ m_l2ResultKey
◆ m_lvl1Tool
tool to ease the access to the L1 results (RoIs, items, etc)
Definition at line 105 of file TrigDecisionMaker.h.
◆ m_nEvents
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_nEvents |
|
mutableprivate |
◆ m_td_error
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_td_error |
|
private |
◆ m_td_skip
std::atomic<unsigned int> TrigDec::TrigDecisionMaker::m_td_skip |
|
private |
◆ m_trigDecisionKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Gaudi::Property< bool > m_doL1
std::atomic< unsigned int > m_td_error
ResultStatus getHLTResult(const HLT::HLTResult *&result, TrigLevel level, const EventContext &ctx) const
retrieve HLT results (called in execute)
std::atomic< unsigned int > m_ef_notReq
Class holding the LVL1 RoIB result build by the RoIBuilder.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::atomic< unsigned int > m_l1_passed
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)
std::atomic< unsigned int > m_hlt_notReq
statistics: number of events where something was not requested
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
SG::ReadHandleKey< HLT::HLTResult > m_efResultKey
SG::ReadHandleKey< LVL1CTP::Lvl1Result > m_l1ResultKey
std::atomic< unsigned int > m_l1_notFound
std::atomic< unsigned int > m_l1_error
std::atomic< unsigned int > m_td_skip
statistics: error numbers
SG::ReadHandleKey< ROIB::RoIBResult > m_l1roibResultKey
bool empty() const
Test if the key is blank.
std::atomic< unsigned int > m_ef_notFound
virtual void setOwner(IDataHandleHolder *o)=0
SG::WriteHandleKey< TrigDecision > m_trigDecisionKey
bool isAccepted() const
final LVL1 decision && isConfigured
std::atomic< unsigned int > m_l2_notFound
AthReentrantAlgorithm()
Default constructor:
std::atomic< unsigned int > m_l2_error
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
::StatusCode StatusCode
StatusCode definition for legacy code.
std::atomic< unsigned int > m_l2_notReq
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basic...
bool isAccepted() const
gets HLT decision
bgPattern_t bgPattern(size_t bcid) const
Return word with bit-pattern of fired bunchgroups for given bcid.
std::atomic< unsigned int > m_l2_passed
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
SG::ReadCondHandleKey< TrigConf::L1BunchGroupSet > m_bgKey
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
SG::ReadHandleKey< TrigConf::HLTMenu > m_HLTMenuKey
const CTPResult & cTPResult() const
Gets the CTP part of the L1 RDO.
std::atomic< unsigned int > m_nEvents
statistics: number of processed events
SG::ReadHandleKey< HLT::HLTResult > m_hltResultKey
virtual StatusCode sysInitialize() override
Override sysInitialize.
StatusCode initialize(bool used=true)
Gaudi::Property< bool > m_doL2
Gaudi::Property< bool > m_doEF
uint32_t m_configMasterKey
std::atomic< unsigned int > m_hlt_error
std::atomic< unsigned int > m_hlt_passed
statistics: number of events that passed the given trigger lvl
Gaudi::Property< bool > m_doHLT
#define ATH_MSG_WARNING(x)
LVL1CTP::Lvl1Result m_l1_result
Lvl1Result.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
ResultStatus getL1Result(const LVL1CTP::Lvl1Result *&result, const EventContext &ctx) const
retrieve LVL1 result (called in execute)
std::atomic< unsigned int > m_ef_error
DataLink< HLT::HLTResult > m_ef_result
HLTResult of trigger level EF.
DataLink< HLT::HLTResult > m_l2_result
HLTResult of trigger level 2.
std::atomic< unsigned int > m_hlt_notFound
statistics: number of events where L1, HLT results were not found
SG::ReadHandleKey< HLT::HLTResult > m_l2ResultKey
std::atomic< unsigned int > m_ef_passed
ToolHandle< HLT::ILvl1ResultAccessTool > m_lvl1Tool
tool to ease the access to the L1 results (RoIs, items, etc)
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::atomic< unsigned int > m_l1_notReq