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"
17
18#include "xAODEgamma/Electron.h"
20
21namespace Egamma{
22
24 public:
25 LRTElectronPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
26 void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo, bool isPrompt, bool pass_LHVeryLooseNoPix, bool pass_LHLooseNoPix, bool pass_LHMediumNoPix, bool pass_LHTightNoPix);
27 // Reco only information
28
33
38
43
48
53
58
63
68
73
74 // working point plots
75
80
85
90
95
99 std::string m_sParticleType;
100
101 void Set_d0_nBins(unsigned d0_nBins)
102 {
103 m_oTrackAllRecoPlots.Set_d0_nBins(d0_nBins);
104 m_oTrackIsoRecoPlots.Set_d0_nBins(d0_nBins);
105 m_oTrackIsoLHLoosePlots.Set_d0_nBins(d0_nBins);
106 m_oTrackIsoLHMediumPlots.Set_d0_nBins(d0_nBins);
107 m_oTrackIsoLHTightPlots.Set_d0_nBins(d0_nBins);
108 m_oTrackPromptRecoPlots.Set_d0_nBins(d0_nBins);
109 m_oTrackPromptLHLoosePlots.Set_d0_nBins(d0_nBins);
110 m_oTrackPromptLHMediumPlots.Set_d0_nBins(d0_nBins);
111 m_oTrackPromptLHTightPlots.Set_d0_nBins(d0_nBins);
112 m_oTrackLHVeryLooseNoPixPlots.Set_d0_nBins(d0_nBins);
113 m_oTrackLHLooseNoPixPlots.Set_d0_nBins(d0_nBins);
114 m_oTrackLHMediumNoPixPlots.Set_d0_nBins(d0_nBins);
115 m_oTrackLHTightNoPixPlots.Set_d0_nBins(d0_nBins);
116 };
117
118 void Set_d0sig_nBins(unsigned d0_nBins)
119 {
120 m_oTrackAllRecoPlots.Set_d0sig_nBins(d0_nBins);
121 m_oTrackIsoRecoPlots.Set_d0sig_nBins(d0_nBins);
122 m_oTrackIsoLHLoosePlots.Set_d0sig_nBins(d0_nBins);
123 m_oTrackIsoLHMediumPlots.Set_d0sig_nBins(d0_nBins);
124 m_oTrackIsoLHTightPlots.Set_d0sig_nBins(d0_nBins);
125 m_oTrackPromptRecoPlots.Set_d0sig_nBins(d0_nBins);
126 m_oTrackPromptLHLoosePlots.Set_d0sig_nBins(d0_nBins);
127 m_oTrackPromptLHMediumPlots.Set_d0sig_nBins(d0_nBins);
128 m_oTrackPromptLHTightPlots.Set_d0sig_nBins(d0_nBins);
129 m_oTrackLHVeryLooseNoPixPlots.Set_d0sig_nBins(d0_nBins);
130 m_oTrackLHLooseNoPixPlots.Set_d0sig_nBins(d0_nBins);
131 m_oTrackLHMediumNoPixPlots.Set_d0sig_nBins(d0_nBins);
132 m_oTrackLHTightNoPixPlots.Set_d0sig_nBins(d0_nBins);
133 };
134 void Set_z0_nBins(unsigned z0_nBins)
135 {
136 m_oTrackAllRecoPlots.Set_z0_nBins(z0_nBins);
137 m_oTrackIsoRecoPlots.Set_z0_nBins(z0_nBins);
138 m_oTrackIsoLHLoosePlots.Set_z0_nBins(z0_nBins);
139 m_oTrackIsoLHMediumPlots.Set_z0_nBins(z0_nBins);
140 m_oTrackIsoLHTightPlots.Set_z0_nBins(z0_nBins);
141 m_oTrackPromptRecoPlots.Set_z0_nBins(z0_nBins);
142 m_oTrackPromptLHLoosePlots.Set_z0_nBins(z0_nBins);
143 m_oTrackPromptLHMediumPlots.Set_z0_nBins(z0_nBins);
144 m_oTrackPromptLHTightPlots.Set_z0_nBins(z0_nBins);
145 m_oTrackLHVeryLooseNoPixPlots.Set_z0_nBins(z0_nBins);
146 m_oTrackLHLooseNoPixPlots.Set_z0_nBins(z0_nBins);
147 m_oTrackLHMediumNoPixPlots.Set_z0_nBins(z0_nBins);
148 m_oTrackLHTightNoPixPlots.Set_z0_nBins(z0_nBins);
149 };
150 void Set_d0_Bins(const std::vector<double> &d0Range)
151 {
152 m_oTrackAllRecoPlots.Set_d0_Bins(d0Range);
153 m_oTrackIsoRecoPlots.Set_d0_Bins(d0Range);
154 m_oTrackIsoLHLoosePlots.Set_d0_Bins(d0Range);
155 m_oTrackIsoLHMediumPlots.Set_d0_Bins(d0Range);
156 m_oTrackIsoLHTightPlots.Set_d0_Bins(d0Range);
157 m_oTrackPromptRecoPlots.Set_d0_Bins(d0Range);
158 m_oTrackPromptLHLoosePlots.Set_d0_Bins(d0Range);
159 m_oTrackPromptLHMediumPlots.Set_d0_Bins(d0Range);
160 m_oTrackPromptLHTightPlots.Set_d0_Bins(d0Range);
161 m_oTrackLHVeryLooseNoPixPlots.Set_d0_Bins(d0Range);
162 m_oTrackLHLooseNoPixPlots.Set_d0_Bins(d0Range);
163 m_oTrackLHMediumNoPixPlots.Set_d0_Bins(d0Range);
164 m_oTrackLHTightNoPixPlots.Set_d0_Bins(d0Range);
165 };
166
167 void Set_d0sig_Bins(const std::vector<double> &d0Range)
168 {
169 m_oTrackAllRecoPlots.Set_d0sig_Bins(d0Range);
170 m_oTrackIsoRecoPlots.Set_d0sig_Bins(d0Range);
171 m_oTrackIsoLHLoosePlots.Set_d0sig_Bins(d0Range);
172 m_oTrackIsoLHMediumPlots.Set_d0sig_Bins(d0Range);
173 m_oTrackIsoLHTightPlots.Set_d0sig_Bins(d0Range);
174 m_oTrackPromptRecoPlots.Set_d0sig_Bins(d0Range);
175 m_oTrackPromptLHLoosePlots.Set_d0sig_Bins(d0Range);
176 m_oTrackPromptLHMediumPlots.Set_d0sig_Bins(d0Range);
177 m_oTrackPromptLHTightPlots.Set_d0sig_Bins(d0Range);
178 m_oTrackLHVeryLooseNoPixPlots.Set_d0sig_Bins(d0Range);
179 m_oTrackLHLooseNoPixPlots.Set_d0sig_Bins(d0Range);
180 m_oTrackLHMediumNoPixPlots.Set_d0sig_Bins(d0Range);
181 m_oTrackLHTightNoPixPlots.Set_d0sig_Bins(d0Range);
182 };
183 void Set_z0_Bins(const std::vector<double> &z0Range)
184 {
185 m_oTrackAllRecoPlots.Set_z0_Bins(z0Range);
186 m_oTrackIsoRecoPlots.Set_z0_Bins(z0Range);
187 m_oTrackIsoLHLoosePlots.Set_z0_Bins(z0Range);
188 m_oTrackIsoLHMediumPlots.Set_z0_Bins(z0Range);
189 m_oTrackIsoLHTightPlots.Set_z0_Bins(z0Range);
190 m_oTrackPromptRecoPlots.Set_z0_Bins(z0Range);
191 m_oTrackPromptLHLoosePlots.Set_z0_Bins(z0Range);
192 m_oTrackPromptLHMediumPlots.Set_z0_Bins(z0Range);
193 m_oTrackPromptLHTightPlots.Set_z0_Bins(z0Range);
194 m_oTrackLHVeryLooseNoPixPlots.Set_z0_Bins(z0Range);
195 m_oTrackLHLooseNoPixPlots.Set_z0_Bins(z0Range);
196 m_oTrackLHMediumNoPixPlots.Set_z0_Bins(z0Range);
197 m_oTrackLHTightNoPixPlots.Set_z0_Bins(z0Range);
198 };
199
200
201 private:
202 virtual void initializePlots();
203 bool Match(const xAOD::Egamma& particle);
204
205};
206
207}
208
209#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, std::string_view 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".