ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEDMChecker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIG_EDM_CHECKER_H
6#define TRIG_EDM_CHECKER_H
7
8#include "GaudiKernel/IClassIDSvc.h"
9#include "GaudiKernel/ToolHandle.h"
10
22
23#include <string>
24
25// forward declarations of muon track classes used in TrigMuonEFInfo
26class TrigMuonEFTrack;
28
29// fwd declare muon printing tool
30namespace Rec {
32}
33
35
36 public:
37
38 TrigEDMChecker(const std::string& name, ISvcLocator* pSvcLocator);
39 virtual ~TrigEDMChecker();
40
41 virtual StatusCode initialize() override;
42 virtual StatusCode execute() override;
43
44 private:
45 StatusCode do_execute ATLAS_NOT_THREAD_SAFE();
46
49
51 StatusCode dumpTrigPassBits();
53 StatusCode dumpLVL1_ROI();
54
56 StatusCode dumpTrackParticleContainer();
57
59 StatusCode dumpTrigMissingET ATLAS_NOT_THREAD_SAFE();
60
62 StatusCode dumpxAODTrigMissingET();
63
65 StatusCode dumpxAODJetContainer();
66
68 StatusCode dumpTrigL2BphysContainer();
69
71 StatusCode dumpTrigEFBphysContainer();
72
74 StatusCode dumpTrigEFBjetContainer ATLAS_NOT_THREAD_SAFE();
75
77 StatusCode dumpTrigL2BjetContainer ATLAS_NOT_THREAD_SAFE();
78
80 StatusCode dumpTrigTauClusterContainer ATLAS_NOT_THREAD_SAFE();
81
83 StatusCode dumpTrigEMCluster ATLAS_NOT_THREAD_SAFE();
84
86 StatusCode dumpTrigEMClusterContainer ATLAS_NOT_THREAD_SAFE();
87
88
90 StatusCode dumpxAODTrigEMCluster ATLAS_NOT_THREAD_SAFE();
91
93 StatusCode dumpxAODTrigEMClusterContainer ATLAS_NOT_THREAD_SAFE();
94
96 StatusCode dumpCombinedMuonFeature ATLAS_NOT_THREAD_SAFE();
97 StatusCode dumpCombinedMuonFeatureContainer ATLAS_NOT_THREAD_SAFE();
98
100 StatusCode dumpMuonFeature ATLAS_NOT_THREAD_SAFE();
101
103 StatusCode dumpTileMuFeatureContainer ATLAS_NOT_THREAD_SAFE();
104
106 StatusCode dumpTileTrackMuFeatureContainer ATLAS_NOT_THREAD_SAFE();
107
109 StatusCode dumpTrigPhotonContainer ATLAS_NOT_THREAD_SAFE();
110
112 StatusCode dumpTrigMuonEFContainer ATLAS_NOT_THREAD_SAFE();
113
115 StatusCode dumpTrigMuonEFInfoContainer ATLAS_NOT_THREAD_SAFE();
116 void printMuonTrk(const TrigMuonEFTrack* muonTrack);
117 void printMuonTrk(const TrigMuonEFCbTrack* muonTrack);
118
120 StatusCode dumpxAODMuonContainer();
121
123 StatusCode dumpTrigMuonEFIsolationContainer ATLAS_NOT_THREAD_SAFE();
124
126 StatusCode dumpTrigElectronContainer ATLAS_NOT_THREAD_SAFE();
127
130
132 StatusCode dumpxAODTrigPhotonContainer();
133
135 StatusCode dumpxAODElectronContainer();
136
138 StatusCode dumpxAODPhotonContainer();
139
141 StatusCode dumpTrigTauContainer ATLAS_NOT_THREAD_SAFE();
142
144 StatusCode dumpTrigTauTracksInfo ATLAS_NOT_THREAD_SAFE();
145
147 StatusCode dumpHLTResult();
148
150 StatusCode dumpTrigInDetTrackCollection();
151
153 StatusCode dumpTrigVertexCollection ATLAS_NOT_THREAD_SAFE();
154
156 StatusCode dumpxAODTauJetContainer ATLAS_NOT_THREAD_SAFE();
157
159 StatusCode dumpTauJetContainer ATLAS_NOT_THREAD_SAFE ();
160
162 StatusCode dumpxAODTrackParticle();
163
165 StatusCode dumpxAODVertex();
166
168 StatusCode dumpStoreGate();
169
171 StatusCode dumpTDT();
172
174 StatusCode dumpxAODTrigMinBias();
176 void dumpTrigT2MBTSBits();
178 void dumpTrigTrackCounts();
179
181 std::vector<std::string> m_dumpTrigCompositeContainers;
182
184 StatusCode dumpNavigation();
185 Gaudi::Property<std::string> m_dumpNavForChain {this, "DumpNavigationForChain", "", "Optional chain to restrict navigation dump info."};
186 Gaudi::Property<bool> m_excludeFailedHypoNodes {this, "excludeFailedHypoNodes", false,
187 "Optional flag to exclude nodes which fail the hypothesis tool for a chain when dumping navigation graphs."};
188
194 StatusCode dumpTrigComposite();
195
201 StatusCode checkTrigCompositeElementLink(const xAOD::TrigComposite* tc, size_t element);
202
204
212 StatusCode TrigCompositeNavigationToDot(std::string& returnValue, bool& pass);
213
214 ToolHandle<Rec::IMuonPrintingTool> m_muonPrinter{this, "MuonPrinter", "Rec::MuonPrintingTool/MuonPrintingTool"};
215
217
218 SG::ReadHandleKey< xAOD::TrackParticleContainer > m_muonTracksKey{ this, "MuonTracksKey", "HLT_IDTrack_Muon_FTF"};
219 SG::ReadHandleKey< xAOD::TrigNavigation > m_navigationHandleKey{ this, "TrigNavigation", "TrigNavigation", "" };
220 SG::WriteHandleKey<TrigCompositeUtils::DecisionContainer> m_decisionsKey{ this, "Decisions", "RoIDecisions", "Decisions created from TEs" };
221 ToolHandle< HLT::Navigation > m_navigationTool{ this, "NavigationTool", "HLT::Navigation/Navigation", "" };
222 PublicToolHandle< Trig::TrigDecisionTool > m_trigDec{ this, "TriggerDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool", ""};
223
226};
227
228#endif // TRIG_EDM_CHECKER_H
229
static Double_t tc
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Define macros for attributes used to control the static checker.
AthAnalysisAlgorithm(const std::string &name)
Constructor taking just a name.
interface for tool that creates a dump output of different detail to strings or files
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > m_decisionsKey
StatusCode do_execute ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTrigElectronContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTrigInDetTrackCollection()
StatusCode dumpTrigPassBits()
StatusCode dumpTrigEFBphysContainer()
bool m_doDumpxAODTrigMissingET
StatusCode dumpxAODTrackParticle()
ToolHandle< Rec::IMuonPrintingTool > m_muonPrinter
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
StatusCode dumpxAODTrigEMCluster ATLAS_NOT_THREAD_SAFE()
StatusCode dumpHLTResult()
StatusCode dumpTrigComposite()
Dump information on TrigComposite collections.
StatusCode dumpTrigEMCluster ATLAS_NOT_THREAD_SAFE()
StatusCode dumpxAODTrigMinBias()
StatusCode dumpTrigL2BphysContainer()
bool m_doDumpTrigTauContainer
bool m_doDumpTrigVertexCollection
bool m_doDumpTrigEFBphysContainer
StatusCode TrigCompositeNavigationToDot(std::string &returnValue, bool &pass)
Construct graph of HLT navigation in Run-3.
StatusCode checkTrigCompositeElementLink(const xAOD::TrigComposite *tc, size_t element)
Dump details on element links within TrigComposites.
StatusCode dumpCombinedMuonFeature ATLAS_NOT_THREAD_SAFE()
bool m_doDumpTrigPhotonContainer
bool m_doDumpxAODTrigEMClusterContainer
StatusCode dumpTrigPhotonContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTrigMuonEFIsolationContainer ATLAS_NOT_THREAD_SAFE()
bool m_doDumpTrigMuonEFContainer
SG::ReadHandleKey< xAOD::TrigNavigation > m_navigationHandleKey
StatusCode dumpTrigVertexCollection ATLAS_NOT_THREAD_SAFE()
bool m_doDumpxAODTrigElectronContainer
StatusCode dumpxAODTrigEMClusterContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpLVL1_ROI()
StatusCode dumpNavigation()
StatusCode dumpxAODTrigMissingET()
ToolHandle< HLT::Navigation > m_navigationTool
StatusCode dumpCombinedMuonFeatureContainer ATLAS_NOT_THREAD_SAFE()
ServiceHandle< ::IClassIDSvc > m_clidSvc
StatusCode dumpMuonFeature ATLAS_NOT_THREAD_SAFE()
bool m_doDumpxAODElectronContainer
bool m_doDumpTrigL2BjetContainer
StatusCode dumpTrackParticleContainer()
bool m_doDumpTrigElectronContainer
StatusCode dumpTileMuFeatureContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpxAODElectronContainer()
StatusCode dumpxAODPhotonContainer()
bool m_doDumpTrigEMClusterContainer
bool m_doDumpxAODTauJetContainer
StatusCode dumpTauJetContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpxAODTauJetContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpxAODVertex()
bool m_doDumpTrigInDetTrackCollection
bool m_doDumpTrigL2BphysContainer
StatusCode dumpTrigTauTracksInfo ATLAS_NOT_THREAD_SAFE()
bool m_doDumpAll
a handle on Store Gate for access to the Event Store
std::vector< std::string > m_dumpTrigCompositeContainers
bool m_doDumpTrigEFBjetContainer
StatusCode dumpxAODTrigPhotonContainer()
bool m_doDumpTrigMuonEFIsolationContainer
void dumpTrigSpacePointCounts()
StatusCode dumpTrigMissingET ATLAS_NOT_THREAD_SAFE()
bool m_doDumpTrigTauTracksInfo
bool m_doDumpTrackParticleContainer
StatusCode dumpTrigTauContainer ATLAS_NOT_THREAD_SAFE()
bool m_doDumpTrigMuonEFInfoContainer
bool m_doDumpCombinedMuonFeature
bool m_doDumpTileTrackMuFeature
bool m_doDumpTrigCompsiteNavigation
Gaudi::Property< bool > m_excludeFailedHypoNodes
bool m_doDumpxAODTrigPhotonContainer
bool m_doDumpxAODPhotonContainer
StatusCode dumpxAODMuonContainer()
StatusCode dumpStoreGate()
StatusCode dumpTrigEMClusterContainer ATLAS_NOT_THREAD_SAFE()
TrigEDMChecker(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode dumpTrigL2BjetContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTrigTauClusterContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTrigMuonEFInfoContainer ATLAS_NOT_THREAD_SAFE()
bool m_doDumpxAODTrackParticle
virtual ~TrigEDMChecker()
bool m_doDumpxAODJetContainer
StatusCode dumpxAODTrigElectronContainer()
bool m_doDumpTrigTauClusterContainer
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_muonTracksKey
bool m_doDumpxAODTrigEMCluster
bool m_doDumpAllTrigComposite
bool m_doDumpxAODMuonContainer
StatusCode dumpTrigMuonEFContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTDT()
void printMuonTrk(const TrigMuonEFTrack *muonTrack)
Gaudi::Property< std::string > m_dumpNavForChain
StatusCode dumpxAODJetContainer()
StatusCode dumpTileTrackMuFeatureContainer ATLAS_NOT_THREAD_SAFE()
StatusCode dumpTrigEFBjetContainer ATLAS_NOT_THREAD_SAFE()
virtual StatusCode initialize() override
virtual StatusCode execute() override
Gaudi Tools.
TrigComposite_v1 TrigComposite
Declare the latest version of the class.