ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
StandardModelPhys
Validation
ZeeValidation
ZeeValidation
ReconElectronsPlots.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZEEVALIDATION_RECONELECTRONSPLOTS_H
6
#define ZEEVALIDATION_RECONELECTRONSPLOTS_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "CLHEP/Units/SystemOfUnits.h"
10
#include "
xAODEventInfo/EventInfo.h
"
11
#include "
xAODEgamma/Electron.h
"
12
#include "
xAODTracking/Vertex.h
"
13
#include "
xAODTracking/VertexContainer.h
"
14
15
namespace
ZeeValidation
{
16
17
class
ReconElectronsPlots
:
public
PlotBase
{
18
public
:
19
ReconElectronsPlots
(
PlotBase
* pParent,
const
std::string& sDir,
const
std::string& sParticleType);
20
21
void
fill
(
const
xAOD::Electron
* electron,
int
level);
22
void
fillinAcc
(
const
xAOD::Electron
* electron,
int
level);
23
void
fill
(
const
xAOD::EventInfo
* eventInfo,
const
xAOD::VertexContainer
* vertices);
24
25
void
fillShowerShape
(
const
xAOD::Electron
* electron);
26
void
fillTrackCaloMatch
(
const
xAOD::Electron
* electron,
const
xAOD::TrackParticle
* track);
27
void
fillIsolation
(
const
xAOD::Electron
* electron);
28
void
fillHitInfo
(
const
xAOD::Electron
* electron);
29
30
void
makeEfficiencyPlot
(TH1* hDenom, TH1* hNom, TProfile* hEff);
31
32
//nLevels = 5 (LHLoose, LHMedium, LHTight, Loose, Medium, Tight, OQ, Reco)
33
static
const
int
nLevels
= 8;
34
static
const
std::string
cLevelLabel
[
nLevels
];
35
36
// Reco only information
37
std::string
m_sParticleType
;
38
39
TH1*
h_electron_n
;
40
TH1*
h_photon_n
;
41
TH1*
h_electron_author
;
42
TH1*
h_nvtx
;
43
TH1*
h_mu
;
44
TH1*
h_bcid
;
45
TH1*
h_track_n
;
46
TH1*
h_pv_x
;
47
TH1*
h_pv_y
;
48
TH1*
h_pv_z
;
49
50
TH1*
h_electron_pt
[
nLevels
];
51
TH1*
h_electron_eta
[
nLevels
];
52
TH1*
h_electron_phi
[
nLevels
];
53
54
TProfile*
h_electron_eff_pt
[
nLevels
-1];
55
TProfile*
h_electron_eff_eta
[
nLevels
-1];
56
TProfile*
h_electron_eff_phi
[
nLevels
-1];
57
58
TH1*
h_f1
;
59
TH1*
h_f3
;
60
TH1*
h_f1core
;
61
TH1*
h_f3core
;
62
TH1*
h_e233
;
63
TH1*
h_e237
;
64
TH1*
h_e277
;
65
TH1*
h_reta
;
66
TH1*
h_rphi
;
67
TH1*
h_weta1
;
68
TH1*
h_weta2
;
69
TH1*
h_wtots1
;
70
TH1*
h_ethad
;
71
TH1*
h_ethad1
;
72
TH1*
h_fethad
;
73
TH1*
h_fethad1
;
74
TH1*
h_e2tsts1
;
75
TH1*
h_fracs1
;
76
TH1*
h_emins1
;
77
TH1*
h_emaxs1
;
78
TH1*
h_demm1
;
79
TH1*
h_iso
;
80
TH1*
h_eratio
;
81
82
TH1*
h_deta1
;
83
TH1*
h_deta2
;
84
TH1*
h_dphi1
;
85
TH1*
h_dphi2
;
86
TH1*
h_dphires2
;
87
88
TH1*
h_etcone20
;
89
TH1*
h_etcone30
;
90
TH1*
h_etcone40
;
91
TH1*
h_fetcone20
;
92
TH1*
h_fetcone30
;
93
TH1*
h_fetcone40
;
94
TH1*
h_ptcone20
;
95
TH1*
h_ptcone30
;
96
TH1*
h_ptcone40
;
97
98
TH1*
h_n_blayer_hits
;
99
TH1*
h_n_pixel_hits
;
100
TH1*
h_n_si_hits
;
101
TH1*
h_n_trt_hits
;
102
TH1*
h_n_trt_hits_high
;
103
TH1*
h_r_trt_hits
;
104
105
TH1*
h_n_blayer_hits_outliers
;
106
TH1*
h_n_pixel_hits_outliers
;
107
TH1*
h_n_si_hits_outliers
;
108
TH1*
h_n_trt_hits_outliers
;
109
TH1*
h_n_trt_hits_high_outliers
;
110
TH1*
h_r_trt_hits_outliers
;
111
112
TH1*
h_d0
;
113
TH1*
h_sigmad0
;
114
TH1*
h_eoverp
;
115
TH1*
h_eoverpq
;
116
117
private
:
118
119
virtual
void
initializePlots
();
120
virtual
void
finalizePlots
();
121
122
};
123
}
124
125
#endif
Electron.h
Vertex.h
PlotBase.h
VertexContainer.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
ZeeValidation::ReconElectronsPlots::h_e233
TH1 * h_e233
Definition
ReconElectronsPlots.h:62
ZeeValidation::ReconElectronsPlots::h_ptcone40
TH1 * h_ptcone40
Definition
ReconElectronsPlots.h:96
ZeeValidation::ReconElectronsPlots::h_dphi1
TH1 * h_dphi1
Definition
ReconElectronsPlots.h:84
ZeeValidation::ReconElectronsPlots::h_electron_n
TH1 * h_electron_n
Definition
ReconElectronsPlots.h:39
ZeeValidation::ReconElectronsPlots::h_deta2
TH1 * h_deta2
Definition
ReconElectronsPlots.h:83
ZeeValidation::ReconElectronsPlots::fillinAcc
void fillinAcc(const xAOD::Electron *electron, int level)
Definition
ReconElectronsPlots.cxx:184
ZeeValidation::ReconElectronsPlots::h_fracs1
TH1 * h_fracs1
Definition
ReconElectronsPlots.h:75
ZeeValidation::ReconElectronsPlots::h_ethad1
TH1 * h_ethad1
Definition
ReconElectronsPlots.h:71
ZeeValidation::ReconElectronsPlots::h_pv_y
TH1 * h_pv_y
Definition
ReconElectronsPlots.h:47
ZeeValidation::ReconElectronsPlots::h_n_blayer_hits
TH1 * h_n_blayer_hits
Definition
ReconElectronsPlots.h:98
ZeeValidation::ReconElectronsPlots::h_sigmad0
TH1 * h_sigmad0
Definition
ReconElectronsPlots.h:113
ZeeValidation::ReconElectronsPlots::h_dphi2
TH1 * h_dphi2
Definition
ReconElectronsPlots.h:85
ZeeValidation::ReconElectronsPlots::h_ethad
TH1 * h_ethad
Definition
ReconElectronsPlots.h:70
ZeeValidation::ReconElectronsPlots::h_dphires2
TH1 * h_dphires2
Definition
ReconElectronsPlots.h:86
ZeeValidation::ReconElectronsPlots::fill
void fill(const xAOD::Electron *electron, int level)
Definition
ReconElectronsPlots.cxx:180
ZeeValidation::ReconElectronsPlots::h_pv_x
TH1 * h_pv_x
Definition
ReconElectronsPlots.h:46
ZeeValidation::ReconElectronsPlots::h_pv_z
TH1 * h_pv_z
Definition
ReconElectronsPlots.h:48
ZeeValidation::ReconElectronsPlots::ReconElectronsPlots
ReconElectronsPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition
ReconElectronsPlots.cxx:12
ZeeValidation::ReconElectronsPlots::h_emaxs1
TH1 * h_emaxs1
Definition
ReconElectronsPlots.h:77
ZeeValidation::ReconElectronsPlots::h_electron_phi
TH1 * h_electron_phi[nLevels]
Definition
ReconElectronsPlots.h:52
ZeeValidation::ReconElectronsPlots::cLevelLabel
static const std::string cLevelLabel[nLevels]
Definition
ReconElectronsPlots.h:34
ZeeValidation::ReconElectronsPlots::h_deta1
TH1 * h_deta1
Definition
ReconElectronsPlots.h:82
ZeeValidation::ReconElectronsPlots::h_f3
TH1 * h_f3
Definition
ReconElectronsPlots.h:59
ZeeValidation::ReconElectronsPlots::h_fethad1
TH1 * h_fethad1
Definition
ReconElectronsPlots.h:73
ZeeValidation::ReconElectronsPlots::h_weta2
TH1 * h_weta2
Definition
ReconElectronsPlots.h:68
ZeeValidation::ReconElectronsPlots::h_n_si_hits_outliers
TH1 * h_n_si_hits_outliers
Definition
ReconElectronsPlots.h:107
ZeeValidation::ReconElectronsPlots::h_electron_eff_phi
TProfile * h_electron_eff_phi[nLevels-1]
Definition
ReconElectronsPlots.h:56
ZeeValidation::ReconElectronsPlots::h_etcone30
TH1 * h_etcone30
Definition
ReconElectronsPlots.h:89
ZeeValidation::ReconElectronsPlots::h_fethad
TH1 * h_fethad
Definition
ReconElectronsPlots.h:72
ZeeValidation::ReconElectronsPlots::h_e237
TH1 * h_e237
Definition
ReconElectronsPlots.h:63
ZeeValidation::ReconElectronsPlots::h_n_trt_hits_high
TH1 * h_n_trt_hits_high
Definition
ReconElectronsPlots.h:102
ZeeValidation::ReconElectronsPlots::h_r_trt_hits
TH1 * h_r_trt_hits
Definition
ReconElectronsPlots.h:103
ZeeValidation::ReconElectronsPlots::h_e277
TH1 * h_e277
Definition
ReconElectronsPlots.h:64
ZeeValidation::ReconElectronsPlots::h_n_pixel_hits
TH1 * h_n_pixel_hits
Definition
ReconElectronsPlots.h:99
ZeeValidation::ReconElectronsPlots::h_n_trt_hits_high_outliers
TH1 * h_n_trt_hits_high_outliers
Definition
ReconElectronsPlots.h:109
ZeeValidation::ReconElectronsPlots::h_ptcone30
TH1 * h_ptcone30
Definition
ReconElectronsPlots.h:95
ZeeValidation::ReconElectronsPlots::finalizePlots
virtual void finalizePlots()
Definition
ReconElectronsPlots.cxx:312
ZeeValidation::ReconElectronsPlots::h_n_trt_hits
TH1 * h_n_trt_hits
Definition
ReconElectronsPlots.h:101
ZeeValidation::ReconElectronsPlots::h_emins1
TH1 * h_emins1
Definition
ReconElectronsPlots.h:76
ZeeValidation::ReconElectronsPlots::h_e2tsts1
TH1 * h_e2tsts1
Definition
ReconElectronsPlots.h:74
ZeeValidation::ReconElectronsPlots::h_eoverp
TH1 * h_eoverp
Definition
ReconElectronsPlots.h:114
ZeeValidation::ReconElectronsPlots::h_eoverpq
TH1 * h_eoverpq
Definition
ReconElectronsPlots.h:115
ZeeValidation::ReconElectronsPlots::h_ptcone20
TH1 * h_ptcone20
Definition
ReconElectronsPlots.h:94
ZeeValidation::ReconElectronsPlots::h_n_trt_hits_outliers
TH1 * h_n_trt_hits_outliers
Definition
ReconElectronsPlots.h:108
ZeeValidation::ReconElectronsPlots::h_electron_eta
TH1 * h_electron_eta[nLevels]
Definition
ReconElectronsPlots.h:51
ZeeValidation::ReconElectronsPlots::h_photon_n
TH1 * h_photon_n
Definition
ReconElectronsPlots.h:40
ZeeValidation::ReconElectronsPlots::fillShowerShape
void fillShowerShape(const xAOD::Electron *electron)
Definition
ReconElectronsPlots.cxx:189
ZeeValidation::ReconElectronsPlots::fillIsolation
void fillIsolation(const xAOD::Electron *electron)
Definition
ReconElectronsPlots.cxx:255
ZeeValidation::ReconElectronsPlots::fillTrackCaloMatch
void fillTrackCaloMatch(const xAOD::Electron *electron, const xAOD::TrackParticle *track)
Definition
ReconElectronsPlots.cxx:235
ZeeValidation::ReconElectronsPlots::h_wtots1
TH1 * h_wtots1
Definition
ReconElectronsPlots.h:69
ZeeValidation::ReconElectronsPlots::h_f3core
TH1 * h_f3core
Definition
ReconElectronsPlots.h:61
ZeeValidation::ReconElectronsPlots::h_etcone20
TH1 * h_etcone20
Definition
ReconElectronsPlots.h:88
ZeeValidation::ReconElectronsPlots::m_sParticleType
std::string m_sParticleType
Definition
ReconElectronsPlots.h:37
ZeeValidation::ReconElectronsPlots::h_etcone40
TH1 * h_etcone40
Definition
ReconElectronsPlots.h:90
ZeeValidation::ReconElectronsPlots::h_demm1
TH1 * h_demm1
Definition
ReconElectronsPlots.h:78
ZeeValidation::ReconElectronsPlots::makeEfficiencyPlot
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
Definition
ReconElectronsPlots.cxx:321
ZeeValidation::ReconElectronsPlots::h_track_n
TH1 * h_track_n
Definition
ReconElectronsPlots.h:45
ZeeValidation::ReconElectronsPlots::h_electron_eff_eta
TProfile * h_electron_eff_eta[nLevels-1]
Definition
ReconElectronsPlots.h:55
ZeeValidation::ReconElectronsPlots::h_eratio
TH1 * h_eratio
Definition
ReconElectronsPlots.h:80
ZeeValidation::ReconElectronsPlots::h_electron_author
TH1 * h_electron_author
Definition
ReconElectronsPlots.h:41
ZeeValidation::ReconElectronsPlots::h_reta
TH1 * h_reta
Definition
ReconElectronsPlots.h:65
ZeeValidation::ReconElectronsPlots::h_fetcone20
TH1 * h_fetcone20
Definition
ReconElectronsPlots.h:91
ZeeValidation::ReconElectronsPlots::h_bcid
TH1 * h_bcid
Definition
ReconElectronsPlots.h:44
ZeeValidation::ReconElectronsPlots::initializePlots
virtual void initializePlots()
Definition
ReconElectronsPlots.cxx:66
ZeeValidation::ReconElectronsPlots::h_f1
TH1 * h_f1
Definition
ReconElectronsPlots.h:58
ZeeValidation::ReconElectronsPlots::h_n_pixel_hits_outliers
TH1 * h_n_pixel_hits_outliers
Definition
ReconElectronsPlots.h:106
ZeeValidation::ReconElectronsPlots::nLevels
static const int nLevels
Definition
ReconElectronsPlots.h:33
ZeeValidation::ReconElectronsPlots::h_d0
TH1 * h_d0
Definition
ReconElectronsPlots.h:112
ZeeValidation::ReconElectronsPlots::h_fetcone30
TH1 * h_fetcone30
Definition
ReconElectronsPlots.h:92
ZeeValidation::ReconElectronsPlots::h_r_trt_hits_outliers
TH1 * h_r_trt_hits_outliers
Definition
ReconElectronsPlots.h:110
ZeeValidation::ReconElectronsPlots::h_mu
TH1 * h_mu
Definition
ReconElectronsPlots.h:43
ZeeValidation::ReconElectronsPlots::h_n_si_hits
TH1 * h_n_si_hits
Definition
ReconElectronsPlots.h:100
ZeeValidation::ReconElectronsPlots::h_weta1
TH1 * h_weta1
Definition
ReconElectronsPlots.h:67
ZeeValidation::ReconElectronsPlots::h_rphi
TH1 * h_rphi
Definition
ReconElectronsPlots.h:66
ZeeValidation::ReconElectronsPlots::h_n_blayer_hits_outliers
TH1 * h_n_blayer_hits_outliers
Definition
ReconElectronsPlots.h:105
ZeeValidation::ReconElectronsPlots::h_electron_eff_pt
TProfile * h_electron_eff_pt[nLevels-1]
Definition
ReconElectronsPlots.h:54
ZeeValidation::ReconElectronsPlots::h_f1core
TH1 * h_f1core
Definition
ReconElectronsPlots.h:60
ZeeValidation::ReconElectronsPlots::h_electron_pt
TH1 * h_electron_pt[nLevels]
Definition
ReconElectronsPlots.h:50
ZeeValidation::ReconElectronsPlots::h_nvtx
TH1 * h_nvtx
Definition
ReconElectronsPlots.h:42
ZeeValidation::ReconElectronsPlots::fillHitInfo
void fillHitInfo(const xAOD::Electron *electron)
Definition
ReconElectronsPlots.cxx:277
ZeeValidation::ReconElectronsPlots::h_fetcone40
TH1 * h_fetcone40
Definition
ReconElectronsPlots.h:93
ZeeValidation::ReconElectronsPlots::h_iso
TH1 * h_iso
Definition
ReconElectronsPlots.h:79
ZeeValidation
Definition
FWDZeePlots.cxx:9
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0