ATLAS Offline Software
TrigDecisionToolCore.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigDecision_TrigDecisionToolCore_h
6 #define TrigDecision_TrigDecisionToolCore_h
7 /**********************************************************************************
8  * @Project: TrigDecisionTool
9  * @Package: TrigDecisionTool
10  * @class : TrigDecisionTool
11  *
12  * @brief main tool
13  * This class defines basic functionality of TDT irrespectively
14  * of the environment in which it is used (ARA, Athena).
15  *
16  *
17  * @author Michael Begel <michael.begel@cern.ch> - Brookhaven National Laboratory
18  * @author Tomasz Bold <Tomasz.Bold@cern.ch> - UC Irvine - AGH Krakow
19  * @author Joerg Stelzer <Joerg.Stelzer@cern.ch> - DESY
20  *
21  ***********************************************************************************/
31 
32 namespace Trig {
33 
34  class TrigDecisionToolCore : public ChainGroupFunctions,
35  public ConfigurationAccess,
36  public DecisionAccess,
37  public virtual Logger
38  {
39  public:
40  // constructors, destructor
42  virtual ~TrigDecisionToolCore();
43 
44  // initialize routine as required for an Algorithm
45  virtual StatusCode initialize();
46  virtual StatusCode finalize();
47 
58 
60 
61  protected:
62  virtual Trig::CacheGlobalMemory* cgm();
63  virtual const Trig::CacheGlobalMemory* cgm() const;
64 
65 
66  private:
67 
69 
73 
74  protected:
75  // Set by TrigDecisionTool.
77  };
78 
79 } // End of namespace
80 
81 #endif
Trig::ExpertMethods
Definition: ExpertMethods.h:49
Trig::TrigDecisionToolCore::finalize
virtual StatusCode finalize()
Definition: TrigDecisionToolCore.cxx:55
Trig::ConfigurationAccess::getListOfTriggerElements
std::vector< std::vector< std::string > > getListOfTriggerElements(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:76
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
Trig::TrigDecisionToolCore
Definition: TrigDecisionToolCore.h:52
Trig::CacheGlobalMemory
Definition: CacheGlobalMemory.h:67
ExpertMethods.h
ChainGroup.h
Trig::TrigDecisionToolCore::m_cacheGlobalMemory
SG::SlotSpecificObj< Trig::CacheGlobalMemory > m_cacheGlobalMemory
Definition: TrigDecisionToolCore.h:96
DecisionAccess.h
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
ConfigurationAccess.h
SG::SlotSpecificObj< Trig::CacheGlobalMemory >
CacheGlobalMemory.h
SlotSpecificObj.h
Dummy implementation of AthenaKernel/SlotSpecificObj.h.
Trig::ConfigurationAccess::getListOfGroups
std::vector< std::string > getListOfGroups(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:63
Trig::DecisionAccess::features
FeatureContainer features(const Trig::ChainGroup *group, unsigned int condition=TrigDefs::Physics) const
Runs 1, 2.
Definition: DecisionAccess.cxx:92
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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
Trig::TrigDecisionToolCore::operator=
TrigDecisionToolCore & operator=(const TrigDecisionToolCore &)
Trig::TrigDecisionToolCore::TrigDecisionToolCore
TrigDecisionToolCore()
Definition: TrigDecisionToolCore.cxx:25
Trig::TrigDecisionToolCore::cgm
virtual Trig::CacheGlobalMemory * cgm()
Definition: TrigDecisionToolCore.cxx:30
StatusCode.h
ChainGroupFunctions.h
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
Conditions.h
Trig::ConfigurationAccess::getListOfStreams
std::vector< std::string > getListOfStreams(const Trig::ChainGroup *chaingroup) const
Definition: ConfigurationAccess.cxx:50
Trig::ConfigurationAccess::getPrescale
float getPrescale(const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const
Definition: ConfigurationAccess.cxx:88
Trig::TrigDecisionToolCore::~TrigDecisionToolCore
virtual ~TrigDecisionToolCore()
Definition: TrigDecisionToolCore.cxx:46
Trig::TrigDecisionToolCore::ExperimentalAndExpertMethods
const Trig::ExpertMethods & ExperimentalAndExpertMethods() const
Definition: TrigDecisionToolCore.h:87
Trig::DecisionAccess::ancestor
Feature< T > ancestor(const HLT::TriggerElement *te, std::string label="") const
gives back feature matching (by seeding relation)
Trig::TrigDecisionToolCore::m_expertMethods
Trig::ExpertMethods m_expertMethods
Definition: TrigDecisionToolCore.h:98