ATLAS Offline Software
Loading...
Searching...
No Matches
TrigIDR4Mon.h
Go to the documentation of this file.
1
10
11
12#ifndef TRIGIDMONITORING_TRIGIDR4MON_H
13#define TRIGIDMONITORING_TRIGIDR4MON_H
14
15#include "GaudiKernel/ToolHandle.h"
19
20#include <string>
21
26
32
35
36
38
39
40public:
41
42 TrigIDR4Mon( const std::string & name, ISvcLocator* pSvcLocator);
43
44 virtual ~TrigIDR4Mon();
45
46 virtual StatusCode initialize() override;
47 virtual StatusCode fillHistograms(const EventContext &context) const override;
48 virtual StatusCode finalize() override;
49
50 virtual StatusCode bookHistograms();
51
52 void addMonGroupFromBase( const std::string& ) { }
53
54protected:
55
56 // track selector cuts
57
58 // test tracks
59 double m_pTCut;
60 double m_etaCut;
61 double m_d0Cut;
62 double m_z0Cut;
63
64 int m_siHits; // total number of si hits
65 int m_pixHits; // pixel hits
66 int m_sctHits; // sct hits
67
68 int m_trtHits; // high threshold hits
69 int m_strawHits; // total number of straws
70
71 // reference tracks
79
80 int m_siHitsOffline; // total number of si hits
81 int m_pixHitsOffline; // pixel hits
82 int m_sctHitsOffline; // sct hits
84
85 int m_pixHolesOffline; // pixel holes
86 int m_sctHolesOffline; // sct holes
87 int m_siHolesOffline; // total pix+sct holes
88
89 int m_trtHitsOffline; // high threshold hits
90 int m_strawHitsOffline; // total number of straws
91
92 // matching parameters
93 double m_matchR; // for DeltaR matcher
94 double m_matchPhi; // for DeltaPhi matcher
95
96 ToolHandle<Trig::TrigDecisionTool> m_tdt;
97
98 std::vector<TrackFilter*> m_filters;
99 std::vector<TrackAssociator*> m_associators;
100
102 // std::vector<T_AnalysisConfig<AthReentrantAlgorithm>*> m_sequences;
103
104 std::vector<std::string> m_chainNames;
105 std::vector<std::string> m_ntupleChainNames;
106 std::string m_releaseMetaData;
107
109
110 std::string m_analysis_config;
111 std::string m_outputFileName;
112
114
117
118 //pdgId
120
122
125
128
131
135
138
141
143 std::string m_sliceTag;
144
147
149
151
153
155
157
158 ToolHandleArray<GenericMonitoringTool> m_monTools { this, "MonTools", {} }; // insane configuration paradigm ?
159
160 SG::ReadHandleKeyArray<xAOD::TrackParticleContainer> m_trackdummykeys{ this, "OfflineTrackCollections", {"InDetTrackParticles"}, "" };
161
162 SG::ReadHandleKeyArray<xAOD::VertexContainer> m_vtxdummykeys{ this, "OfflineVertexCollections", {"PrimaryVertices"}, "" };
163
164};
165
166
167
168#endif // TRIGIDMONITORING_TRIGIDR4MON_H
Erkcan's track matchers.
generic track filter to filter on kinematics, si and trt hit content NB: Should really make this up f...
Header file to be included by clients of the Monitored infrastructure.
base class for a single track selection filter allowing parameter setting for complex track selection
checks if track is within DeltaR of cosmic, or within DeltaR back to back
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
int m_sctHolesOffline
Definition TrigIDR4Mon.h:86
double m_etaCutOffline
Definition TrigIDR4Mon.h:75
ToolHandle< Trig::TrigDecisionTool > m_tdt
Definition TrigIDR4Mon.h:96
double m_fiducial_radius
ntuple building variables
int m_trtHitsOffline
Definition TrigIDR4Mon.h:89
ToolHandleArray< GenericMonitoringTool > m_monTools
int m_vtxIndex
if performing the vertex analysis, the index of the offline vertex to look for
bool m_requireDecision
int m_selectParentTruthPdgId
int m_blayerHitsOffline
Definition TrigIDR4Mon.h:83
SG::ReadHandleKeyArray< xAOD::VertexContainer > m_vtxdummykeys
int m_siHitsOffline
Definition TrigIDR4Mon.h:80
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_trackdummykeys
std::string m_releaseMetaData
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms
bool m_buildNtuple
double m_z0Cut
Definition TrigIDR4Mon.h:62
std::vector< TrackAssociator * > m_associators
Definition TrigIDR4Mon.h:99
std::string m_analysis_config
std::string m_sliceTag
additional string for the histogram directory
virtual ~TrigIDR4Mon()
double m_pTCut
Definition TrigIDR4Mon.h:59
bool m_fileopen
if an ntple file open?
double m_pTCutOffline
Definition TrigIDR4Mon.h:74
bool m_initialisePerRun
virtual StatusCode bookHistograms()
int m_pixHitsOffline
Definition TrigIDR4Mon.h:81
void addMonGroupFromBase(const std::string &)
Definition TrigIDR4Mon.h:52
double m_mind0CutOffline
Definition TrigIDR4Mon.h:77
double m_tauEtCutOffline
Definition TrigIDR4Mon.h:72
std::string m_outputFileName
bool m_filter_on_roi
std::vector< std::string > m_chainNames
do we need this ??? why not the base class ???
bool m_shifter
determine whether this should be treated as a shifter chain
int m_selectTruthPdgId
std::vector< std::string > m_ntupleChainNames
double m_z0CutOffline
Definition TrigIDR4Mon.h:78
double m_doTauThreeProng
Definition TrigIDR4Mon.h:73
int m_siHolesOffline
Definition TrigIDR4Mon.h:87
virtual StatusCode finalize() override
virtual StatusCode initialize() override
initialize
double m_matchR
Definition TrigIDR4Mon.h:93
bool m_runPurity
also run purity analyses
bool m_genericFlag
double m_d0CutOffline
Definition TrigIDR4Mon.h:76
bool m_keepAllEvents
kepp events even if they fail the requested trigger chains
int m_pixHolesOffline
Definition TrigIDR4Mon.h:85
bool m_containTracks
do we want basic, or rigorous roi track containment
double m_matchPhi
Definition TrigIDR4Mon.h:94
TrigIDR4Mon(const std::string &name, ISvcLocator *pSvcLocator)
int m_strawHitsOffline
Definition TrigIDR4Mon.h:90
double m_etaCut
Definition TrigIDR4Mon.h:60
bool m_useHighestPT
use only the highest pt tracks
double m_d0Cut
Definition TrigIDR4Mon.h:61
int m_sctHitsOffline
Definition TrigIDR4Mon.h:82
std::vector< TrackFilter * > m_filters
Definition TrigIDR4Mon.h:98
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray