ATLAS Offline Software
ExpertMethods.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGGER_DECISION_TOOL_ExpertMethods_H
8 #define TRIGGER_DECISION_TOOL_ExpertMethods_H
9 
10 /**********************************************************************************
11  * @Project: TrigDecisionTool
12  * @Package: TrigDecisionTool
13  * @class : ExpertMethods
14  *
15  * @brief access to information about the trigger decision
16  *
17  * @author Michael Begel <michael.begel@cern.ch> - Brookhaven National Laboratory
18  *
19  ***********************************************************************************/
20 #include <string>
21 
30 
31 #if !defined(XAOD_STANDALONE) && !defined(XAOD_ANALYSIS)
33 #endif
34 
35 namespace HLT {
36  class Chain;
37 }
38 namespace TrigConf {
39  class HLTChain;
40  class HLTTriggerElement;
41 }
42 
43 class LVL1_ROI;
44 
45 namespace Trig {
46 
47  class CacheGlobalMemory;
48 
49  class ExpertMethods : public virtual Logger {
50  public:
51 
53 
54  virtual ~ExpertMethods();
55 
60  const TrigConf::TriggerItem* getItemConfigurationDetails(const std::string& chain) const;
61 
66  const TrigConf::HLTChain* getChainConfigurationDetails(const std::string& chain) const;
67 
72  const LVL1CTP::Lvl1Item* getItemDetails(const std::string& chain) const;
73 
78  const HLT::Chain* getChainDetails(const std::string& chain) const;
79 
83 #ifndef XAOD_ANALYSIS // Full Athena
84  const HLT::NavigationCore* getNavigation() const;
85 #else // AthAnalysis or AnalysisBase
86  const HLT::TrigNavStructure* getNavigation() const;
87 #endif
88 
93  bool isHLTTruncated() const;
94 
95  private:
96 
98 
99  const Trig::CacheGlobalMemory* cgm(bool onlyConfig=false) const;
100  };
101 
102 } // End of namespace
103 
104 
105 #endif
Trig::ExpertMethods
Definition: ExpertMethods.h:49
Combination.h
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
FeatureContainer.h
Trig::Logger
Logging adaptor to provide interfaces required for ATH_MSG macros.
Definition: Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h:24
Feature.h
Trig::CacheGlobalMemory
Definition: CacheGlobalMemory.h:67
ChainGroup.h
TrigConf::HLTChain
HLT chain configuration information.
Definition: TrigConfHLTData/TrigConfHLTData/HLTChain.h:35
HLT::TrigNavStructure
Definition: TrigNavStructure.h:40
trigbs_dumpPrescaleBits.HLTChain
HLTChain
Definition: trigbs_dumpPrescaleBits.py:41
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
HLT::NavigationCore
The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling.
Definition: NavigationCore.h:96
Trig::ExpertMethods::getChainConfigurationDetails
const TrigConf::HLTChain * getChainConfigurationDetails(const std::string &chain) const
return TrigConf::HLTChain
Definition: ExpertMethods.cxx:53
LVL1CTP::Lvl1Item
Definition: Lvl1Item.h:37
Trig::ExpertMethods::cgm
const Trig::CacheGlobalMemory * cgm(bool onlyConfig=false) const
Definition: ExpertMethods.cxx:67
SG::SlotSpecificObj< Trig::CacheGlobalMemory >
SlotSpecificObj.h
Dummy implementation of AthenaKernel/SlotSpecificObj.h.
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
TriggerElement.h
NavigationCore.h
Logger.h
Trig::ExpertMethods::getNavigation
const HLT::NavigationCore * getNavigation() const
return HLT::NavigationCore
Definition: ExpertMethods.cxx:81
HLT::Chain
Definition: Chain.h:64
LVL1_ROI
Top level AOD object storing LVL1 RoIs.
Definition: LVL1_ROI.h:43
Trig::ExpertMethods::~ExpertMethods
virtual ~ExpertMethods()
Definition: ExpertMethods.cxx:44
Trig::ExpertMethods::getItemDetails
const LVL1CTP::Lvl1Item * getItemDetails(const std::string &chain) const
return LVL1CTP::Lvl1Item
Definition: ExpertMethods.cxx:63
Conditions.h
Trig::ExpertMethods::m_cacheGlobalMemory
SG::SlotSpecificObj< Trig::CacheGlobalMemory > * m_cacheGlobalMemory
Definition: ExpertMethods.h:97
Trig::ExpertMethods::isHLTTruncated
bool isHLTTruncated() const
Returns true if HLT result is truncated.
Definition: ExpertMethods.cxx:105
Trig::ExpertMethods::getItemConfigurationDetails
const TrigConf::TriggerItem * getItemConfigurationDetails(const std::string &chain) const
return TrigConf::TriggerItem
Definition: ExpertMethods.cxx:47
Trig::ExpertMethods::getChainDetails
const HLT::Chain * getChainDetails(const std::string &chain) const
return HLT::Chain
Definition: ExpertMethods.cxx:59
Trig::ExpertMethods::ExpertMethods
ExpertMethods(SG::SlotSpecificObj< Trig::CacheGlobalMemory > *m_cacheGlobalMemory)
Definition: ExpertMethods.cxx:39
TrigConf::TriggerItem
Definition: TriggerItem.h:25