ATLAS Offline Software
Loading...
Searching...
No Matches
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-2022 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
14#define EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
15
16
18#include "xAODEgamma/Egamma.h"
19#include "xAODEgamma/Electron.h"
20#include "xAODEgamma/Photon.h"
24#include "GaudiKernel/ToolHandle.h"
25#include <vector>
26#include <string>
27
28
29namespace D3PD {
30
31
36 : public BlockFillerTool<xAOD::Egamma>
37{
38public:
45 egammaTruthClassificationFillerTool (const std::string& type,
46 const std::string& name,
47 const IInterface* parent);
48
49
51 virtual StatusCode initialize() override;
52
53
55 virtual StatusCode book() final;
56
57
66 virtual StatusCode fill (const xAOD::Egamma& p) override;
67
68
69private:
71 ToolHandle<IMCTruthClassifier> m_classifier;
72
73
76
77
79 int* m_type;
80
81
84
85
88
89
92};
93
94
95} // namespace D3PD
96
97
98#endif // not EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
Type-safe wrapper for block filler tools.
Type-safe wrapper for block filler tools.
ToolHandle< IMCTruthClassifier > m_classifier
Property: classifier tool.
virtual StatusCode fill(const xAOD::Egamma &p) override
Fill one block — type-safe version.
egammaTruthClassificationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
int * m_originbkg
Variable: Origin of photon for background electron from conversions.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual StatusCode book() final
Book variables for this block.
bool m_doBkgElecOrigin
Property: Should we fill origin of background electrons?
int * m_typebkg
Variable: Type of photon for background electron from conversions.
Block filler tool for noisy FEB information.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17