ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Trig::TrigDecisionTool Class Reference

#include <TrigDecisionTool.h>

Inheritance diagram for Trig::TrigDecisionTool:
Collaboration diagram for Trig::TrigDecisionTool:

Public Member Functions

 TrigDecisionTool (const std::string &name)
 
StatusCode initialize ()
 
StatusCode beginEvent ()
 Function called when a new events is loaded. More...
 
StatusCode beginInputFile ()
 Function called when a new input file is opened. More...
 
StatusCode finalize ()
 
virtual void handle (const Incident &inc)
 Function receiving incidents from IncidentSvc/TEvent. More...
 
virtual bool isPassed (const std::string &chain, unsigned int condition) const
 true if given chain passed More...
 
virtual bool isPassed (const std::string &chain) const
 Implementation of the ITrigDecisionTool function. More...
 
virtual unsigned int isPassedBits (const std::string &chain) const
 Implementation of the ITrigDecisionTool function. More...
 
const std::string & getNavigationFormat () const
 Note: Temporary. More...
 
bool msgLvl (const MSG::Level lvl) const
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
virtual StatusCode sysInitialize ()
 Function initialising the tool in the correct way in Athena. More...
 
virtual void print () const
 Print the state of the tool. More...
 
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 MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 
const Trig::ExpertMethodsExperimentalAndExpertMethods () const
 
