ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
StandardModelPhys
Validation
ZeeValidation
ZeeValidation
TrueFwdElectronsPlots.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_TRUEFWDELECTRONSPLOTS_H
6
#define ZEEVALIDATION_TRUEFWDELECTRONSPLOTS_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
TrueFwdElectronsPlots
:
public
PlotBase
{
16
public
:
17
TrueFwdElectronsPlots
(
PlotBase
* pParent,
const
std::string& sDir,
const
std::string& sParticleType);
18
void
fill
(
const
xAOD::IParticle
* part,
int
level);
19
20
void
fillResponse
(
const
xAOD::IParticle
* part,
const
xAOD::Electron
* electron);
21
22
void
makeEfficiencyPlot
(TH1* hDenom, TH1* hNom, TProfile* hEff);
23
24
std::string
m_sParticleType
;
25
26
//nLevels = 4 (Loose, Tight, MatchedEl, Truth)
27
static
const
int
nLevels
= 4;
28
static
const
std::string
cLevelLabel
[
nLevels
];
29
30
TH1*
h_true_fwd_electron_pt
[
nLevels
];
31
TH1*
h_true_fwd_electron_eta
[
nLevels
];
32
TH1*
h_true_fwd_electron_abseta
[
nLevels
];
33
TH1*
h_true_fwd_electron_phi
[
nLevels
];
34
35
TProfile*
h_true_fwd_electron_eff_pt
[
nLevels
-1];
36
TProfile*
h_true_fwd_electron_eff_eta
[
nLevels
-1];
37
TProfile*
h_true_fwd_electron_eff_abseta
[
nLevels
-1];
38
TProfile*
h_true_fwd_electron_eff_phi
[
nLevels
-1];
39
40
TProfile*
h_fwd_e_response_vs_e
;
41
TProfile*
h_fwd_e_response_vs_eta
;
42
TProfile*
h_fwd_e_response_vs_abseta
;
43
TProfile*
h_fwd_e_response_vs_phi
;
44
45
TH1*
h_fwd_dr_electron
;
46
TH1*
h_fwd_dphi_electron
;
47
TH1*
h_fwd_deta_electron
;
48
49
private
:
50
51
virtual
void
initializePlots
();
52
virtual
void
finalizePlots
();
53
54
};
55
}
56
57
#endif
IParticle.h
Electron.h
PlotBase.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, const std::string &sDir)
Definition
PlotBase.cxx:29
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_eta
TProfile * h_fwd_e_response_vs_eta
Definition
TrueFwdElectronsPlots.h:41
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_pt
TProfile * h_true_fwd_electron_eff_pt[nLevels-1]
Definition
TrueFwdElectronsPlots.h:35
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eta
TH1 * h_true_fwd_electron_eta[nLevels]
Definition
TrueFwdElectronsPlots.h:31
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_pt
TH1 * h_true_fwd_electron_pt[nLevels]
Definition
TrueFwdElectronsPlots.h:30
ZeeValidation::TrueFwdElectronsPlots::h_fwd_dr_electron
TH1 * h_fwd_dr_electron
Definition
TrueFwdElectronsPlots.h:45
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_abseta
TProfile * h_true_fwd_electron_eff_abseta[nLevels-1]
Definition
TrueFwdElectronsPlots.h:37
ZeeValidation::TrueFwdElectronsPlots::initializePlots
virtual void initializePlots()
Definition
TrueFwdElectronsPlots.cxx:43
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_abseta
TH1 * h_true_fwd_electron_abseta[nLevels]
Definition
TrueFwdElectronsPlots.h:32
ZeeValidation::TrueFwdElectronsPlots::m_sParticleType
std::string m_sParticleType
Definition
TrueFwdElectronsPlots.h:24
ZeeValidation::TrueFwdElectronsPlots::finalizePlots
virtual void finalizePlots()
Definition
TrueFwdElectronsPlots.cxx:108
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_phi
TProfile * h_fwd_e_response_vs_phi
Definition
TrueFwdElectronsPlots.h:43
ZeeValidation::TrueFwdElectronsPlots::fillResponse
void fillResponse(const xAOD::IParticle *part, const xAOD::Electron *electron)
Definition
TrueFwdElectronsPlots.cxx:80
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_eta
TProfile * h_true_fwd_electron_eff_eta[nLevels-1]
Definition
TrueFwdElectronsPlots.h:36
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_phi
TH1 * h_true_fwd_electron_phi[nLevels]
Definition
TrueFwdElectronsPlots.h:33
ZeeValidation::TrueFwdElectronsPlots::h_fwd_deta_electron
TH1 * h_fwd_deta_electron
Definition
TrueFwdElectronsPlots.h:47
ZeeValidation::TrueFwdElectronsPlots::makeEfficiencyPlot
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
Definition
TrueFwdElectronsPlots.cxx:93
ZeeValidation::TrueFwdElectronsPlots::TrueFwdElectronsPlots
TrueFwdElectronsPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition
TrueFwdElectronsPlots.cxx:11
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_e
TProfile * h_fwd_e_response_vs_e
Definition
TrueFwdElectronsPlots.h:40
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_phi
TProfile * h_true_fwd_electron_eff_phi[nLevels-1]
Definition
TrueFwdElectronsPlots.h:38
ZeeValidation::TrueFwdElectronsPlots::cLevelLabel
static const std::string cLevelLabel[nLevels]
Definition
TrueFwdElectronsPlots.h:28
ZeeValidation::TrueFwdElectronsPlots::h_fwd_dphi_electron
TH1 * h_fwd_dphi_electron
Definition
TrueFwdElectronsPlots.h:46
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_abseta
TProfile * h_fwd_e_response_vs_abseta
Definition
TrueFwdElectronsPlots.h:42
ZeeValidation::TrueFwdElectronsPlots::nLevels
static const int nLevels
Definition
TrueFwdElectronsPlots.h:27
ZeeValidation::TrueFwdElectronsPlots::fill
void fill(const xAOD::IParticle *part, int level)
Definition
TrueFwdElectronsPlots.cxx:71
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::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.14.0