|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/ToolHandle.h"
7 #include "Gaudi/Property.h"
24 PublicToolHandle<Trig::TrigDecisionTool>
m_tdt{
this,
"TrigDecisionTool",
"",
"When enabled read navigation from TDT/off by default"};
25 PublicToolHandle<Trig::TrigDecisionTool>
m_tdtRun3{
this,
"TrigDecisionToolRun3",
"",
"Use for directly accessing objects"};
26 PublicToolHandle<Trig::TrigDecisionTool>
m_tdtRun2{
this,
"TrigDecisionToolRun2",
"",
"Use for directly accessing objects"};
29 this,
"RetrievalToolRun2Nav",
"",
"The tool configured to use Run 2 format"};
31 this,
"RetrievalToolRun3Nav",
"",
"The tool configured to use Run 3 format"};
32 Gaudi::Property<std::vector<std::string>>
m_chains{
33 this,
"Chains", {},
"The chains to test"};
35 this,
"FailOnDifference",
false,
36 "Return FAILURE if the navigation does not compare equal"};
38 this,
"VerifyCombinationsSize",
true,
39 "Check if combinations have matching size (that is Run2 >= Run3)"};
41 this,
"VerifyCombinationsContent",
true,
42 "Check if combinations are compatible (point to same objects)"};
~NavigationTesterAlg() override=default
PublicToolHandle< Trig::TrigDecisionTool > m_tdtRun3
Gaudi::Property< bool > m_verifyCombinations
std::vector< std::vector< const xAOD::IParticle * > > CombinationsVector
StatusCode initialize() override
The common trigger namespace for trigger analysis tools.
NavigationTesterAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode verifyCombinationsContent(const CombinationsSet &run2, const CombinationsSet &run3, const std::string &chain) const
ToolHandle< Trig::IIParticleRetrievalTool > m_toolRun3
Gaudi::Property< bool > m_verifyCombinationsSize
std::set< std::set< const xAOD::IParticle * > > CombinationsSet
bool combinationsEmpty(const CombinationsVector &combs) const
An algorithm that can be simultaneously executed in multiple threads.
StatusCode verifyFlatContent(const std::string &chain) const
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode verifyCombinationsSize(const CombinationsVector &run2, const CombinationsVector &run3, const std::string &chain) const
StatusCode execute(const EventContext &context) const override
PublicToolHandle< Trig::TrigDecisionTool > m_tdtRun2
Gaudi::Property< std::vector< std::string > > m_chains
Gaudi::Property< bool > m_failOnDifference
PublicToolHandle< Trig::TrigDecisionTool > m_tdt
ToolHandle< Trig::IIParticleRetrievalTool > m_toolRun2