ATLAS Offline Software
InnerDetector
InDetValidation
InDetTrackPerfMon
src
plots
OfflineElectronPlots.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 INDETTRACKPERFMON_PLOTS_OFFLINEELECTRONPLOTS_H
6
#define INDETTRACKPERFMON_PLOTS_OFFLINEELECTRONPLOTS_H
7
13
#include "../PlotMgr.h"
15
17
#include "
xAODTracking/TrackParticle.h
"
18
#include "
xAODTruth/TruthParticle.h
"
19
20
21
namespace
IDTPM
{
22
23
class
OfflineElectronPlots
:
public
PlotMgr
{
24
25
public
:
26
28
OfflineElectronPlots
(
29
PlotMgr
* pParent,
30
const
std::string& dirName,
31
const
std::string& anaTag,
32
bool
doEfficiency =
false
);
33
35
virtual
~OfflineElectronPlots
() =
default
;
36
38
void
initializePlots
();
39
StatusCode
bookPlots
();
40
42
StatusCode
fillPlots
(
43
const
xAOD::TrackParticle
&
track
,
44
bool
isMatched
,
float
weight
);
45
StatusCode
fillPlots
(
46
const
xAOD::TruthParticle
&,
bool
,
float
);
47
49
void
finalizePlots
();
50
51
private
:
52
53
bool
m_doEfficiency
{};
54
55
TH1*
m_Et
{};
56
TH1*
m_EtOverPt
{};
58
59
TEfficiency*
m_eff_vs_Et
{};
60
TEfficiency*
m_eff_vs_EtOverPt
{};
61
62
};
// class OfflineElectronPlots
63
64
}
// namespace IDTPM
65
66
#endif // > ! INDETTRACKPERFMON_PLOTS_OFFLINEELECTRONPLOTS_H
IDTPM::OfflineElectronPlots::m_Et
TH1 * m_Et
Definition:
OfflineElectronPlots.h:55
IDTPM::OfflineElectronPlots::finalizePlots
void finalizePlots()
Print out final stats on histograms.
Definition:
OfflineElectronPlots.cxx:97
IDTPM::OfflineElectronPlots::initializePlots
void initializePlots()
Book the histograms.
Definition:
OfflineElectronPlots.cxx:30
IDTPM::OfflineElectronPlots::m_doEfficiency
bool m_doEfficiency
Definition:
OfflineElectronPlots.h:53
InDetSecVtxTruthMatchUtils::isMatched
bool isMatched(int matchInfo)
Definition:
InDetSecVtxTruthMatchTool.h:48
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
IDTPM::OfflineElectronPlots::m_eff_vs_EtOverPt
TEfficiency * m_eff_vs_EtOverPt
Definition:
OfflineElectronPlots.h:60
IDTPM::PlotMgr
Definition:
PlotMgr.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
IDTPM::OfflineElectronPlots::bookPlots
StatusCode bookPlots()
Definition:
OfflineElectronPlots.cxx:39
IDTPM::OfflineElectronPlots::fillPlots
StatusCode fillPlots(const xAOD::TrackParticle &track, bool isMatched, float weight)
Dedicated fill methods.
Definition:
OfflineElectronPlots.cxx:58
IDTPM::OfflineElectronPlots
Definition:
OfflineElectronPlots.h:23
TrackParticle.h
IDTPM::OfflineElectronPlots::~OfflineElectronPlots
virtual ~OfflineElectronPlots()=default
Destructor.
IDTPM::OfflineElectronPlots::OfflineElectronPlots
OfflineElectronPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, bool doEfficiency=false)
Constructor.
Definition:
OfflineElectronPlots.cxx:20
IDTPM::OfflineElectronPlots::m_eff_vs_Et
TEfficiency * m_eff_vs_Et
TODO - include more plots.
Definition:
OfflineElectronPlots.h:59
xAOD::track
@ track
Definition:
TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
IDTPM
Athena include(s).
Definition:
IPlotsDefinitionSvc.h:25
TruthParticle.h
IDTPM::OfflineElectronPlots::m_EtOverPt
TH1 * m_EtOverPt
Definition:
OfflineElectronPlots.h:56
Generated on Sun Dec 22 2024 21:15:50 for ATLAS Offline Software by
1.8.18