ATLAS Offline Software
Loading...
Searching...
No Matches
ElectronPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EGAMMAPHYSVALMONITORING_ELECTRONPLOTS_H
6#define EGAMMAPHYSVALMONITORING_ELECTRONPLOTS_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
24class ElectronPlots:public PlotBase {
25 public:
26 ElectronPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
27 void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo, bool isPrompt);
28 // Reco only information
29
35
41
46
51
56
61
66
71
76
80 std::string m_sParticleType;
81
82 void Set_d0_nBins(unsigned d0_nBins)
83 {
84 m_oTrackAllRecoPlots.Set_d0_nBins(d0_nBins);
85 m_oTrackIsoRecoPlots.Set_d0_nBins(d0_nBins);
86 m_oTrackIsoLHLoosePlots.Set_d0_nBins(d0_nBins);
87 m_oTrackIsoLHMediumPlots.Set_d0_nBins(d0_nBins);
88 m_oTrackIsoLHTightPlots.Set_d0_nBins(d0_nBins);
89 m_oTrackPromptRecoPlots.Set_d0_nBins(d0_nBins);
90 m_oTrackPromptLHLoosePlots.Set_d0_nBins(d0_nBins);
91 m_oTrackPromptLHMediumPlots.Set_d0_nBins(d0_nBins);
92 m_oTrackPromptLHTightPlots.Set_d0_nBins(d0_nBins);
93 };
94
95 void Set_d0sig_nBins(unsigned d0_nBins)
96 {
97 m_oTrackAllRecoPlots.Set_d0sig_nBins(d0_nBins);
98 m_oTrackIsoRecoPlots.Set_d0sig_nBins(d0_nBins);
99 m_oTrackIsoLHLoosePlots.Set_d0sig_nBins(d0_nBins);
100 m_oTrackIsoLHMediumPlots.Set_d0sig_nBins(d0_nBins);
101 m_oTrackIsoLHTightPlots.Set_d0sig_nBins(d0_nBins);
102 m_oTrackPromptRecoPlots.Set_d0sig_nBins(d0_nBins);
103 m_oTrackPromptLHLoosePlots.Set_d0sig_nBins(d0_nBins);
104 m_oTrackPromptLHMediumPlots.Set_d0sig_nBins(d0_nBins);
105 m_oTrackPromptLHTightPlots.Set_d0sig_nBins(d0_nBins);
106 };
107 void Set_z0_nBins(unsigned z0_nBins)
108 {
109 m_oTrackAllRecoPlots.Set_z0_nBins(z0_nBins);
110 m_oTrackIsoRecoPlots.Set_z0_nBins(z0_nBins);
111 m_oTrackIsoLHLoosePlots.Set_z0_nBins(z0_nBins);
112 m_oTrackIsoLHMediumPlots.Set_z0_nBins(z0_nBins);
113 m_oTrackIsoLHTightPlots.Set_z0_nBins(z0_nBins);
114 m_oTrackPromptRecoPlots.Set_z0_nBins(z0_nBins);
115 m_oTrackPromptLHLoosePlots.Set_z0_nBins(z0_nBins);
116 m_oTrackPromptLHMediumPlots.Set_z0_nBins(z0_nBins);
117 m_oTrackPromptLHTightPlots.Set_z0_nBins(z0_nBins);
118 };
119 void Set_d0_Bins(const std::vector<double> &d0Range)
120 {
121 m_oTrackAllRecoPlots.Set_d0_Bins(d0Range);
122 m_oTrackIsoRecoPlots.Set_d0_Bins(d0Range);
123 m_oTrackIsoLHLoosePlots.Set_d0_Bins(d0Range);
124 m_oTrackIsoLHMediumPlots.Set_d0_Bins(d0Range);
125 m_oTrackIsoLHTightPlots.Set_d0_Bins(d0Range);
126 m_oTrackPromptRecoPlots.Set_d0_Bins(d0Range);
127 m_oTrackPromptLHLoosePlots.Set_d0_Bins(d0Range);
128 m_oTrackPromptLHMediumPlots.Set_d0_Bins(d0Range);
129 m_oTrackPromptLHTightPlots.Set_d0_Bins(d0Range);
130 };
131
132 void Set_d0sig_Bins(const std::vector<double> &d0Range)
133 {
134 m_oTrackAllRecoPlots.Set_d0sig_Bins(d0Range);
135 m_oTrackIsoRecoPlots.Set_d0sig_Bins(d0Range);
136 m_oTrackIsoLHLoosePlots.Set_d0sig_Bins(d0Range);
137 m_oTrackIsoLHMediumPlots.Set_d0sig_Bins(d0Range);
138 m_oTrackIsoLHTightPlots.Set_d0sig_Bins(d0Range);
139 m_oTrackPromptRecoPlots.Set_d0sig_Bins(d0Range);
140 m_oTrackPromptLHLoosePlots.Set_d0sig_Bins(d0Range);
141 m_oTrackPromptLHMediumPlots.Set_d0sig_Bins(d0Range);
142 m_oTrackPromptLHTightPlots.Set_d0sig_Bins(d0Range);
143 };
144 void Set_z0_Bins(const std::vector<double> &z0Range)
145 {
146 m_oTrackAllRecoPlots.Set_z0_Bins(z0Range);
147 m_oTrackIsoRecoPlots.Set_z0_Bins(z0Range);
148 m_oTrackIsoLHLoosePlots.Set_z0_Bins(z0Range);
149 m_oTrackIsoLHMediumPlots.Set_z0_Bins(z0Range);
150 m_oTrackIsoLHTightPlots.Set_z0_Bins(z0Range);
151 m_oTrackPromptRecoPlots.Set_z0_Bins(z0Range);
152 m_oTrackPromptLHLoosePlots.Set_z0_Bins(z0Range);
153 m_oTrackPromptLHMediumPlots.Set_z0_Bins(z0Range);
154 m_oTrackPromptLHTightPlots.Set_z0_Bins(z0Range);
155 };
156
157
158 private:
159 virtual void initializePlots();
160
161 bool Match(const xAOD::Egamma& particle);
162
163};
164
165}
166
167#endif
Egamma::IsolationPlots m_oIsolationIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationPromptRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHMediumPlots
Egamma::TrackPlots m_oTrackIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationIsoLHLoosePlots
std::string m_sParticleType
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptRecoPlots
void Set_d0sig_Bins(const std::vector< double > &d0Range)
Egamma::ShowerShapesPlots m_oShowerShapesAllRecoPlots
Egamma::IsolationPlots m_oIsolationIsoRecoPlots
void Set_d0_nBins(unsigned d0_nBins)
void Set_d0sig_nBins(unsigned d0_nBins)
Egamma::TrackPlots m_oTrackIsoLHMediumPlots
ElectronPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoRecoPlots
Egamma::IsolationPlots m_oIsolationPromptLHTightPlots
Egamma::TrackPlots m_oTrackPromptLHLoosePlots
void Set_z0_nBins(unsigned z0_nBins)
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesAll10GeVRecoPlots
Egamma::IsolationPlots m_oIsolationAllRecoPlots
Egamma::KinematicsPlots m_oKinPromptLHLoosePlots
void Set_d0_Bins(const std::vector< double > &d0Range)
Egamma::KinematicsPlots m_oKinIsoLHMediumPlots
Egamma::KinematicsPlots m_oKinIsoRecoPlots
Egamma::TrackPlots m_oTrackIsoRecoPlots
Egamma::TrackPlots m_oTrackIsoLHLoosePlots
void Set_z0_Bins(const std::vector< double > &z0Range)
Egamma::KinematicsPlots m_oKinPromptLHMediumPlots
Egamma::KinematicsPlots m_oKinPromptRecoPlots
Egamma::IsolationPlots m_oIsolationIsoLHMediumPlots
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo, bool isPrompt)
Egamma::TrackPlots m_oTrackPromptLHTightPlots
Egamma::KinematicsPlots m_oKinPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHMediumPlots
virtual void initializePlots()
Egamma::TrackPlots m_oTrackAllRecoPlots
Egamma::IsolationPlots m_oIsolationPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHLoosePlots
Egamma::KinematicsPlots m_oKinIsoLHTightPlots
Egamma::TrackPlots m_oTrackPromptRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesIso10GeVRecoPlots
bool Match(const xAOD::Egamma &particle)
Egamma::KinematicsPlots m_oKinIsoLHLoosePlots
Egamma::IsolationPlots m_oIsolationPromptLHMediumPlots
Egamma::TrackPlots m_oTrackPromptLHMediumPlots
Egamma::KinematicsPlots m_oKinAllRecoPlots
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".