|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TrigDecision_TrigDecisionTool_h
8 #define TrigDecision_TrigDecisionTool_h
32 #ifndef XAOD_STANDALONE
33 #include "EventInfo/EventInfo.h"
35 #include "GaudiKernel/ServiceHandle.h"
36 #include "GaudiKernel/ToolHandle.h"
40 #endif // XAOD_ANALYSIS
42 #endif // XAOD_STANDALONE
89 virtual void handle(
const Incident& inc);
112 std::vector<uint32_t>*
getKeys();
120 #if !defined(XAOD_STANDALONE) && !defined(XAOD_ANALYSIS) // Athena: Do not set a Config Tool by default (this tool is not thread safe, the service should be used in Athena)
121 PublicToolHandle<TrigConf::ITrigConfigTool>
m_configTool{
this,
"ConfigTool",
""};
122 #else // AnalysisBase: Do set a Config Tool by default for analysis convienience
123 ToolHandle<TrigConf::ITrigConfigTool>
m_configTool{
this,
"ConfigTool",
"TrigConf::xAODConfigTool/xAODConfigTool"};
126 #ifndef XAOD_STANDALONE
132 #ifndef XAOD_ANALYSIS // full Athena
135 "For use when reading old BS with trigger decision information available in the EventInfo"};
138 "Storegate key of old pre-xAOD EventInfo object"};
141 "Storegate key of old pre-xAOD Decision object"};
143 ToolHandle<HLT::Navigation>
m_fullNavigation{
this,
"Navigation",
"HLT::Navigation/Navigation"};
148 "For use when reading old ESD/AOD with only a TrigDec::TrigDecision and no xAOD::TrigDecision "
149 "or Run 1 / Run 2 RAW data where an initial TrigDec::TrigDecision needs to be converted via the TDT into xAOD"};
154 "Allow multiple TrigDecisionTool instances"};
157 "Storegate key of Run1, Run2 Trig Navigation"};
162 "Allowed tokens are 'TriggerElement' or 'TrigComposite'"};
165 "HLTNav_Summary_DAODSlimmed",
"HLT summary container Key"};
168 "Storegate key of Trigger Decision"};
174 std::map<std::string,std::string>(),
"Pre-created chain groups"};
The common trigger namespace for trigger analysis tools.
bool isPassed(const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
true if given group of chains passed
bool msgLvl(const MSG::Level lvl) const
Forward iterator to traverse the main components of the trigger configuration.
Maintain a set of objects, one per slot.
::StatusCode StatusCode
StatusCode definition for legacy code.
unsigned int isPassedBits(const Trig::ChainGroup *chaingroup) const
Return expert-level information about the various trigger flags as a bit mask.