ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
StandardModelPhys
Validation
ZeeValidation
ZeeValidation
TrueElectronsPlots.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_TRUEELECTRONSPLOTS_H
6
#define ZEEVALIDATION_TRUEELECTRONSPLOTS_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "CLHEP/Units/SystemOfUnits.h"
10
#include "
xAODBase/IParticle.h
"
11
#include "
xAODEgamma/Electron.h
"
12
13
namespace
ZeeValidation
{
14
15
class
TrueElectronsPlots
:
public
PlotBase
{
16
public
:
17
TrueElectronsPlots
(
PlotBase
* pParent,
const
std::string& sDir,
const
std::string& sParticleType);
18
void
fill
(
const
xAOD::IParticle
* part,
int
level);
19
void
fillinAcc
(
const
xAOD::IParticle
* part,
int
level);
20
21
void
fillResponse
(
const
xAOD::IParticle
* part,
const
xAOD::Electron
* electron);
22
void
fillResponseCluster
(
const
xAOD::IParticle
* part,
const
xAOD::CaloCluster
* cluster);
23
24
void
makeEfficiencyPlot
(TH1* hDenom, TH1* hNom, TProfile* hEff);
25
26
// Reco only information
27
std::string
m_sParticleType
;
28
29
//nLevels = 10 (Loose, Medium, Tight, LHLoose, LHMedium, LHTight, OQ, MatchedEl, MatchedElPh, True)
30
static
const
int
nLevels
= 10;
31
static
const
std::string
cLevelLabel
[
nLevels
];
32
33
TH1*
h_electron_pt
[
nLevels
];
34
TH1*
h_electron_eta
[
nLevels
];
35
TH1*
h_electron_phi
[
nLevels
];
36
37
TProfile*
h_electron_eff_pt
[
nLevels
-1];
38
TProfile*
h_electron_eff_eta
[
nLevels
-1];
39
TProfile*
h_electron_eff_phi
[
nLevels
-1];
40
41
TProfile*
h_e_response_vs_e
;
42
TProfile*
h_e_cluster_response_vs_e
;
43
TProfile*
h_e_response_vs_eta
;
44
TProfile*
h_e_cluster_response_vs_eta
;
45
TProfile*
h_e_response_vs_phi
;
46
TProfile*
h_e_cluster_response_vs_phi
;
47
48
TH1*
h_dr_electron
;
49
TH1*
h_dphi_electron
;
50
TH1*
h_deta_electron
;
51
52
TH1*
h_dr_photon
;
53
54
private
:
55
56
virtual
void
initializePlots
();
57
virtual
void
finalizePlots
();
58
59
};
60
}
61
62
#endif
IParticle.h
Electron.h
PlotBase.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
ZeeValidation::TrueElectronsPlots::h_dphi_electron
TH1 * h_dphi_electron
Definition
TrueElectronsPlots.h:49
ZeeValidation::TrueElectronsPlots::h_dr_electron
TH1 * h_dr_electron
Definition
TrueElectronsPlots.h:48
ZeeValidation::TrueElectronsPlots::nLevels
static const int nLevels
Definition
TrueElectronsPlots.h:30
ZeeValidation::TrueElectronsPlots::m_sParticleType
std::string m_sParticleType
Definition
TrueElectronsPlots.h:27
ZeeValidation::TrueElectronsPlots::finalizePlots
virtual void finalizePlots()
Definition
TrueElectronsPlots.cxx:126
ZeeValidation::TrueElectronsPlots::h_electron_pt
TH1 * h_electron_pt[nLevels]
Definition
TrueElectronsPlots.h:33
ZeeValidation::TrueElectronsPlots::initializePlots
virtual void initializePlots()
Definition
TrueElectronsPlots.cxx:50
ZeeValidation::TrueElectronsPlots::h_e_response_vs_phi
TProfile * h_e_response_vs_phi
Definition
TrueElectronsPlots.h:45
ZeeValidation::TrueElectronsPlots::h_electron_phi
TH1 * h_electron_phi[nLevels]
Definition
TrueElectronsPlots.h:35
ZeeValidation::TrueElectronsPlots::fill
void fill(const xAOD::IParticle *part, int level)
Definition
TrueElectronsPlots.cxx:81
ZeeValidation::TrueElectronsPlots::h_e_response_vs_e
TProfile * h_e_response_vs_e
Definition
TrueElectronsPlots.h:41
ZeeValidation::TrueElectronsPlots::h_deta_electron
TH1 * h_deta_electron
Definition
TrueElectronsPlots.h:50
ZeeValidation::TrueElectronsPlots::makeEfficiencyPlot
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
Definition
TrueElectronsPlots.cxx:111
ZeeValidation::TrueElectronsPlots::h_e_response_vs_eta
TProfile * h_e_response_vs_eta
Definition
TrueElectronsPlots.h:43
ZeeValidation::TrueElectronsPlots::h_electron_eff_eta
TProfile * h_electron_eff_eta[nLevels-1]
Definition
TrueElectronsPlots.h:38
ZeeValidation::TrueElectronsPlots::h_e_cluster_response_vs_eta
TProfile * h_e_cluster_response_vs_eta
Definition
TrueElectronsPlots.h:44
ZeeValidation::TrueElectronsPlots::h_electron_eff_pt
TProfile * h_electron_eff_pt[nLevels-1]
Definition
TrueElectronsPlots.h:37
ZeeValidation::TrueElectronsPlots::h_e_cluster_response_vs_phi
TProfile * h_e_cluster_response_vs_phi
Definition
TrueElectronsPlots.h:46
ZeeValidation::TrueElectronsPlots::TrueElectronsPlots
TrueElectronsPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition
TrueElectronsPlots.cxx:11
ZeeValidation::TrueElectronsPlots::h_e_cluster_response_vs_e
TProfile * h_e_cluster_response_vs_e
Definition
TrueElectronsPlots.h:42
ZeeValidation::TrueElectronsPlots::fillResponseCluster
void fillResponseCluster(const xAOD::IParticle *part, const xAOD::CaloCluster *cluster)
Definition
TrueElectronsPlots.cxx:103
ZeeValidation::TrueElectronsPlots::fillResponse
void fillResponse(const xAOD::IParticle *part, const xAOD::Electron *electron)
Definition
TrueElectronsPlots.cxx:91
ZeeValidation::TrueElectronsPlots::cLevelLabel
static const std::string cLevelLabel[nLevels]
Definition
TrueElectronsPlots.h:31
ZeeValidation::TrueElectronsPlots::fillinAcc
void fillinAcc(const xAOD::IParticle *part, int level)
Definition
TrueElectronsPlots.cxx:85
ZeeValidation::TrueElectronsPlots::h_electron_eff_phi
TProfile * h_electron_eff_phi[nLevels-1]
Definition
TrueElectronsPlots.h:39
ZeeValidation::TrueElectronsPlots::h_dr_photon
TH1 * h_dr_photon
Definition
TrueElectronsPlots.h:52
ZeeValidation::TrueElectronsPlots::h_electron_eta
TH1 * h_electron_eta[nLevels]
Definition
TrueElectronsPlots.h:34
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
ZeeValidation
Definition
FWDZeePlots.cxx:9
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
Generated on
for ATLAS Offline Software by
1.17.0