ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
egammaD3PDMaker
src
egammaTruthClassificationFillerTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
14
#define EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
15
16
17
#include "
D3PDMakerUtils/BlockFillerTool.h
"
18
#include "
xAODEgamma/Egamma.h
"
19
#include "
xAODEgamma/Electron.h
"
20
#include "
xAODEgamma/Photon.h
"
21
#include "
xAODTruth/TruthParticle.h
"
22
#include "
MCTruthClassifier/IMCTruthClassifier.h
"
23
#include "GaudiKernel/ToolHandle.h"
24
#include <vector>
25
#include <string>
26
27
28
namespace
D3PD
{
29
30
34
class
egammaTruthClassificationFillerTool
35
:
public
BlockFillerTool
<xAOD::Egamma>
36
{
37
public
:
44
egammaTruthClassificationFillerTool
(
const
std::string&
type
,
45
const
std::string& name,
46
const
IInterface* parent);
47
48
50
virtual
StatusCode
initialize
()
override
;
51
52
54
virtual
StatusCode
book
()
final
;
55
56
65
virtual
StatusCode
fill
(
const
xAOD::Egamma
& p)
override
;
66
67
68
private
:
70
ToolHandle<IMCTruthClassifier>
m_classifier
;
71
72
74
bool
m_doBkgElecOrigin
;
75
76
78
int
*
m_type
;
79
80
82
int
*
m_origin
;
83
84
86
int
*
m_typebkg
;
87
88
90
int
*
m_originbkg
;
91
};
92
93
94
}
// namespace D3PD
95
96
97
#endif
// not EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
BlockFillerTool.h
Type-safe wrapper for block filler tools.
Egamma.h
Electron.h
TruthParticle.h
IMCTruthClassifier.h
Photon.h
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::egammaTruthClassificationFillerTool::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Property: classifier tool.
Definition
egammaTruthClassificationFillerTool.h:70
D3PD::egammaTruthClassificationFillerTool::m_origin
int * m_origin
Variable: Particle origin.
Definition
egammaTruthClassificationFillerTool.h:82
D3PD::egammaTruthClassificationFillerTool::egammaTruthClassificationFillerTool
egammaTruthClassificationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
egammaTruthClassificationFillerTool.cxx:33
D3PD::egammaTruthClassificationFillerTool::m_type
int * m_type
Variable: Particle type.
Definition
egammaTruthClassificationFillerTool.h:78
D3PD::egammaTruthClassificationFillerTool::m_originbkg
int * m_originbkg
Variable: Origin of photon for background electron from conversions.
Definition
egammaTruthClassificationFillerTool.h:90
D3PD::egammaTruthClassificationFillerTool::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
egammaTruthClassificationFillerTool.cxx:52
D3PD::egammaTruthClassificationFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition
egammaTruthClassificationFillerTool.cxx:63
D3PD::egammaTruthClassificationFillerTool::m_doBkgElecOrigin
bool m_doBkgElecOrigin
Property: Should we fill origin of background electrons?
Definition
egammaTruthClassificationFillerTool.h:74
D3PD::egammaTruthClassificationFillerTool::m_typebkg
int * m_typebkg
Variable: Type of photon for background electron from conversions.
Definition
egammaTruthClassificationFillerTool.h:86
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::fill
virtual StatusCode fill()
Fill one object.
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0