ATLAS Offline Software
Loading...
Searching...
No Matches
LRTElectronPlots.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 EGAMMAPHYSVALMONITORING_LRTELECTRONPLOTS_H
6#define EGAMMAPHYSVALMONITORING_LRTELECTRONPLOTS_H
7
8#include "GaudiKernel/ToolHandle.h"
9
12#include "KinematicsPlots.h"
13#include "ShowerShapesPlots.h"
14#include "IsolationPlots.h"
15#include "TrackPlots.h"
18
19#include "xAODEgamma/Electron.h"
21
22namespace Egamma{
23
25 public:
26 LRTElectronPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
27 void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo, bool isPrompt, bool pass_LHVeryLooseNoPix, bool pass_LHLooseNoPix, bool pass_LHMediumNoPix, bool pass_LHTightNoPix);
28 // Reco only information
29
34
39
44
49
54
59
64
69
74
75 // working point plots
76
81
86
91
96
100 std::string m_sParticleType;
101
102 void Set_d0_nBins(unsigned d0_nBins)
103 {
104 m_oTrackAllRecoPlots.Set_d0_nBins(d0_nBins);
105 m_oTrackIsoRecoPlots.Set_d0_nBins(d0_nBins);
106 m_oTrackIsoLHLoosePlots.Set_d0_nBins(d0_nBins);
107 m_oTrackIsoLHMediumPlots.Set_d0_nBins(d0_nBins);
108 m_oTrackIsoLHTightPlots.Set_d0_nBins(d0_nBins);
109 m_oTrackPromptRecoPlots.Set_d0_nBins(d0_nBins);
110 m_oTrackPromptLHLoosePlots.Set_d0_nBins(d0_nBins);
111 m_oTrackPromptLHMediumPlots.Set_d0_nBins(d0_nBins);
112 m_oTrackPromptLHTightPlots.Set_d0_nBins(d0_nBins);
113 m_oTrackLHVeryLooseNoPixPlots.Set_d0_nBins(d0_nBins);
114 m_oTrackLHLooseNoPixPlots.Set_d0_nBins(d0_nBins);
115 m_oTrackLHMediumNoPixPlots.Set_d0_nBins(d0_nBins);
116 m_oTrackLHTightNoPixPlots.Set_d0_nBins(d0_nBins);
117 };
118
119 void Set_d0sig_nBins(unsigned d0_nBins)
120 {
121 m_oTrackAllRecoPlots.Set_d0sig_nBins(d0_nBins);
122 m_oTrackIsoRecoPlots.Set_d0sig_nBins(d0_nBins);
123 m_oTrackIsoLHLoosePlots.Set_d0sig_nBins(d0_nBins);
124 m_oTrackIsoLHMediumPlots.Set_d0sig_nBins(d0_nBins);
125 m_oTrackIsoLHTightPlots.Set_d0sig_nBins(d0_nBins);
126 m_oTrackPromptRecoPlots.Set_d0sig_nBins(d0_nBins);
127 m_oTrackPromptLHLoosePlots.Set_d0sig_nBins(d0_nBins);
128 m_oTrackPromptLHMediumPlots.Set_d0sig_nBins(d0_nBins);
129 m_oTrackPromptLHTightPlots.Set_d0sig_nBins(d0_nBins);
130 m_oTrackLHVeryLooseNoPixPlots.Set_d0sig_nBins(d0_nBins);
131 m_oTrackLHLooseNoPixPlots.Set_d0sig_nBins(d0_nBins);
132 m_oTrackLHMediumNoPixPlots.Set_d0sig_nBins(d0_nBins);
133 m_oTrackLHTightNoPixPlots.Set_d0sig_nBins(d0_nBins);
134 };
135 void Set_z0_nBins(unsigned z0_nBins)
136 {
137 m_oTrackAllRecoPlots.Set_z0_nBins(z0_nBins);
138 m_oTrackIsoRecoPlots.Set_z0_nBins(z0_nBins);
139 m_oTrackIsoLHLoosePlots.Set_z0_nBins(z0_nBins);
140 m_oTrackIsoLHMediumPlots.Set_z0_nBins(z0_nBins);
141 m_oTrackIsoLHTightPlots.Set_z0_nBins(z0_nBins);
142 m_oTrackPromptRecoPlots.Set_z0_nBins(z0_nBins);
143 m_oTrackPromptLHLoosePlots.Set_z0_nBins(z0_nBins);
144 m_oTrackPromptLHMediumPlots.Set_z0_nBins(z0_nBins);
145 m_oTrackPromptLHTightPlots.Set_z0_nBins(z0_nBins);
146 m_oTrackLHVeryLooseNoPixPlots.Set_z0_nBins(z0_nBins);
147 m_oTrackLHLooseNoPixPlots.Set_z0_nBins(z0_nBins);
148 m_oTrackLHMediumNoPixPlots.Set_z0_nBins(z0_nBins);
149 m_oTrackLHTightNoPixPlots.Set_z0_nBins(z0_nBins);
150 };
151 void Set_d0_Bins(const std::vector<double> &d0Range)
152 {
153 m_oTrackAllRecoPlots.Set_d0_Bins(d0Range);
154 m_oTrackIsoRecoPlots.Set_d0_Bins(d0Range);
155 m_oTrackIsoLHLoosePlots.Set_d0_Bins(d0Range);
156 m_oTrackIsoLHMediumPlots.Set_d0_Bins(d0Range);
157 m_oTrackIsoLHTightPlots.Set_d0_Bins(d0Range);
158 m_oTrackPromptRecoPlots.Set_d0_Bins(d0Range);
159 m_oTrackPromptLHLoosePlots.Set_d0_Bins(d0Range);
160 m_oTrackPromptLHMediumPlots.Set_d0_Bins(d0Range);
161 m_oTrackPromptLHTightPlots.Set_d0_Bins(d0Range);
162 m_oTrackLHVeryLooseNoPixPlots.Set_d0_Bins(d0Range);
163 m_oTrackLHLooseNoPixPlots.Set_d0_Bins(d0Range);
164 m_oTrackLHMediumNoPixPlots.Set_d0_Bins(d0Range);
165 m_oTrackLHTightNoPixPlots.Set_d0_Bins(d0Range);
166 };
167
168 void Set_d0sig_Bins(const std::vector<double> &d0Range)
169 {
170 m_oTrackAllRecoPlots.Set_d0sig_Bins(d0Range);
171 m_oTrackIsoRecoPlots.Set_d0sig_Bins(d0Range);
172 m_oTrackIsoLHLoosePlots.Set_d0sig_Bins(d0Range);
173 m_oTrackIsoLHMediumPlots.Set_d0sig_Bins(d0Range);
174 m_oTrackIsoLHTightPlots.Set_d0sig_Bins(d0Range);
175 m_oTrackPromptRecoPlots.Set_d0sig_Bins(d0Range);
176 m_oTrackPromptLHLoosePlots.Set_d0sig_Bins(d0Range);
177 m_oTrackPromptLHMediumPlots.Set_d0sig_Bins(d0Range);
178 m_oTrackPromptLHTightPlots.Set_d0sig_Bins(d0Range);
179 m_oTrackLHVeryLooseNoPixPlots.Set_d0sig_Bins(d0Range);
180 m_oTrackLHLooseNoPixPlots.Set_d0sig_Bins(d0Range);
181 m_oTrackLHMediumNoPixPlots.Set_d0sig_Bins(d0Range);
182 m_oTrackLHTightNoPixPlots.Set_d0sig_Bins(d0Range);
183 };
184 void Set_z0_Bins(const std::vector<double> &z0Range)
185 {
186 m_oTrackAllRecoPlots.Set_z0_Bins(z0Range);
187 m_oTrackIsoRecoPlots.Set_z0_Bins(z0Range);
188 m_oTrackIsoLHLoosePlots.Set_z0_Bins(z0Range);
189 m_oTrackIsoLHMediumPlots.Set_z0_Bins(z0Range);
190 m_oTrackIsoLHTightPlots.Set_z0_Bins(z0Range);
191 m_oTrackPromptRecoPlots.Set_z0_Bins(z0Range);
192 m_oTrackPromptLHLoosePlots.Set_z0_Bins(z0Range);
193 m_oTrackPromptLHMediumPlots.Set_z0_Bins(z0Range);
194 m_oTrackPromptLHTightPlots.Set_z0_Bins(z0Range);
195 m_oTrackLHVeryLooseNoPixPlots.Set_z0_Bins(z0Range);
196 m_oTrackLHLooseNoPixPlots.Set_z0_Bins(z0Range);
197 m_oTrackLHMediumNoPixPlots.Set_z0_Bins(z0Range);
198 m_oTrackLHTightNoPixPlots.Set_z0_Bins(z0Range);
199 };
200
201
202 private:
203 virtual void initializePlots();
204 bool Match(const xAOD::Egamma& particle);
205
206};
207
208}
209
210#endif
Egamma::KinematicsPlots m_oKinLHMediumNoPixPlots
Egamma::KinematicsPlots m_oKinLHTightNoPixPlots
Egamma::TrackPlots m_oTrackLHVeryLooseNoPixPlots
Egamma::TrackPlots m_oTrackIsoLHTightPlots
void Set_d0_nBins(unsigned d0_nBins)
Egamma::IsolationPlots m_oIsolationPromptLHLoosePlots
Egamma::IsolationPlots m_oIsolationLHMediumNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHLoosePlots
Egamma::TrackPlots m_oTrackLHTightNoPixPlots
Egamma::TrackPlots m_oTrackIsoLHMediumPlots
Egamma::IsolationPlots m_oIsolationLHLooseNoPixPlots
Egamma::KinematicsPlots m_oKinLHVeryLooseNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHLoosePlots
void Set_d0_Bins(const std::vector< double > &d0Range)
Egamma::TrackPlots m_oTrackPromptLHMediumPlots
Egamma::TrackPlots m_oTrackPromptRecoPlots
Egamma::IsolationPlots m_oIsolationIsoLHMediumPlots
Egamma::IsolationPlots m_oIsolationLHVeryLooseNoPixPlots
Egamma::TrackPlots m_oTrackAllRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHTightNoPixPlots
Egamma::IsolationPlots m_oIsolationPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHMediumNoPixPlots
Egamma::KinematicsPlots m_oKinIsoLHLoosePlots
Egamma::IsolationPlots m_oIsolationIsoRecoPlots
Egamma::KinematicsPlots m_oKinIsoLHTightPlots
bool Match(const xAOD::Egamma &particle)
Egamma::KinematicsPlots m_oKinLHLooseNoPixPlots
void Set_z0_nBins(unsigned z0_nBins)
Egamma::KinematicsPlots m_oKinPromptRecoPlots
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo, bool isPrompt, bool pass_LHVeryLooseNoPix, bool pass_LHLooseNoPix, bool pass_LHMediumNoPix, bool pass_LHTightNoPix)
Egamma::KinematicsPlots m_oKinPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHMediumPlots
Egamma::TrackPlots m_oTrackPromptLHTightPlots
void Set_d0sig_Bins(const std::vector< double > &d0Range)
Egamma::KinematicsPlots m_oKinIsoLHMediumPlots
Egamma::TrackPlots m_oTrackIsoLHLoosePlots
Egamma::IsolationPlots m_oIsolationPromptLHMediumPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHMediumPlots
Egamma::TrackPlots m_oTrackPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptRecoPlots
Egamma::IsolationPlots m_oIsolationIsoLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoRecoPlots
Egamma::IsolationPlots m_oIsolationLHTightNoPixPlots
LRTElectronPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Egamma::KinematicsPlots m_oKinPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesLHLooseNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHVeryLooseNoPixPlots
Egamma::TrackPlots m_oTrackLHLooseNoPixPlots
Egamma::TrackPlots m_oTrackLHMediumNoPixPlots
void Set_z0_Bins(const std::vector< double > &z0Range)
Egamma::IsolationPlots m_oIsolationIsoLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesAllRecoPlots
void Set_d0sig_nBins(unsigned d0_nBins)
Egamma::IsolationPlots m_oIsolationPromptRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHTightPlots
Egamma::IsolationPlots m_oIsolationAllRecoPlots
Egamma::TrackPlots m_oTrackIsoRecoPlots
Egamma::KinematicsPlots m_oKinAllRecoPlots
Egamma::KinematicsPlots m_oKinIsoRecoPlots
Egamma::KinematicsPlots m_oKinPromptLHMediumPlots
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
EventInfo_v1 EventInfo
Definition of the latest event info version.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17
Electron_v1 Electron
Definition of the current "egamma version".