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"
17
18#include "xAODEgamma/Electron.h"
20
21namespace Egamma{
22
23class ElectronPlots:public PlotBase {
24 public:
25 ElectronPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
26 void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo, bool isPrompt);
27 // Reco only information
28
34
40
45
50
55
60
65
70
75
79 std::string m_sParticleType;
80
81 void Set_d0_nBins(unsigned d0_nBins)
82 {
83 m_oTrackAllRecoPlots.Set_d0_nBins(d0_nBins);
84 m_oTrackIsoRecoPlots.Set_d0_nBins(d0_nBins);
85 m_oTrackIsoLHLoosePlots.Set_d0_nBins(d0_nBins);
86 m_oTrackIsoLHMediumPlots.Set_d0_nBins(d0_nBins);
87 m_oTrackIsoLHTightPlots.Set_d0_nBins(d0_nBins);
88 m_oTrackPromptRecoPlots.Set_d0_nBins(d0_nBins);
89 m_oTrackPromptLHLoosePlots.Set_d0_nBins(d0_nBins);
90 m_oTrackPromptLHMediumPlots.Set_d0_nBins(d0_nBins);
91 m_oTrackPromptLHTightPlots.Set_d0_nBins(d0_nBins);
92 };
93
94 void Set_d0sig_nBins(unsigned d0_nBins)
95 {
96 m_oTrackAllRecoPlots.Set_d0sig_nBins(d0_nBins);
97 m_oTrackIsoRecoPlots.Set_d0sig_nBins(d0_nBins);
98 m_oTrackIsoLHLoosePlots.Set_d0sig_nBins(d0_nBins);
99 m_oTrackIsoLHMediumPlots.Set_d0sig_nBins(d0_nBins);
100 m_oTrackIsoLHTightPlots.Set_d0sig_nBins(d0_nBins);
101 m_oTrackPromptRecoPlots.Set_d0sig_nBins(d0_nBins);
102 m_oTrackPromptLHLoosePlots.Set_d0sig_nBins(d0_nBins);
103 m_oTrackPromptLHMediumPlots.Set_d0sig_nBins(d0_nBins);
104 m_oTrackPromptLHTightPlots.Set_d0sig_nBins(d0_nBins);
105 };
106 void Set_z0_nBins(unsigned z0_nBins)
107 {
108 m_oTrackAllRecoPlots.Set_z0_nBins(z0_nBins);
109 m_oTrackIsoRecoPlots.Set_z0_nBins(z0_nBins);
110 m_oTrackIsoLHLoosePlots.Set_z0_nBins(z0_nBins);
111 m_oTrackIsoLHMediumPlots.Set_z0_nBins(z0_nBins);
112 m_oTrackIsoLHTightPlots.Set_z0_nBins(z0_nBins);
113 m_oTrackPromptRecoPlots.Set_z0_nBins(z0_nBins);
114 m_oTrackPromptLHLoosePlots.Set_z0_nBins(z0_nBins);
115 m_oTrackPromptLHMediumPlots.Set_z0_nBins(z0_nBins);
116 m_oTrackPromptLHTightPlots.Set_z0_nBins(z0_nBins);
117 };
118 void Set_d0_Bins(const std::vector<double> &d0Range)
119 {
120 m_oTrackAllRecoPlots.Set_d0_Bins(d0Range);
121 m_oTrackIsoRecoPlots.Set_d0_Bins(d0Range);
122 m_oTrackIsoLHLoosePlots.Set_d0_Bins(d0Range);
123 m_oTrackIsoLHMediumPlots.Set_d0_Bins(d0Range);
124 m_oTrackIsoLHTightPlots.Set_d0_Bins(d0Range);
125 m_oTrackPromptRecoPlots.Set_d0_Bins(d0Range);
126 m_oTrackPromptLHLoosePlots.Set_d0_Bins(d0Range);
127 m_oTrackPromptLHMediumPlots.Set_d0_Bins(d0Range);
128 m_oTrackPromptLHTightPlots.Set_d0_Bins(d0Range);
129 };
130
131 void Set_d0sig_Bins(const std::vector<double> &d0Range)
132 {
133 m_oTrackAllRecoPlots.Set_d0sig_Bins(d0Range);
134 m_oTrackIsoRecoPlots.Set_d0sig_Bins(d0Range);
135 m_oTrackIsoLHLoosePlots.Set_d0sig_Bins(d0Range);
136 m_oTrackIsoLHMediumPlots.Set_d0sig_Bins(d0Range);
137 m_oTrackIsoLHTightPlots.Set_d0sig_Bins(d0Range);
138 m_oTrackPromptRecoPlots.Set_d0sig_Bins(d0Range);
139 m_oTrackPromptLHLoosePlots.Set_d0sig_Bins(d0Range);
140 m_oTrackPromptLHMediumPlots.Set_d0sig_Bins(d0Range);
141 m_oTrackPromptLHTightPlots.Set_d0sig_Bins(d0Range);
142 };
143 void Set_z0_Bins(const std::vector<double> &z0Range)
144 {
145 m_oTrackAllRecoPlots.Set_z0_Bins(z0Range);
146 m_oTrackIsoRecoPlots.Set_z0_Bins(z0Range);
147 m_oTrackIsoLHLoosePlots.Set_z0_Bins(z0Range);
148 m_oTrackIsoLHMediumPlots.Set_z0_Bins(z0Range);
149 m_oTrackIsoLHTightPlots.Set_z0_Bins(z0Range);
150 m_oTrackPromptRecoPlots.Set_z0_Bins(z0Range);
151 m_oTrackPromptLHLoosePlots.Set_z0_Bins(z0Range);
152 m_oTrackPromptLHMediumPlots.Set_z0_Bins(z0Range);
153 m_oTrackPromptLHTightPlots.Set_z0_Bins(z0Range);
154 };
155
156
157 private:
158 virtual void initializePlots();
159
160 bool Match(const xAOD::Egamma& particle);
161
162};
163
164}
165
166#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".