![]() |
ATLAS Offline Software
|
Tool to create the HLTResultMT at the end of each event. More...
#include <HLTResultMTMaker.h>
Public Member Functions | |
| HLTResultMTMaker (const std::string &type, const std::string &name, const IInterface *parent) | |
| Standard constructor. | |
| virtual | ~HLTResultMTMaker () override=default |
| Standard destructor. | |
| virtual StatusCode | initialize () override |
| virtual StatusCode | start () override |
| virtual StatusCode | finalize () override |
| StatusCode | makeResult (const EventContext &eventContext) const |
| Create and fill a new HLTResultMT, and record it in the event store. | |
| StatusCode | fillResult (HLT::HLTResultMT &hltResult, const EventContext &eventContext) const |
| Fill an existing HLTResultMT with event information. | |
| const std::string & | resultName () const |
| Return name of the HLTResultMT. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | validatePEBInfo (HLT::HLTResultMT &hltResult) const |
| Check ROB and SubDet lists in StreamTags and remove those which are disabled. | |
| StatusCode | validateExtraROBsAndSubDets () |
| Check ExtraROBs and ExtraSubDets against the detector mask and drop the masked out IDs. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::WriteHandleKey< HLT::HLTResultMT > | m_hltResultWHKey |
| StoreGate key for the HLTResultMT. | |
| SG::WriteHandleKey< xAOD::TrigCompositeContainer > | m_runtimeMetadataWHKey |
| StoreGate key for HLT Runtime Metadata container. | |
| SG::ReadHandleKey< ByteStreamMetadataContainer > | m_bsMetaDataContRHKey |
| StoreGate key for the ByteStreamMetadata container to retrieve detector mask. | |
| ToolHandle< HLTResultMTMakerTool > | m_streamTagMaker |
| Tool creating stream tags (defines if event is accepted) | |
| ToolHandleArray< HLTResultMTMakerTool > | m_makerTools |
| Tools filling the HLTResultMT object. | |
| ToolHandle< GenericMonitoringTool > | m_monTool |
| Monitoring tool. | |
| ServiceHandle< Gaudi::Interfaces::IOptionsSvc > | m_jobOptionsSvc |
| Handle to JobOptionsSvc used to retrieve the DataFlowConfig property. | |
| Gaudi::Property< std::vector< uint32_t > > | m_extraEnabledROBs |
| Extra enabled ROBs. | |
| Gaudi::Property< std::vector< uint32_t > > | m_extraROBs |
| Extra enabled ROBs checked against detector mask. | |
| Gaudi::Property< std::vector< uint32_t > > | m_extraEnabledSubDets |
| Extra enabled SubDets. | |
| Gaudi::Property< std::vector< uint32_t > > | m_extraSubDets |
| Extra enabled SubDets checked against detector mask. | |
| std::set< uint32_t > | m_enabledROBs |
| List of enabled ROBs retrieved during initialisation. | |
| std::set< eformat::SubDetector > | m_enabledSubDets |
| List of enabled SubDets retrieved during initialisation. | |
| bool | m_skipValidatePEBInfo {false} |
| If true, don't call validatePEBInfo. | |
| std::atomic_bool | m_emptyPEBInfoErrorPrinted {false} |
| Flag if empty PEB list error was already printed. | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Tool to create the HLTResultMT at the end of each event.
Definition at line 29 of file HLTResultMTMaker.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| HLTResultMTMaker::HLTResultMTMaker | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Standard constructor.
Definition at line 58 of file HLTResultMTMaker.cxx.
|
overridevirtualdefault |
Standard destructor.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
| StatusCode HLTResultMTMaker::fillResult | ( | HLT::HLTResultMT & | hltResult, |
| const EventContext & | eventContext ) const |
Fill an existing HLTResultMT with event information.
Definition at line 150 of file HLTResultMTMaker.cxx.
|
overridevirtual |
Definition at line 131 of file HLTResultMTMaker.cxx.
|
overridevirtual |
Definition at line 64 of file HLTResultMTMaker.cxx.
|
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.
| StatusCode HLTResultMTMaker::makeResult | ( | const EventContext & | eventContext | ) | const |
Create and fill a new HLTResultMT, and record it in the event store.
Definition at line 139 of file HLTResultMTMaker.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inline |
|
overridevirtual |
Definition at line 80 of file HLTResultMTMaker.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Check ExtraROBs and ExtraSubDets against the detector mask and drop the masked out IDs.
Definition at line 255 of file HLTResultMTMaker.cxx.
|
private |
Check ROB and SubDet lists in StreamTags and remove those which are disabled.
Definition at line 194 of file HLTResultMTMaker.cxx.
|
private |
StoreGate key for the ByteStreamMetadata container to retrieve detector mask.
Definition at line 67 of file HLTResultMTMaker.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
mutableprivate |
Flag if empty PEB list error was already printed.
Definition at line 120 of file HLTResultMTMaker.h.
|
private |
List of enabled ROBs retrieved during initialisation.
Definition at line 114 of file HLTResultMTMaker.h.
|
private |
List of enabled SubDets retrieved during initialisation.
Definition at line 116 of file HLTResultMTMaker.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Extra enabled ROBs.
Definition at line 92 of file HLTResultMTMaker.h.
|
private |
Extra enabled SubDets.
Definition at line 102 of file HLTResultMTMaker.h.
|
private |
Extra enabled ROBs checked against detector mask.
Definition at line 97 of file HLTResultMTMaker.h.
|
private |
Extra enabled SubDets checked against detector mask.
Definition at line 107 of file HLTResultMTMaker.h.
|
private |
StoreGate key for the HLTResultMT.
Definition at line 58 of file HLTResultMTMaker.h.
|
private |
Handle to JobOptionsSvc used to retrieve the DataFlowConfig property.
Definition at line 87 of file HLTResultMTMaker.h.
|
private |
Tools filling the HLTResultMT object.
Definition at line 77 of file HLTResultMTMaker.h.
|
private |
Monitoring tool.
Definition at line 82 of file HLTResultMTMaker.h.
|
private |
StoreGate key for HLT Runtime Metadata container.
Definition at line 63 of file HLTResultMTMaker.h.
|
private |
|
private |
Tool creating stream tags (defines if event is accepted)
Definition at line 72 of file HLTResultMTMaker.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.