ATLAS Offline Software
PhysicsAnalysis
StandardModelPhys
Validation
ZeeValidation
ZeeValidation
TrueFwdElectronsPlots.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 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, std::string
sDir
, 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
LArG4FSStartPointFilter.part
part
Definition:
LArG4FSStartPointFilter.py:21
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_phi
TProfile * h_true_fwd_electron_eff_phi[nLevels-1]
Definition:
TrueFwdElectronsPlots.h:38
IParticle.h
PlotBase
Definition:
PlotBase.h:33
ZeeValidation::TrueFwdElectronsPlots
Definition:
TrueFwdElectronsPlots.h:15
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_abseta
TProfile * h_true_fwd_electron_eff_abseta[nLevels-1]
Definition:
TrueFwdElectronsPlots.h:37
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_abseta
TH1 * h_true_fwd_electron_abseta[nLevels]
Definition:
TrueFwdElectronsPlots.h:32
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_pt
TH1 * h_true_fwd_electron_pt[nLevels]
Definition:
TrueFwdElectronsPlots.h:30
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_abseta
TProfile * h_fwd_e_response_vs_abseta
Definition:
TrueFwdElectronsPlots.h:42
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:40
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_phi
TH1 * h_true_fwd_electron_phi[nLevels]
Definition:
TrueFwdElectronsPlots.h:33
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_phi
TProfile * h_fwd_e_response_vs_phi
Definition:
TrueFwdElectronsPlots.h:43
ZeeValidation::TrueFwdElectronsPlots::cLevelLabel
static const std::string cLevelLabel[nLevels]
Definition:
TrueFwdElectronsPlots.h:28
ZeeValidation::TrueFwdElectronsPlots::initializePlots
virtual void initializePlots()
Definition:
TrueFwdElectronsPlots.cxx:43
python.iconfTool.models.loaders.level
level
Definition:
loaders.py:20
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_pt
TProfile * h_true_fwd_electron_eff_pt[nLevels-1]
Definition:
TrueFwdElectronsPlots.h:35
ZeeValidation::TrueFwdElectronsPlots::h_fwd_deta_electron
TH1 * h_fwd_deta_electron
Definition:
TrueFwdElectronsPlots.h:47
ZeeValidation::TrueFwdElectronsPlots::fill
void fill(const xAOD::IParticle *part, int level)
Definition:
TrueFwdElectronsPlots.cxx:71
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_eta
TProfile * h_fwd_e_response_vs_eta
Definition:
TrueFwdElectronsPlots.h:41
ZeeValidation
Definition:
FWDZeePlots.cxx:9
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_eta
TProfile * h_true_fwd_electron_eff_eta[nLevels-1]
Definition:
TrueFwdElectronsPlots.h:36
ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_e
TProfile * h_fwd_e_response_vs_e
Definition:
TrueFwdElectronsPlots.h:40
ZeeValidation::TrueFwdElectronsPlots::h_fwd_dr_electron
TH1 * h_fwd_dr_electron
Definition:
TrueFwdElectronsPlots.h:45
ZeeValidation::TrueFwdElectronsPlots::nLevels
static const int nLevels
Definition:
TrueFwdElectronsPlots.h:27
ZeeValidation::TrueFwdElectronsPlots::makeEfficiencyPlot
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
Definition:
TrueFwdElectronsPlots.cxx:93
ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eta
TH1 * h_true_fwd_electron_eta[nLevels]
Definition:
TrueFwdElectronsPlots.h:31
TProfile
Definition:
rootspy.cxx:515
xAOD::Electron_v1
Definition:
Electron_v1.h:34
ZeeValidation::TrueFwdElectronsPlots::fillResponse
void fillResponse(const xAOD::IParticle *part, const xAOD::Electron *electron)
Definition:
TrueFwdElectronsPlots.cxx:80
TH1
Definition:
rootspy.cxx:268
xAOD::EgammaParameters::electron
@ electron
Definition:
EgammaEnums.h:18
ZeeValidation::TrueFwdElectronsPlots::h_fwd_dphi_electron
TH1 * h_fwd_dphi_electron
Definition:
TrueFwdElectronsPlots.h:46
ZeeValidation::TrueFwdElectronsPlots::finalizePlots
virtual void finalizePlots()
Definition:
TrueFwdElectronsPlots.cxx:108
ZeeValidation::TrueFwdElectronsPlots::TrueFwdElectronsPlots
TrueFwdElectronsPlots(PlotBase *pParent, std::string sDir, std::string sParticleType)
Definition:
TrueFwdElectronsPlots.cxx:11
Electron.h
PlotBase.h
ZeeValidation::TrueFwdElectronsPlots::m_sParticleType
std::string m_sParticleType
Definition:
TrueFwdElectronsPlots.h:24
Generated on Fri Jun 28 2024 21:32:41 for ATLAS Offline Software by
1.8.18