const Trig::ChainGroupgetChainGroup (const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const
 Create/get chain group (. More...
 
const Trig::ChainGroupgetChainGroup (const std::string &pattern, TrigDefs::Group props=TrigDefs::Group::Default) const
 Create/get chain group (. More...
 
const Trig::ChainGroupgetChainGroup (const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const
 Create/get chain group (. More...
 
const Trig::ChainGroupgetChainGroup (const std::string &pattern, TrigDefs::Group props=TrigDefs::Group::Default) const
 Create/get chain group (. More...
 
std::vector< std::string > getListOfTriggers (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::string > getListOfTriggers (const std::string &triggerNames=".*") const
 
std::vector< std::string > getListOfTriggers (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::string > getListOfTriggers (const std::string &triggerNames=".*") const
 
std::vector< std::string > getListOfStreams (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::string > getListOfStreams (const std::string &triggerNames=".*") const
 
std::vector< std::string > getListOfStreams (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::string > getListOfStreams (const std::string &triggerNames=".*") const
 
std::vector< std::string > getListOfGroups (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::string > getListOfGroups (const std::string &triggerNames=".*") const
 
std::vector< std::string > getListOfGroups (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::string > getListOfGroups (const std::string &triggerNames=".*") const
 
std::vector< std::vector< std::string > > getListOfTriggerElements (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::vector< std::string > > getListOfTriggerElements (const std::string &triggerNames=".*") const
 
std::vector< std::vector< std::string > > getListOfTriggerElements (const Trig::ChainGroup *chaingroup) const
 
std::vector< std::vector< std::string > > getListOfTriggerElements (const std::string &triggerNames=".*") const
 
float getPrescale (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
 
float getPrescale (const std::string &triggerNames="EF._*", unsigned int condition=TrigDefs::Physics) const
 
float getPrescale (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
 
float getPrescale (const std::string &triggerNames="EF._*", unsigned int condition=TrigDefs::Physics) const
 
bool isPassed (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
 true if given group of chains passed More...
 
bool isPassed (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
 true if given group of chains passed More...
 
unsigned int isPassedBits (const Trig::ChainGroup *chaingroup) const
 Return expert-level information about the various trigger flags as a bit mask. More...
 
unsigned int isPassedBits (const Trig::ChainGroup *chaingroup) const
 Return expert-level information about the various trigger flags as a bit mask. More...
 
FeatureContainer features (const Trig::ChainGroup *group, unsigned int condition=TrigDefs::Physics) const
 Runs 1, 2. More...
 
FeatureContainer features (const std::string &chainName="EF_.*", unsigned int condition=TrigDefs::Physics) const
 Runs 1, 2. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::FeatureRequestDescriptor &featureRequest) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::ChainGroup *group, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const std::string &chainGroupName, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
FeatureContainer features (const Trig::ChainGroup *group, unsigned int condition=TrigDefs::Physics) const
 Runs 1, 2. More...
 
FeatureContainer features (const std::string &chainName="EF_.*", unsigned int condition=TrigDefs::Physics) const
 Runs 1, 2. More...
 
template<class T >
Feature< T > ancestor (const HLT::TriggerElement *te, std::string label="") const
 gives back feature matching (by seeding relation) More...
 
template<class T >
Feature< T > ancestor (const HLT::TriggerElement *te, std::string label="") const
 gives back feature matching (by seeding relation) More...
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 
std::vector< bool > isPassedForEach (const Trig::ChainGroup *chainGroup, unsigned int condition=TrigDefs::Physics) const
 return decision for each chain in group More...
 
std::vector< bool > isPassedForEach (const std::string &chain, unsigned int condition=TrigDefs::Physics) const
 return decision for each chain defined by given pattern More...
 
std::vector< unsigned int > isPassedBitsForEach (const Trig::ChainGroup *chaingroup) const
 Return the result of isPassedBits for each chain in the group. More...
 
std::vector< unsigned int > isPassedBitsForEach (const std::string &chain) const
 
char getBGCode () const
 get the bunch group code bit X=1: BG X fired (X=0..7) use: bool BGXfired = BGCode & (0x1<<X) More...
 
template<class T >
std::vector< Trig::Feature< T > > ancestors (const HLT::TriggerElement *te, std::string label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
 gives back features matching (by seeding relation) - will also flatten containers if necessary More...
 
Run 3 functions
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::FeatureRequestDescriptor &featureRequest) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::ChainGroup *group, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const std::string &chainGroupName, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER , class FEATURE_CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const TrigCompositeUtils::LinkInfo< FEATURE_CONTAINER > linkInfo, const std::string &roiName=TrigCompositeUtils::roiString()) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const TrigCompositeUtils::Decision *decisionObject, const std::string &roiName=TrigCompositeUtils::roiString()) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const ElementLink< TrigRoiDescriptorCollection > &matchROI) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const uint32_t matchIndex, const uint32_t matchKey=0, const bool isFullscan=false) const
 Runs 3+. More...
 
Run 3 functions
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::FeatureRequestDescriptor &featureRequest) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::ChainGroup *group, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const std::string &chainGroupName, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER , class FEATURE_CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const TrigCompositeUtils::LinkInfo< FEATURE_CONTAINER > linkInfo, const std::string &roiName=TrigCompositeUtils::roiString()) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const TrigCompositeUtils::Decision *decisionObject, const std::string &roiName=TrigCompositeUtils::roiString()) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const ElementLink< TrigRoiDescriptorCollection > &matchROI) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const uint32_t matchIndex, const uint32_t matchKey=0, const bool isFullscan=false) const
 Runs 3+. More...
 
Run 3 functions
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::FeatureRequestDescriptor &featureRequest) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const Trig::ChainGroup *group, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features (const std::string &chainGroupName, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const
 Runs 3+. More...
 
template<class CONTAINER , class FEATURE_CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const TrigCompositeUtils::LinkInfo< FEATURE_CONTAINER > linkInfo, const std::string &roiName=TrigCompositeUtils::roiString()) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const TrigCompositeUtils::Decision *decisionObject, const std::string &roiName=TrigCompositeUtils::roiString()) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const ElementLink< TrigRoiDescriptorCollection > &matchROI) const
 Runs 3+. More...
 
template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > associateToEventView (typename SG::ReadHandle< CONTAINER > &inViewContainer, const uint32_t matchIndex, const uint32_t matchKey=0, const bool isFullscan=false) const
 Runs 3+. More...
 

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...
 
virtual Trig::CacheGlobalMemorycgm ()
 
virtual const Trig::CacheGlobalMemorycgm () const
 
void ChainGroupInitialize ()
 
void configurationUpdate (const TrigConf::HLTChainList *confChains, const TrigConf::CTPConfig *confItems)
 

Protected Attributes

HLT::TrigNavStructurem_navigation = nullptr
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

std::vector< uint32_t > * getKeys ()
 
void setForceConfigUpdate (bool b, bool forceForAllSlots=false)
 
bool getForceConfigUpdate ()
 
TrigDecisionTooloperator= (const TrigDecisionTool &)
 
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

SG::SlotSpecificObj< std::vector< uint32_t > > m_configKeysCache
 cache for config keys. More...
 
SG::SlotSpecificObj< std::atomic< bool > > m_forceConfigUpdate
 Cache for registering new input files. More...
 
PublicToolHandle< TrigConf::ITrigConfigToolm_configTool {this, "ConfigTool", ""}
 
ServiceHandle< TrigConf::ITrigConfigSvcm_configSvc {this, "TrigConfigSvc", "TrigConf::xAODConfigSvc/xAODConfigSvc"}
 trigger configuration service handle More...
 
Gaudi::Property< bool > m_useOldEventInfoDecisionFormat
 
SG::ReadHandleKey< EventInfom_oldEventInfoKey
 
SG::ReadHandleKey< TrigDec::TrigDecisionm_oldDecisionKey
 
ToolHandle< HLT::Navigationm_fullNavigation {this, "Navigation", "HLT::Navigation/Navigation"}
 
Gaudi::Property< bool > m_useOldAODDecisionInput
 
HLT::StandaloneNavigation m_standaloneNavigation
 
Gaudi::Property< bool > m_acceptMultipleInstance
 
SG::ReadHandleKey< xAOD::TrigNavigationm_navigationKey
 
Gaudi::Property< std::map< std::string, std::string > > m_publicChainGroups
 
MetaStore_t m_inputMetaStore
 Object accessing the input metadata store. More...
 
MetaStore_t m_outputMetaStore
 Object accessing the output metadata store. More...
 
bool m_beginInputFileCalled
 Flag helping to discover when the tool misses the opening of the first input file. More...
 
bool m_useIncidents
 
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
 
SG::SlotSpecificObj< Trig::CacheGlobalMemorym_cacheGlobalMemory
 
Trig::ExpertMethods m_expertMethods
 
Run 3 properties
Gaudi::Property< std::string > m_navigationFormat
 Note: Temporary property. More...
 
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainerm_HLTSummaryKeyIn
 
SG::ReadHandleKey< xAOD::TrigDecisionm_decisionKey
 

Static Private Attributes

static asg::AsgTool *s_logger ATLAS_THREAD_SAFE {nullptr}
 

Detailed Description

Definition at line 61 of file TrigDecisionTool.h.

Member Typedef Documentation

◆ MetaStore_t

Type of the metadata store object in Athena.

Definition at line 66 of file AsgMetadataTool.h.

◆ MetaStorePtr_t

Type of the metadata store pointer in standalone mode.

Definition at line 68 of file AsgMetadataTool.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TrigDecisionTool()

Trig::TrigDecisionTool::TrigDecisionTool ( const std::string &  name)

Definition at line 32 of file TrigDecisionTool.cxx.

33  : Logger(this)
35 {
36 #ifdef XAOD_ANALYSIS // AthAnalysis or AnalysisBase
38 #else //full Athena env
40 #endif
41 }

Member Function Documentation

◆ ancestor() [1/2]

template<class T >
Feature<T> Trig::DecisionAccess::ancestor ( class T  )
inherited

gives back feature matching (by seeding relation)

Parameters
te- is trigger element to start with, not that thanks to conversion operators Feature object can be given here as well

◆ ancestor() [2/2]

template<class T >
Feature<T> Trig::DecisionAccess::ancestor ( const HLT::TriggerElement te,
std::string  label = "" 
) const
inherited

gives back feature matching (by seeding relation)

Parameters
te- is trigger element to start with, not that thanks to conversion operators Feature object can be given here as well

◆ ancestors()

template<class T >
std::vector<Trig::Feature<T> > Trig::DecisionAccess::ancestors ( const HLT::TriggerElement te,
std::string  label = "",
unsigned int  condition = TrigDefs::Physics,
const std::string &  teName = "" 
) const
inherited

gives back features matching (by seeding relation) - will also flatten containers if necessary

Parameters
te- is trigger element to start with, not that thanks to conversion operators Feature object can be given here as well

◆ associateToEventView() [1/4]

template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > Trig::DecisionAccess::associateToEventView ( typename SG::ReadHandle< CONTAINER > &  inViewContainer,
const ElementLink< TrigRoiDescriptorCollection > &  matchROI 
) const
inherited

Runs 3+.

Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via supplied ElementLink<TrigRoiDescriptorCollection>.

Parameters
[in]inViewContainerThe ReadHandle of the collection which was produced online inside an EventView.
[in]roiTrigRoiDescriptor used to seed the desired EventView.
Returns
Pair of iterators spanning a range of indices over the collection accessed through the ReadHandleKey

◆ associateToEventView() [2/4]

template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > Trig::DecisionAccess::associateToEventView ( typename SG::ReadHandle< CONTAINER > &  inViewContainer,
const TrigCompositeUtils::Decision decisionObject,
const std::string &  roiName = TrigCompositeUtils::roiString() 
) const
inherited

Runs 3+.

Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via an ElementLink<TrigRoiDescriptorCollection> obtained from the supplied Decision object pointer

Parameters
[in]inViewContainerThe ReadHandle of the collection which was produced online inside an EventView.
[in]decisionObjectDecision node from which a TrigRoiDescriptor can be located.
[in]roiNameName of the TrigRoiDescriptor inside the Navigation.
Returns
Pair of iterators spanning a range of indices over the collection accessed through the ReadHandleKey

◆ associateToEventView() [3/4]

template<class CONTAINER , class FEATURE_CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > Trig::DecisionAccess::associateToEventView ( typename SG::ReadHandle< CONTAINER > &  inViewContainer,
const TrigCompositeUtils::LinkInfo< FEATURE_CONTAINER >  linkInfo,
const std::string &  roiName = TrigCompositeUtils::roiString() 
) const
inherited

Runs 3+.

Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via an ElementLink<TrigRoiDescriptorCollection> obtained from the supplied LinkInfo

Parameters
[in]inViewContainerThe ReadHandle of the collection which was produced online inside an EventView.
[in]linkInfoLinkInfo from which a TrigRoiDescriptor can be located.
[in]roiNameName of the TrigRoiDescriptor inside the Navigation.
Returns
Pair of iterators spanning a range of indices over the collection accessed through the ReadHandleKey

◆ associateToEventView() [4/4]

template<class CONTAINER >
std::pair< typename CONTAINER::const_iterator, typename CONTAINER::const_iterator > Trig::DecisionAccess::associateToEventView ( typename SG::ReadHandle< CONTAINER > &  inViewContainer,
const uint32_t  matchIndex,
const uint32_t  matchKey = 0,
const bool  isFullscan = false 
) const
inherited

Runs 3+.

Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via matchIndex and optional matchKey (leave matchKey = 0 to not cut on this).

Parameters
[in]inViewContainerThe ReadHandle of the collection which was produced online inside an EventView.
[in]matchIndexThe index of the desired EventView.
[in]matchKeyOptional. SGKey of the index of the desired EventView (collection hosting the ROI used to span the Event View)
[in]isFullscanOptional. If true, and inViewContainer has no viewIndex decorations, then return iterators over the full span of the inViewContainer instead of throwing an exception. This allows the associateToEventView interface to be used also for non-EventView containers, with the FS ROI used to indicate that the lack of decorations is expected rather than being indicative of a configuration problem.
Returns
Pair of iterators spanning a range of indices over the collection accessed through the ReadHandleKey

◆ beginEvent()

StatusCode Trig::TrigDecisionTool::beginEvent ( )
virtual

Function called when a new events is loaded.

Dummy implementation that can be overridden by the derived tool.

Reimplemented from asg::AsgMetadataTool.

Definition at line 163 of file TrigDecisionTool.cxx.

163  {
164 
165  CacheGlobalMemory* cgmPtr = cgm();
166  cgmPtr->setDecisionKeyPtr( &m_decisionKey );
167  cgmPtr->setRun2NavigationKeyPtr( &m_navigationKey );
168  cgmPtr->setRun3NavigationKeyPtr( &m_HLTSummaryKeyIn );
169 
170  size_t slot = 0;
171 #ifndef XAOD_STANDALONE // AthAnalysis or full Athena
172  cgmPtr->setStore(&*evtStore()); // Can change based on event slot
173  slot = Gaudi::Hive::currentContext().slot();
174 #ifndef XAOD_ANALYSIS // Full Athena only
175  cgmPtr->setOldDecisionKeyPtr( &m_oldDecisionKey );
176  cgmPtr->setOldEventInfoKeyPtr( &m_oldEventInfoKey );
177 #endif // End Full Athena only
178 #endif // End AthAnalysis or Full Athena
179 
180  // inform the CGM that we are on a new event
181  ATH_MSG_VERBOSE("beginEvent: invalidating CacheGlobalMemory");
182  cgmPtr->reset_decision();
183  TrigConf::IIHLTConfigSvc *iHLTConfig{nullptr};
184  TrigConf::IILVL1ConfigSvc *iL1Config{nullptr};
185 #ifndef XAOD_STANDALONE
186  if (!m_configSvc.empty())
187  {
188  iHLTConfig = m_configSvc.get();
189  iL1Config = m_configSvc.get();
190  }
191  else
192 #endif
193  {
194  iHLTConfig = m_configTool.operator->();
195  iL1Config = m_configTool.operator->();
196  }
197 
198  ATH_MSG_DEBUG("beginEvent: check if config update is necessary");
199  std::vector<uint32_t> newKeys = {
200  iHLTConfig->masterKey(),
201  iL1Config->lvl1PrescaleKey(),
202  iHLTConfig->hltPrescaleKey(),
203  iL1Config->bunchGroupSetKey()
204  };
205  if (*getKeys() != newKeys or getForceConfigUpdate())
206  {
207  ATH_MSG_INFO("Updating config in slot " << slot
208  << " with SMK: " << newKeys[0]
209  << " and L1PSK: " << newKeys[1]
210  << " and HLTPSK: " << newKeys[2]
211  << " and BGSK: " << newKeys[3]
212  << " getForceConfigUpdate()=" << getForceConfigUpdate()
213  << " HLT Chains: " << iHLTConfig->chains().size());
214  *getKeys() = newKeys;
215  configurationUpdate( &iHLTConfig->chains(), iL1Config->ctpConfig() );
216  setForceConfigUpdate(false);
217  }
218  else
219  ATH_MSG_DEBUG("Cached trigger configuration keys match for this event in slot " << slot);
220 
221  return StatusCode::SUCCESS;
222 }

◆ beginInputFile()

StatusCode Trig::TrigDecisionTool::beginInputFile ( )
virtual

Function called when a new input file is opened.

Dummy implementation that can be overridden by the derived tool.

Reimplemented from asg::AsgMetadataTool.

Definition at line 224 of file TrigDecisionTool.cxx.

224  {
225  // We need to update the cached configuration when switching to a new input
226  // file:
227  //have to do this at the next beginEvent, because the event info isn't ready at this point (e.g. if the file has no events!)
228  ATH_MSG_VERBOSE("Trig::TrigDecisionTool::beginInputFile: setForceConfigUpdate(true, forceForAllSlots=true)");
229  setForceConfigUpdate(true, /*forceForAllSlots=*/ true);
230  return StatusCode::SUCCESS;
231 }

◆ cgm() [1/2]

Trig::CacheGlobalMemory * Trig::TrigDecisionToolCore::cgm ( )
protectedvirtualinherited

Implements Trig::ChainGroupFunctions.

Definition at line 30 of file TrigDecisionToolCore.cxx.

30  {
32  // A consequence of placing the cache in a slot-specific wrapper
33  ptr->navigation (m_navigation);
34  return ptr;
35 }

◆ cgm() [2/2]

const Trig::CacheGlobalMemory * Trig::TrigDecisionToolCore::cgm ( ) const
protectedvirtualinherited

Implements Trig::ChainGroupFunctions.

Definition at line 37 of file TrigDecisionToolCore.cxx.

37  {
39  // A consequence of placing the cache in a slot-specific wrapper
42  p->navigation (navigation);
43  return ptr;
44 }

◆ ChainGroupInitialize()

void Trig::ChainGroupFunctions::ChainGroupInitialize ( )
protectedinherited

Definition at line 25 of file ChainGroupFunctions.cxx.

25  {
26  // all triggers
27  getChainGroup(".*");
28  // all L1 triggers
29  getChainGroup("L1_.*");
30  // all L2 triggers
31  getChainGroup("L2_.*");
32  // all EF triggers
33  getChainGroup("EF_.*");
34  // all merged L2EF triggers
35  getChainGroup("HLT_.*");
36 }

◆ configurationUpdate()

void Trig::ConfigurationAccess::configurationUpdate ( const TrigConf::HLTChainList confChains,
const TrigConf::CTPConfig confItems 
)
protectedinherited

Definition at line 26 of file ConfigurationAccess.cxx.

27  {
28  // this is the update method which is called whenever a lower level element has changed
29  // or needs to be changed
30  cgm()->update(confChains, ctp);
31 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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; }

◆ endInputFile()

StatusCode asg::AsgMetadataTool::endInputFile ( )
protectedvirtualinherited

Function called when the currently open input file got completely processed.

Dummy implementation that can be overridden by the derived tool.

Reimplemented in BookkeeperTool, xAODMaker::FileMetaDataTool, BookkeeperDumperTool, xAODMaker::TriggerMenuMetaDataTool, and xAODMaker::TruthMetaDataTool.

Definition at line 188 of file AsgMetadataTool.cxx.

188  {
189 
190  // Return gracefully:
191  return StatusCode::SUCCESS;
192  }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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; }

◆ ExperimentalAndExpertMethods()

const Trig::ExpertMethods& Trig::TrigDecisionToolCore::ExperimentalAndExpertMethods ( ) const
inlineinherited

Definition at line 87 of file TrigDecisionToolCore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ features() [1/10]

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features ( class CONTAINER  )
inherited

Runs 3+.

Returns features related to given chain

Parameters
[in]groupChain group to return features for.
[in]conditionCondition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported.
[in]containerSGKeyOptional requirement to return only features within the specified container name. Not checked if not specified.
[in]featureCollectionModeFor lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found.
[in]navElementLinkKeyOptional name of element link as saved online. The "feature" link is enforced, others may have been added.
[in]restrictToLegIndexOptional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs.
Returns
Vector of LinkInfo, where each entry wraps an ElementLink to the feature, and the Decision object it came from.

◆ features() [2/10]

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features ( const std::string &  chainGroupName,
const unsigned int  condition = TrigDefs::Physics,
const std::string &  containerSGKey = "",
const unsigned int  featureCollectionMode = TrigDefs::lastFeatureOfType,
const std::string &  navElementLinkKey = TrigCompositeUtils::featureString(),
const int  restrictToLegIndex = -1 
) const
inherited

Runs 3+.

Returns features related to given chain

Parameters
[in]groupChain group to return features for.
[in]conditionCondition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported.
[in]containerSGKeyOptional requirement to return only features within the specified container name. Not checked if not specified.
[in]featureCollectionModeFor lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found.
[in]navElementLinkKeyOptional name of element link as saved online. The "feature" link is enforced, others may have been added.
[in]restrictToLegIndexOptional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs.
Returns
Vector of LinkInfo, where each entry wraps an ElementLink to the feature, and the Decision object it came from.

◆ features() [3/10]

Trig::FeatureContainer Trig::DecisionAccess::features
inherited

Runs 1, 2.

Returns features related to given chain

Definition at line 135 of file DecisionAccess.cxx.

97  {
99  return features(g,condition);
100 }

◆ features() [4/10]

Trig::FeatureContainer Trig::DecisionAccess::features ( const std::string &  chainName = "EF_.*",
unsigned int  condition = TrigDefs::Physics 
) const
inherited

Runs 1, 2.

Returns features related to given chain

Definition at line 97 of file DecisionAccess.cxx.

97  {
99  return features(g,condition);
100 }

◆ features() [5/10]

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features ( class CONTAINER  )
inherited

Runs 3+.

Returns all features related to given chain group

Parameters
[in]groupChain group to return features for.
[in]conditionCondition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported.
[in]containerSGKeyOptional requirement to return only features within the specified container name. Not checked if not specified.
[in]featureCollectionModeFor lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found.
[in]navElementLinkKeyOptional name of element link as saved online. The "feature" link is enforced, others may have been added.
[in]restrictToLegIndexOptional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs.
Returns
Vector of LinkInfo, where each entry wraps an ElementLink to the feature, and the Decision object it came from.

◆ features() [6/10]

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features ( const Trig::ChainGroup group,
const unsigned int  condition = TrigDefs::Physics,
const std::string &  containerSGKey = "",
const unsigned int  featureCollectionMode = TrigDefs::lastFeatureOfType,
const std::string &  navElementLinkKey = TrigCompositeUtils::featureString(),
const int  restrictToLegIndex = -1 
) const
inherited

Runs 3+.

Returns all features related to given chain group

Parameters
[in]groupChain group to return features for.
[in]conditionCondition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported.
[in]containerSGKeyOptional requirement to return only features within the specified container name. Not checked if not specified.
[in]featureCollectionModeFor lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found.
[in]navElementLinkKeyOptional name of element link as saved online. The "feature" link is enforced, others may have been added.
[in]restrictToLegIndexOptional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs.
Returns
Vector of LinkInfo, where each entry wraps an ElementLink to the feature, and the Decision object it came from.

◆ features() [7/10]

Trig::FeatureContainer Trig::DecisionAccess::features
inherited

Runs 1, 2.

Returns all features related to given chain group

Definition at line 129 of file DecisionAccess.cxx.

92  {
93  return chain->features(condition);
94 }

◆ features() [8/10]

Trig::FeatureContainer Trig::DecisionAccess::features ( const Trig::ChainGroup group,
unsigned int  condition = TrigDefs::Physics 
) const
inherited

Runs 1, 2.

Returns all features related to given chain group

Definition at line 92 of file DecisionAccess.cxx.

92  {
93  return chain->features(condition);
94 }

◆ features() [9/10]

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features ( class CONTAINER  )
inherited

Runs 3+.

Returns all features related to given chain group

Parameters
[in]featureRequestHelper object which encapsulates all configurable options of a request for features from the TDT
Returns
Vector of LinkInfo, where each entry wraps an ElementLink to the feature, and the Decision object it came from.

◆ features() [10/10]

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features ( const Trig::FeatureRequestDescriptor featureRequest) const
inherited

Runs 3+.

Returns all features related to given chain group

Parameters
[in]featureRequestHelper object which encapsulates all configurable options of a request for features from the TDT
Returns
Vector of LinkInfo, where each entry wraps an ElementLink to the feature, and the Decision object it came from.

◆ finalize()

StatusCode Trig::TrigDecisionTool::finalize ( )
virtual

Reimplemented from Trig::TrigDecisionToolCore.

Definition at line 234 of file TrigDecisionTool.cxx.

234  {
235  // release all chaingroups
236  m_navigation->reset(true);
237 
238  --s_instances;
239 
240  ATH_MSG_INFO("Finalized");
241  return StatusCode::SUCCESS;
242 }

◆ getBGCode()

char Trig::DecisionAccess::getBGCode ( ) const
inherited

get the bunch group code bit X=1: BG X fired (X=0..7) use: bool BGXfired = BGCode & (0x1<<X)

Definition at line 103 of file DecisionAccess.cxx.

103  {
104  if( ! cgm()->assert_decision() ) {
105  ATH_MSG_ERROR("Something went wrong in decoding the trigger decision");
106  return 0;
107  }
108  return cgm()->m_bgCode;
109 }

◆ getChainGroup() [1/4]

const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup ( const std::string &  pattern,
TrigDefs::Group  props = TrigDefs::Group::Default 
) const
inherited

Create/get chain group (.

See also
CacheGlobalMemory)

Definition at line 43 of file ChainGroupFunctions.cxx.

44  {
45  return getChainGroup(Trig::convertStringToVector(triggerNames), props);
46 }

◆ getChainGroup() [2/4]

const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup
inherited

Create/get chain group (.

See also
CacheGlobalMemory)

Definition at line 52 of file ChainGroupFunctions.cxx.

44  {
45  return getChainGroup(Trig::convertStringToVector(triggerNames), props);
46 }

◆ getChainGroup() [3/4]

const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup ( const std::vector< std::string > &  patterns,
TrigDefs::Group  props = TrigDefs::Group::Default 
) const
inherited

Create/get chain group (.

See also
CacheGlobalMemory)

Definition at line 38 of file ChainGroupFunctions.cxx.

39  {
40  return cgm()->getChainGroup (triggerNames, props);
41 }

◆ getChainGroup() [4/4]

const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup
inherited

Create/get chain group (.

See also
CacheGlobalMemory)

Definition at line 48 of file ChainGroupFunctions.cxx.

39  {
40  return cgm()->getChainGroup (triggerNames, props);
41 }

◆ getForceConfigUpdate()

bool Trig::TrigDecisionTool::getForceConfigUpdate ( )
private

Definition at line 157 of file TrigDecisionTool.cxx.

157  {
158  std::atomic<bool>* ab = m_forceConfigUpdate.get();
159  return *ab;
160 }

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void *  ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119  {
120 
121 #ifdef XAOD_STANDALONE
122  // In case we use @c xAOD::TEvent, we have a direct function call
123  // for this.
124  return evtStore()->event()->getKey( ptr );
125 #else
126  const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127  return ( proxy == nullptr ? 0 : proxy->sgkey() );
128 #endif // XAOD_STANDALONE
129  }

◆ getKeys()

std::vector< uint32_t > * Trig::TrigDecisionTool::getKeys ( )
private

Definition at line 139 of file TrigDecisionTool.cxx.

139  {
140  return m_configKeysCache.get();
141 }

◆ getListOfGroups() [1/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfGroups ( const std::string &  triggerNames = ".*") const
inherited

Definition at line 67 of file ConfigurationAccess.cxx.

67  {
69  return getListOfGroups(g);
70 }

◆ getListOfGroups() [2/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfGroups
inherited

Definition at line 57 of file ConfigurationAccess.cxx.

67  {
69  return getListOfGroups(g);
70 }

◆ getListOfGroups() [3/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfGroups ( const Trig::ChainGroup chaingroup) const
inherited

Definition at line 63 of file ConfigurationAccess.cxx.

63  {
64  return chaingroup->getListOfGroups();
65 }

◆ getListOfGroups() [4/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfGroups
inherited

Definition at line 56 of file ConfigurationAccess.cxx.

63  {
64  return chaingroup->getListOfGroups();
65 }

◆ getListOfStreams() [1/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfStreams ( const std::string &  triggerNames = ".*") const
inherited

Definition at line 54 of file ConfigurationAccess.cxx.

54  {
56  return getListOfStreams(g);
57 }

◆ getListOfStreams() [2/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfStreams
inherited

Definition at line 54 of file ConfigurationAccess.cxx.

54  {
56  return getListOfStreams(g);
57 }

◆ getListOfStreams() [3/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfStreams ( const Trig::ChainGroup chaingroup) const
inherited

Definition at line 50 of file ConfigurationAccess.cxx.

50  {
51  return chaingroup->getListOfStreams();
52 }

◆ getListOfStreams() [4/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfStreams
inherited

Definition at line 53 of file ConfigurationAccess.cxx.

50  {
51  return chaingroup->getListOfStreams();
52 }

◆ getListOfTriggerElements() [1/4]

std::vector< std::vector< std::string > > Trig::ConfigurationAccess::getListOfTriggerElements ( const std::string &  triggerNames = ".*") const
inherited

Definition at line 80 of file ConfigurationAccess.cxx.

80  {
83 }

◆ getListOfTriggerElements() [2/4]

std::vector< std::vector< std::string > > Trig::ConfigurationAccess::getListOfTriggerElements
inherited

Definition at line 60 of file ConfigurationAccess.cxx.

80  {
83 }

◆ getListOfTriggerElements() [3/4]

std::vector< std::vector< std::string > > Trig::ConfigurationAccess::getListOfTriggerElements ( const Trig::ChainGroup chaingroup) const
inherited

Definition at line 76 of file ConfigurationAccess.cxx.

76  {
77  return chaingroup->getListOfTriggerElements();
78 }

◆ getListOfTriggerElements() [4/4]

std::vector< std::vector< std::string > > Trig::ConfigurationAccess::getListOfTriggerElements
inherited

Definition at line 59 of file ConfigurationAccess.cxx.

76  {
77  return chaingroup->getListOfTriggerElements();
78 }

◆ getListOfTriggers() [1/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfTriggers ( const std::string &  triggerNames = ".*") const
inherited

Definition at line 41 of file ConfigurationAccess.cxx.

41  {
43  return getListOfTriggers(g);
44 }

◆ getListOfTriggers() [2/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfTriggers
inherited

Definition at line 51 of file ConfigurationAccess.cxx.

41  {
43  return getListOfTriggers(g);
44 }

◆ getListOfTriggers() [3/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfTriggers ( const Trig::ChainGroup chaingroup) const
inherited

Definition at line 37 of file ConfigurationAccess.cxx.

37  {
38  return chaingroup->getListOfTriggers();
39 }

◆ getListOfTriggers() [4/4]

std::vector< std::string > Trig::ConfigurationAccess::getListOfTriggers
inherited

Definition at line 50 of file ConfigurationAccess.cxx.

37  {
38  return chaingroup->getListOfTriggers();
39 }

◆ getName()

const std::string & asg::AsgTool::getName ( const void *  ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106  {
107 
108 #ifdef XAOD_STANDALONE
109  // In case we use @c xAOD::TEvent, we have a direct function call
110  // for this.
111  return evtStore()->event()->getName( ptr );
112 #else
113  const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114  static const std::string dummy = "";
115  return ( proxy == nullptr ? dummy : proxy->name() );
116 #endif // XAOD_STANDALONE
117  }

◆ getNavigationFormat()

const std::string & Trig::TrigDecisionTool::getNavigationFormat ( ) const

Note: Temporary.

Definition at line 287 of file TrigDecisionTool.cxx.

287  {
288  return m_navigationFormat;
289 }

◆ getPrescale() [1/4]

float Trig::ConfigurationAccess::getPrescale ( const std::string &  triggerNames = "EF._*",
unsigned int  condition = TrigDefs::Physics 
) const
inherited

Definition at line 94 of file ConfigurationAccess.cxx.

◆ getPrescale() [2/4]

float Trig::ConfigurationAccess::getPrescale
inherited

Definition at line 63 of file ConfigurationAccess.cxx.

◆ getPrescale() [3/4]

float Trig::ConfigurationAccess::getPrescale ( const Trig::ChainGroup chaingroup,
unsigned int  condition = TrigDefs::Physics 
) const
inherited

Definition at line 88 of file ConfigurationAccess.cxx.

90 {
91  return chainGroup->getPrescale(condition);
92 }

◆ getPrescale() [4/4]

float Trig::ConfigurationAccess::getPrescale
inherited

Definition at line 62 of file ConfigurationAccess.cxx.

90 {
91  return chainGroup->getPrescale(condition);
92 }

◆ getProperty()

template<class T >
const T* asg::AsgTool::getProperty ( const std::string &  name) const
inherited

Get one of the tool's properties.

◆ handle()

void Trig::TrigDecisionTool::handle ( const Incident &  inc)
virtual

Function receiving incidents from IncidentSvc/TEvent.

Reimplemented from asg::AsgMetadataTool.

Definition at line 246 of file TrigDecisionTool.cxx.

246  {
247  // an update configuration incident triggers the update of the configuration
248  ATH_MSG_DEBUG("got incident type:" << inc.type() << " source: " << inc.source() );
249 
250  if (inc.type() == IncidentType::BeginEvent) {
251  ATH_MSG_VERBOSE("Obtained IncidentType::BeginEvent via Trig::TrigDecisionTool::handle");
252  if (beginEvent().isFailure()) {
253  throw std::runtime_error("In Trig::TrigDecisionTool::handle beginEvent() returned StatusCode::FAILURE");
254  }
255  }
256  else if (inc.type() == IncidentType::BeginInputFile) {
257  ATH_MSG_VERBOSE("Obtained IncidentType::BeginInputFile via Trig::TrigDecisionTool::handle");
258  if (beginInputFile().isFailure()) {
259  throw std::runtime_error("In Trig::TrigDecisionTool::handle beginInputFile() returned StatusCode::FAILURE");
260  }
261  }
262  else {
263  //call the parent handle
264  AsgMetadataTool::handle(inc);
265  }
266 }

◆ initialize()

StatusCode Trig::TrigDecisionTool::initialize ( )
virtual

Reimplemented from Trig::TrigDecisionToolCore.

Definition at line 45 of file TrigDecisionTool.cxx.

45  {
47 
48  if (m_navigationFormat != "TriggerElement" && m_navigationFormat != "TrigComposite") {
49  ATH_MSG_ERROR("NavigationFormat property must be one of 'TriggerElement' for Run 1, 2 triggered input or 'TrigComposite' for Run 3+ triggered input");
50  return StatusCode::FAILURE;
51  }
52 
53 
54 #ifndef XAOD_ANALYSIS // Full Athena only
55  ATH_CHECK(m_oldDecisionKey.initialize( m_useOldAODDecisionInput ) ); // Read TrigDec::TrigDecision
57 #endif
58 
59  ATH_CHECK(m_HLTSummaryKeyIn.initialize(m_navigationFormat == "TrigComposite"));
60  ATH_CHECK(m_navigationKey.initialize(m_navigationFormat == "TriggerElement"));
61  ATH_CHECK(m_decisionKey.initialize( !m_useOldAODDecisionInput )); // Read xAOD::TrigDecision. Mutually exclusive with reading TrigDec::TrigDecision
62 
63  ++s_instances;
64  if ( s_instances > 1) {
65  ATH_MSG_WARNING("Multiple TrigDecisionTool instances created. "
66  "This is not efficent from performance perspective. "
67  "Access of the same EDM objects will give warnings." );
69  ATH_MSG_ERROR("Will not accept multiple instances. "
70  "Set 'AcceptMultipleInstance' to overwrite this behavior.");
71  return StatusCode::FAILURE;
72  }
73  }
74 
75  ATH_MSG_INFO("Initializing Trig::TrigDecisionTool (standalone version even for athena)");
76 
77 #ifndef XAOD_STANDALONE // AthAnalysis or full Athena
78  // We setup the TrigConfigSvc interface
79  // This is the standalone xAOD ConfigSvc
80  // In Run 3 the standalone xAOD ConfigSvc is useable in both RAWtoALL jobs and from ESD, AOD.
81 
82  if(m_configSvc.empty()) {
83  ATH_MSG_DEBUG("No TrigConfigSvc provided. Using ConfigTool instead...");
84  CHECK( m_configTool.retrieve()); //use configTool if no configSvc available
85  } else {
86 
87  m_configTool.disable();
88 
89  ATH_MSG_DEBUG("Fetching " << m_configSvc.typeAndName());
90  ATH_CHECK(m_configSvc.retrieve());
91 
92  // call update if there is anything in config svc
93  if ( m_configSvc->ctpConfig() ) {
94  configurationUpdate( &m_configSvc->chains(), m_configSvc->ctpConfig() );
95  }
96  }
97 #else // AnalysisBase
98  ATH_CHECK(m_configTool.retrieve());
99 #endif
100 
101 #ifndef XAOD_ANALYSIS // Full athena only
102  if (m_navigationFormat == "TriggerElement") {
103  ATH_CHECK(m_fullNavigation.retrieve());
104  }
105 #endif
106 
108 
109  cgm()->setStore(&*evtStore()); // Cache must be updated per-event too (when running with multiple slots)
110 
111 #ifndef XAOD_STANDALONE // AthAnalysis or full Athena
112  ServiceHandle<IIncidentSvc> incSvc("IncidentSvc",name());
113  if (incSvc.retrieve().isFailure()) {
114  ATH_MSG_ERROR("Cannot retrieve IncidentSvc");
115  return StatusCode::FAILURE;
116  }
117 
118  long int pri=-1; //ensure happens *after* TrigConfxAOD tool ... use -1 priority
119  incSvc->removeListener( this, "BeginEvent"); //beginEvent is added by AsgMetadataTool already! ...DONT ADD IT AGAIN ... especially at priority 100!
120  incSvc->addListener( this, "BeginEvent", pri );
121  //do the same adjustment for the BeginInputFile incident, just to be safe
122  incSvc->removeListener( this, IncidentType::BeginInputFile );
123  incSvc->addListener( this, IncidentType::BeginInputFile, pri, true/*rethrow*/);
124 #endif
125 
126  ATH_MSG_INFO("Initialized TDT" );
127 
128  std::map<std::string, std::string>::const_iterator pIt;
129  for ( pIt = m_publicChainGroups.begin(); pIt != m_publicChainGroups.end(); ++pIt ) {
130  std::vector<std::string> patterns;
131  patterns.push_back(pIt->second);
132  cgm()->createChainGroup(patterns, pIt->first);
133  ATH_MSG_INFO("created Public Chain Group " << pIt->first << " with pattern: " << pIt->second );
134  }
135 
136  return StatusCode::SUCCESS;
137 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ inputMetaStore()

AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::inputMetaStore ( ) const
inherited

Accessor for the input metadata store.

Definition at line 88 of file AsgMetadataTool.cxx.

88  {
89 
90 #ifdef XAOD_STANDALONE
91  return &m_inputMetaStore;
92 #else // XAOD_STANDALONE
93  return m_inputMetaStore;
94 #endif // XAOD_STANDALONE
95  }

◆ isPassed() [1/4]

bool Trig::TrigDecisionTool::isPassed ( const std::string &  chain) const
virtual

Implementation of the ITrigDecisionTool function.

Implements Trig::ITrigDecisionTool.

Definition at line 276 of file TrigDecisionTool.cxx.

276  {
278 }

◆ isPassed() [2/4]

bool Trig::TrigDecisionTool::isPassed ( const std::string &  chain,
unsigned int  condition 
) const
virtual

true if given chain passed

See also
DecisionAccess::isPassed(const Trig::ChainGroup*, unsigned int)
Trig::DecisionAccess
Trig::ITrigDecisionTool

Implements Trig::ITrigDecisionTool.

Definition at line 270 of file TrigDecisionTool.cxx.

270  {
272 }

◆ isPassed() [3/4]

bool Trig::DecisionAccess::isPassed ( const Trig::ChainGroup chaingroup,
unsigned int  condition = TrigDefs::Physics 
) const
inherited

true if given group of chains passed

See also
Trig::ChainGroup
TrigDefs::Conditions

Definition at line 34 of file DecisionAccess.cxx.

36 {
37  return chainGroup->isPassed(condition);
38 }

◆ isPassed() [4/4]

bool Trig::DecisionAccess::isPassed
inherited

true if given group of chains passed

See also
Trig::ChainGroup
TrigDefs::Conditions

Definition at line 64 of file DecisionAccess.cxx.

36 {
37  return chainGroup->isPassed(condition);
38 }

◆ isPassedBits() [1/3]

unsigned int Trig::TrigDecisionTool::isPassedBits ( const std::string &  chain) const
virtual

Implementation of the ITrigDecisionTool function.

Implements Trig::ITrigDecisionTool.

Definition at line 281 of file TrigDecisionTool.cxx.

281  {
282 
284 }

◆ isPassedBits() [2/3]

unsigned int Trig::DecisionAccess::isPassedBits
inherited

Return expert-level information about the various trigger flags as a bit mask.

Note: this does not accept a conditions flag – the prescription is always enforceLogicalFlow. The mask can be comprehended using the following constants from TrigDefs:: EF_passedRaw EF_passThrough EF_prescaled EF_resurrected L2_passedRaw L2_passThrough L2_prescaled L2_resurrected L1_isPassedAfterPrescale L1_isPassedBeforePrescale L1_isPassedAfterVeto

Definition at line 109 of file DecisionAccess.cxx.

68 {
69  return chainGroup->isPassedBits();
70 }

◆ isPassedBits() [3/3]

unsigned int Trig::DecisionAccess::isPassedBits ( const Trig::ChainGroup chaingroup) const
inherited

Return expert-level information about the various trigger flags as a bit mask.

Note: this does not accept a conditions flag – the prescription is always enforceLogicalFlow. The mask can be comprehended using the following constants from TrigDefs:: EF_passedRaw EF_passThrough EF_prescaled EF_resurrected L2_passedRaw L2_passThrough L2_prescaled L2_resurrected L1_isPassedAfterPrescale L1_isPassedBeforePrescale L1_isPassedAfterVeto

Definition at line 67 of file DecisionAccess.cxx.

68 {
69  return chainGroup->isPassedBits();
70 }

◆ isPassedBitsForEach() [1/2]

std::vector< unsigned int > Trig::DecisionAccess::isPassedBitsForEach ( const std::string &  chain) const
inherited

Definition at line 85 of file DecisionAccess.cxx.

86 {
88  return g->isPassedBitsForEach();
89 }

◆ isPassedBitsForEach() [2/2]

std::vector< unsigned int > Trig::DecisionAccess::isPassedBitsForEach ( const Trig::ChainGroup chaingroup) const
inherited

Return the result of isPassedBits for each chain in the group.

Definition at line 79 of file DecisionAccess.cxx.

80 {
81  return chainGroup->isPassedBitsForEach();
82 }

◆ isPassedForEach() [1/2]

std::vector< bool > Trig::DecisionAccess::isPassedForEach ( const std::string &  chain,
unsigned int  condition = TrigDefs::Physics 
) const
inherited

return decision for each chain defined by given pattern

See also
Trig::ChainGroup
TrigDefs::Conditions

Definition at line 60 of file DecisionAccess.cxx.

62 {
64  return g->isPassedForEach(condition);
65 }

◆ isPassedForEach() [2/2]

std::vector< bool > Trig::DecisionAccess::isPassedForEach ( const Trig::ChainGroup chainGroup,
unsigned int  condition = TrigDefs::Physics 
) const
inherited

return decision for each chain in group

See also
Trig::ChainGroup
TrigDefs::Conditions

Definition at line 53 of file DecisionAccess.cxx.

55 {
56  return chainGroup->isPassedForEach(condition);
57 }

◆ metaDataStop()

StatusCode asg::AsgMetadataTool::metaDataStop ( )
protectedvirtualinherited

Function called when the tool should write out its metadata.

Dummy implementation that can be overridden by the derived tool.

Reimplemented in xAODMaker::FileMetaDataTool, BookkeeperTool, BookkeeperDumperTool, xAODMaker::TriggerMenuMetaDataTool, and xAODMaker::TruthMetaDataTool.

Definition at line 204 of file AsgMetadataTool.cxx.

204  {
205 
206  // Return gracefully:
207  return StatusCode::SUCCESS;
208  }

◆ msg() [1/5]

MsgStream& Trig::Logger::msg ( ) const
inlineinherited

Definition at line 29 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.

29  {
30  if (s_logger) return s_logger->msg();
31  else throw std::runtime_error("TrigDecisionTool Logger not initialized.");
32  }

◆ msg() [2/5]

MsgStream& Trig::Logger::msg
inline

Definition at line 29 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.

29  {
30  if (s_logger) return s_logger->msg();
31  else throw std::runtime_error("TrigDecisionTool Logger not initialized.");
32  }

◆ msg() [3/5]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msg() [4/5]

MsgStream& Trig::Logger::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 33 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.

33 { return msg() << lvl; }

◆ msg() [5/5]

MsgStream& Trig::Logger::msg
inline

Definition at line 33 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.

33 { return msg() << lvl; }

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101  {
102 
103  return MSG::name( msg().level() );
104  }

◆ msgLvl() [1/3]

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ msgLvl() [2/3]

bool Trig::Logger::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 34 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.

34 { return s_logger && s_logger->msgLvl(lvl); }

◆ msgLvl() [3/3]

bool Trig::Logger::msgLvl
inline

Definition at line 34 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.

34 { return s_logger && s_logger->msgLvl(lvl); }

◆ operator=()

TrigDecisionTool& Trig::TrigDecisionTool::operator= ( const TrigDecisionTool )
private

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ outputMetaStore()

AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::outputMetaStore ( ) const
inherited

Accessor for the output metadata store.

Definition at line 97 of file AsgMetadataTool.cxx.

97  {
98 
99 #ifdef XAOD_STANDALONE
100  return &m_outputMetaStore;
101 #else // XAOD_STANDALONE
102  return m_outputMetaStore;
103 #endif // XAOD_STANDALONE
104  }

◆ print()

void asg::AsgTool::print ( ) const
virtualinherited

◆ 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< AlgTool > >::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< AlgTool > >::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  }

◆ setForceConfigUpdate()

void Trig::TrigDecisionTool::setForceConfigUpdate ( bool  b,
bool  forceForAllSlots = false 
)
private

Definition at line 143 of file TrigDecisionTool.cxx.

143  {
144 
145  if (forceForAllSlots) {
146  for (std::atomic<bool>& ab : m_forceConfigUpdate) {
147  ab = b;
148  }
149  }
150  else { // only current slot
151  std::atomic<bool>* ab = m_forceConfigUpdate.get();
152  (*ab) = b;
153  }
154 }

◆ setUseIncidents()

void asg::AsgMetadataTool::setUseIncidents ( const bool  flag)
inlineprotectedinherited

Definition at line 132 of file AsgMetadataTool.h.

133  {
135  }

◆ sysInitialize()

StatusCode asg::AsgMetadataTool::sysInitialize ( )
virtualinherited

Function initialising the tool in the correct way in Athena.

This function is used to set up the callbacks from IncidentSvc in Athena at the right time during initialisation, without the user having to do anything special in his/her code.

Reimplemented from AthCommonDataStore< AthCommonMsg< AlgTool > >.

Definition at line 110 of file AsgMetadataTool.cxx.

110  {
111 
112 #ifndef XAOD_STANDALONE
113  if (m_useIncidents) {
114  // Connect to the IncidentSvc:
115  ServiceHandle< IIncidentSvc > incSvc( "IncidentSvc", name() );
116  ATH_CHECK( incSvc.retrieve() );
117 
118  // Set up the right callbacks: don't rethrow exceptions, any failure and we should end
119  incSvc->addListener( this, IncidentType::BeginEvent, 0, false );
120  }
121  // Let the base class do its thing:
122  ATH_CHECK( AlgTool::sysInitialize() );
123 
124 #endif // not XAOD_STANDALONE
125 
126  // Return gracefully:
127  return StatusCode::SUCCESS;
128  }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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

◆ ATLAS_THREAD_SAFE

asg::AsgTool* s_logger Trig::Logger::ATLAS_THREAD_SAFE {nullptr}
inlinestaticprivateinherited

◆ m_acceptMultipleInstance

Gaudi::Property<bool> Trig::TrigDecisionTool::m_acceptMultipleInstance
private
Initial value:
{this, "AcceptMultipleInstance", false,
"Allow multiple TrigDecisionTool instances"}

Definition at line 153 of file TrigDecisionTool.h.

◆ m_beginInputFileCalled

bool asg::AsgMetadataTool::m_beginInputFileCalled
privateinherited

Flag helping to discover when the tool misses the opening of the first input file.

Definition at line 126 of file AsgMetadataTool.h.

◆ m_cacheGlobalMemory

SG::SlotSpecificObj<Trig::CacheGlobalMemory> Trig::TrigDecisionToolCore::m_cacheGlobalMemory
privateinherited

Definition at line 96 of file TrigDecisionToolCore.h.

◆ m_configKeysCache

SG::SlotSpecificObj< std::vector<uint32_t> > Trig::TrigDecisionTool::m_configKeysCache
private

cache for config keys.

only update CacheGlobalMemory when these change

Definition at line 117 of file TrigDecisionTool.h.

◆ m_configSvc

ServiceHandle<TrigConf::ITrigConfigSvc> Trig::TrigDecisionTool::m_configSvc {this, "TrigConfigSvc", "TrigConf::xAODConfigSvc/xAODConfigSvc"}
private

trigger configuration service handle

Definition at line 127 of file TrigDecisionTool.h.

◆ m_configTool

PublicToolHandle<TrigConf::ITrigConfigTool> Trig::TrigDecisionTool::m_configTool {this, "ConfigTool", ""}
private

Definition at line 121 of file TrigDecisionTool.h.

◆ m_decisionKey

SG::ReadHandleKey<xAOD::TrigDecision> Trig::TrigDecisionTool::m_decisionKey
private
Initial value:
{this, "TrigDecisionKey", "xTrigDecision",
"Storegate key of Trigger Decision"}

Definition at line 167 of file TrigDecisionTool.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_expertMethods

Trig::ExpertMethods Trig::TrigDecisionToolCore::m_expertMethods
privateinherited

Definition at line 98 of file TrigDecisionToolCore.h.

◆ m_forceConfigUpdate

SG::SlotSpecificObj< std::atomic<bool> > Trig::TrigDecisionTool::m_forceConfigUpdate
private

Cache for registering new input files.

Definition at line 118 of file TrigDecisionTool.h.

◆ m_fullNavigation

ToolHandle<HLT::Navigation> Trig::TrigDecisionTool::m_fullNavigation {this, "Navigation", "HLT::Navigation/Navigation"}
private

Definition at line 143 of file TrigDecisionTool.h.

◆ m_HLTSummaryKeyIn

SG::ReadHandleKey<TrigCompositeUtils::DecisionContainer> Trig::TrigDecisionTool::m_HLTSummaryKeyIn
private
Initial value:
{this, "HLTSummary",
"HLTNav_Summary_DAODSlimmed", "HLT summary container Key"}

Definition at line 164 of file TrigDecisionTool.h.

◆ m_inputMetaStore

MetaStore_t asg::AsgMetadataTool::m_inputMetaStore
privateinherited

Object accessing the input metadata store.

Definition at line 119 of file AsgMetadataTool.h.

◆ m_navigation

HLT::TrigNavStructure* Trig::TrigDecisionToolCore::m_navigation = nullptr
protectedinherited

Definition at line 104 of file TrigDecisionToolCore.h.

◆ m_navigationFormat

Gaudi::Property<std::string> Trig::TrigDecisionTool::m_navigationFormat
private
Initial value:
{this, "NavigationFormat", "TriggerElement",
"Allowed tokens are 'TriggerElement' or 'TrigComposite'"}

Note: Temporary property.

Definition at line 161 of file TrigDecisionTool.h.

◆ m_navigationKey

SG::ReadHandleKey<xAOD::TrigNavigation> Trig::TrigDecisionTool::m_navigationKey
private
Initial value:
{this, "NavigationKey", "TrigNavigation",
"Storegate key of Run1, Run2 Trig Navigation"}

Definition at line 156 of file TrigDecisionTool.h.

◆ m_oldDecisionKey

SG::ReadHandleKey<TrigDec::TrigDecision> Trig::TrigDecisionTool::m_oldDecisionKey
private
Initial value:
{this, "OldTrigDecisionKey", "TrigDecision",
"Storegate key of old pre-xAOD Decision object"}

Definition at line 140 of file TrigDecisionTool.h.

◆ m_oldEventInfoKey

SG::ReadHandleKey<EventInfo> Trig::TrigDecisionTool::m_oldEventInfoKey
private
Initial value:
{this, "OldEventInfoKey", "EventInfo",
"Storegate key of old pre-xAOD EventInfo object"}

Definition at line 137 of file TrigDecisionTool.h.

◆ m_outputMetaStore

MetaStore_t asg::AsgMetadataTool::m_outputMetaStore
privateinherited

Object accessing the output metadata store.

Definition at line 121 of file AsgMetadataTool.h.

◆ m_publicChainGroups

Gaudi::Property< std::map<std::string,std::string> > Trig::TrigDecisionTool::m_publicChainGroups
private
Initial value:
{this, "PublicChainGroups",
std::map<std::string,std::string>(), "Pre-created chain groups"}

Definition at line 173 of file TrigDecisionTool.h.

◆ m_standaloneNavigation

HLT::StandaloneNavigation Trig::TrigDecisionTool::m_standaloneNavigation
private

Definition at line 151 of file TrigDecisionTool.h.

◆ m_useIncidents

bool asg::AsgMetadataTool::m_useIncidents
privateinherited

Definition at line 128 of file AsgMetadataTool.h.

◆ m_useOldAODDecisionInput

Gaudi::Property<bool> Trig::TrigDecisionTool::m_useOldAODDecisionInput
private
Initial value:
{this, "UseAODDecision", false,
"For use when reading old ESD/AOD with only a TrigDec::TrigDecision and no xAOD::TrigDecision "
"or Run 1 / Run 2 RAW data where an initial TrigDec::TrigDecision needs to be converted via the TDT into xAOD"}

Definition at line 147 of file TrigDecisionTool.h.

◆ m_useOldEventInfoDecisionFormat

Gaudi::Property<bool> Trig::TrigDecisionTool::m_useOldEventInfoDecisionFormat
private
Initial value:
{this, "UseOldEventInfoDecisionFormat", false,
"For use when reading old BS with trigger decision information available in the EventInfo"}

Definition at line 134 of file TrigDecisionTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
Trig::TrigDecisionTool::beginInputFile
StatusCode beginInputFile()
Function called when a new input file is opened.
Definition: TrigDecisionTool.cxx:224
Trig::TrigDecisionTool::getForceConfigUpdate
bool getForceConfigUpdate()
Definition: TrigDecisionTool.cxx:157
Trig::TrigDecisionTool::m_configTool
PublicToolHandle< TrigConf::ITrigConfigTool > m_configTool
Definition: TrigDecisionTool.h:121
Trig::CacheGlobalMemory::createChainGroup
const Trig::ChainGroup * createChainGroup(const std::vector< std::string > &patterns, const std::string &alias="", TrigDefs::Group props=TrigDefs::Group::Default) const
creates new chain group
Definition: CacheGlobalMemory.cxx:54
StateLessPT_NewConfig.proxy
proxy
Definition: StateLessPT_NewConfig.py:392
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
Trig::ConfigurationAccess::getListOfTriggerElements
std::vector< std::vector< std::string > > getListOfTriggerElements(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:76
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
Trig::TrigDecisionTool::m_oldDecisionKey
SG::ReadHandleKey< TrigDec::TrigDecision > m_oldDecisionKey
Definition: TrigDecisionTool.h:140
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
patterns
std::vector< std::string > patterns
Definition: listroot.cxx:187
TrigConf::IILVL1ConfigSvc
Interface for all services/tools that provide LVL1 menu configuration information.
Definition: IILVL1ConfigSvc.h:36
Trig::ConfigurationAccess::configurationUpdate
void configurationUpdate(const TrigConf::HLTChainList *confChains, const TrigConf::CTPConfig *confItems)
Definition: ConfigurationAccess.cxx:26
SG::SlotSpecificObj::get
T * get(const EventContext &ctx)
Return pointer to the object for slot given by ctx.
Trig::TrigDecisionTool::m_oldEventInfoKey
SG::ReadHandleKey< EventInfo > m_oldEventInfoKey
Definition: TrigDecisionTool.h:137
Trig::ChainGroupFunctions::cgm
virtual Trig::CacheGlobalMemory * cgm()=0
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
HLT::TrigNavStructure::reset
virtual void reset(bool inFinalize=false)
resets all the navigation, goes to the factory and asks to withdraw all produced objects
Definition: TrigNavStructure.cxx:756
LArG4GenerateShowerLib.condition
condition
Definition: LArG4GenerateShowerLib.py:19
Trig::TrigDecisionTool::m_decisionKey
SG::ReadHandleKey< xAOD::TrigDecision > m_decisionKey
Definition: TrigDecisionTool.h:167
Trig::TrigDecisionTool::m_configSvc
ServiceHandle< TrigConf::ITrigConfigSvc > m_configSvc
trigger configuration service handle
Definition: TrigDecisionTool.h:127
Trig::CacheGlobalMemory
Definition: CacheGlobalMemory.h:67
Trig::ConfigurationAccess::cgm
virtual Trig::CacheGlobalMemory * cgm()=0
asg::AsgMetadataTool::m_outputMetaStore
MetaStore_t m_outputMetaStore
Object accessing the output metadata store.
Definition: AsgMetadataTool.h:121
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
Trig::CacheGlobalMemory::setStore
void setStore(asg::EventStoreType *store)
Set the event store to be used by the object.
Definition: CacheGlobalMemory.h:137
Trig::TrigDecisionTool::m_navigationFormat
Gaudi::Property< std::string > m_navigationFormat
Note: Temporary property.
Definition: TrigDecisionTool.h:161
Trig::TrigDecisionToolCore::m_cacheGlobalMemory
SG::SlotSpecificObj< Trig::CacheGlobalMemory > m_cacheGlobalMemory
Definition: TrigDecisionToolCore.h:96
HLT::TrigNavStructure
Definition: TrigNavStructure.h:40
Trig::TrigDecisionToolCore::initialize
virtual StatusCode initialize()
Definition: TrigDecisionToolCore.cxx:50
Trig::TrigDecisionToolCore::m_navigation
HLT::TrigNavStructure * m_navigation
Definition: TrigDecisionToolCore.h:104
Trig::ConfigurationAccess::getListOfTriggers
std::vector< std::string > getListOfTriggers(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:37
Trig::DecisionAccess::isPassed
bool isPassed(const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
true if given group of chains passed
Definition: DecisionAccess.cxx:34
Trig::convertStringToVector
std::vector< std::string > convertStringToVector(const std::string &triggerNames)
makes a split of list of chains into the vector of chains
Definition: TDTUtilities.cxx:41
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
Trig::TrigDecisionTool::m_configKeysCache
SG::SlotSpecificObj< std::vector< uint32_t > > m_configKeysCache
cache for config keys.
Definition: TrigDecisionTool.h:117
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
Trig::CacheGlobalMemory::navigation
const HLT::TrigNavStructure * navigation() const
Definition: CacheGlobalMemory.h:104
Trig::TrigDecisionTool::m_useOldAODDecisionInput
Gaudi::Property< bool > m_useOldAODDecisionInput
Definition: TrigDecisionTool.h:147
Trig::TrigDecisionTool::getKeys
std::vector< uint32_t > * getKeys()
Definition: TrigDecisionTool.cxx:139
Trig::ChainGroup::getListOfGroups
std::vector< std::string > getListOfGroups() const
Definition: ChainGroup.cxx:487
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Trig::TrigDecisionTool::m_HLTSummaryKeyIn
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_HLTSummaryKeyIn
Definition: TrigDecisionTool.h:164
Trig::ChainGroup::getListOfStreams
std::vector< std::string > getListOfStreams() const
Definition: ChainGroup.cxx:472
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
Trig::Logger::ATLAS_THREAD_SAFE
static asg::AsgTool *s_logger ATLAS_THREAD_SAFE
Definition: Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h:38
Trig::ConfigurationAccess::getListOfGroups
std::vector< std::string > getListOfGroups(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:63
Trig::TrigDecisionTool::m_useOldEventInfoDecisionFormat
Gaudi::Property< bool > m_useOldEventInfoDecisionFormat
Definition: TrigDecisionTool.h:134
Trig::DecisionAccess::features
FeatureContainer features(const Trig::ChainGroup *group, unsigned int condition=TrigDefs::Physics) const
Runs 1, 2.
Definition: DecisionAccess.cxx:92
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
Trig::TrigDecisionTool::setForceConfigUpdate
void setForceConfigUpdate(bool b, bool forceForAllSlots=false)
Definition: TrigDecisionTool.cxx:143
master.flag
bool flag
Definition: master.py:29
Trig::Logger::msg
MsgStream & msg() const
Definition: Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h:29
Trig::ChainGroupFunctions::getChainGroup
const Trig::ChainGroup * getChainGroup(const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const
Create/get chain group (.
Definition: ChainGroupFunctions.cxx:38
python.xAODType.dummy
dummy
Definition: xAODType.py:4
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
MSG::name
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition: MsgLevel.cxx:19
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
Trig::TrigDecisionTool::m_forceConfigUpdate
SG::SlotSpecificObj< std::atomic< bool > > m_forceConfigUpdate
Cache for registering new input files.
Definition: TrigDecisionTool.h:118
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
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
Trig::TrigDecisionToolCore::cgm
virtual Trig::CacheGlobalMemory * cgm()
Definition: TrigDecisionToolCore.cxx:30
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
Trig::ChainGroup
Definition: ChainGroup.h:51
Trig::TrigDecisionTool::m_acceptMultipleInstance
Gaudi::Property< bool > m_acceptMultipleInstance
Definition: TrigDecisionTool.h:153
Trig::Logger::Logger
Logger()=default
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
asg::AsgMetadataTool::m_inputMetaStore
MetaStore_t m_inputMetaStore
Object accessing the input metadata store.
Definition: AsgMetadataTool.h:119
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trig::TrigDecisionTool::m_fullNavigation
ToolHandle< HLT::Navigation > m_fullNavigation
Definition: TrigDecisionTool.h:143
Trig::DecisionAccess::cgm
virtual Trig::CacheGlobalMemory * cgm()=0
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
Trig::DecisionAccess::isPassedBits
unsigned int isPassedBits(const Trig::ChainGroup *chaingroup) const
Return expert-level information about the various trigger flags as a bit mask.
Definition: DecisionAccess.cxx:67
TriggerTest.ctp
ctp
Retrieve trigger EDM objects.
Definition: TriggerTest.py:14
Trig::ConfigurationAccess::getListOfStreams
std::vector< std::string > getListOfStreams(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:50
Trig::TrigDecisionTool::m_standaloneNavigation
HLT::StandaloneNavigation m_standaloneNavigation
Definition: TrigDecisionTool.h:151
Trig::CacheGlobalMemory::getChainGroup
const Trig::ChainGroup * getChainGroup(const std::vector< std::string > &triggerNames, TrigDefs::Group props) const
Definition: CacheGlobalMemory.cxx:83
Trig::ConfigurationAccess::getPrescale
float getPrescale(const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
Definition: ConfigurationAccess.cxx:88
a
TList * a
Definition: liststreamerinfos.cxx:10
h
asg::AsgMetadataTool
Base class for dual-use tools that provide file metadata access.
Definition: AsgMetadataTool.h:48
TrigConf::IIHLTConfigSvc
Interface for all services/tools that provide HLT menu configuration information.
Definition: IIHLTConfigSvc.h:33
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
Trig::TrigDecisionTool::m_navigationKey
SG::ReadHandleKey< xAOD::TrigNavigation > m_navigationKey
Definition: TrigDecisionTool.h:156
Trig::ChainGroup::isPassedForEach
std::vector< bool > isPassedForEach(unsigned int condition=TrigDefs::Physics) const
return vector with isPassed decision for each chain
Definition: ChainGroup.cxx:193
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
Trig::CacheGlobalMemory::m_bgCode
char m_bgCode
the encoded bunchgroup information
Definition: CacheGlobalMemory.h:228
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
Trig::TrigDecisionTool::beginEvent
StatusCode beginEvent()
Function called when a new events is loaded.
Definition: TrigDecisionTool.cxx:163
Trig::CacheGlobalMemory::update
void update(const TrigConf::HLTChainList *confChains, const TrigConf::CTPConfig *ctp)
Updates configuration of the chain groups (i.e.
Definition: CacheGlobalMemory.cxx:109
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
Trig::ChainGroup::getListOfTriggerElements
std::vector< std::vector< std::string > > getListOfTriggerElements() const
Definition: ChainGroup.cxx:555
Trig::ChainGroup::getListOfTriggers
std::vector< std::string > getListOfTriggers() const
Definition: ChainGroup.cxx:467
Trig::TrigDecisionTool::m_publicChainGroups
Gaudi::Property< std::map< std::string, std::string > > m_publicChainGroups
Definition: TrigDecisionTool.h:173
SG::DataProxy
Definition: DataProxy.h:45
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
fitman.k
k
Definition: fitman.py:528
ServiceHandle< IIncidentSvc >
asg::AsgMetadataTool::m_useIncidents
bool m_useIncidents
Definition: AsgMetadataTool.h:128