ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
egammaD3PDAnalysis
src
PhotonTruthAlg.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
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef EGAMMAD3PDANALYSIS_PHOTONTRUTHALG_H
17
#define EGAMMAD3PDANALYSIS_PHOTONTRUTHALG_H
18
19
20
#include "
AthenaBaseComps/AthAlgorithm.h
"
21
#include "GaudiKernel/ToolHandle.h"
22
23
24
namespace
D3PD
{
25
26
27
class
PhotonTruthTool
;
28
class
ICollectionGetterTool
;
29
30
34
class
PhotonTruthAlg
35
:
public
AthAlgorithm
36
{
37
public
:
43
PhotonTruthAlg
(
const
std::string& name,
44
ISvcLocator* svcloc);
45
46
48
virtual
StatusCode
initialize
();
49
50
52
virtual
StatusCode
execute
(
const
EventContext& ctx);
53
54
55
private
:
57
std::string
m_auxPrefix
;
58
60
ToolHandle<PhotonTruthTool>
m_truthTool
;
61
63
ToolHandle<ICollectionGetterTool>
m_photonGetter
;
64
66
bool
m_allowMissing
;
67
};
68
69
70
}
// namespace D3PD
71
72
73
#endif
// EGAMMAD3PDANALYSIS_PHOTONTRUTHALG_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
D3PD::ICollectionGetterTool
Abstract interface to get a collection of objects and iterate over it.
Definition
ICollectionGetterTool.h:39
D3PD::PhotonTruthAlg::m_photonGetter
ToolHandle< ICollectionGetterTool > m_photonGetter
Property: Getter for input photon objects.
Definition
PhotonTruthAlg.h:63
D3PD::PhotonTruthAlg::m_allowMissing
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
Definition
PhotonTruthAlg.h:66
D3PD::PhotonTruthAlg::execute
virtual StatusCode execute(const EventContext &ctx)
Standard Gaudi execute method.
Definition
PhotonTruthAlg.cxx:57
D3PD::PhotonTruthAlg::PhotonTruthAlg
PhotonTruthAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition
PhotonTruthAlg.cxx:24
D3PD::PhotonTruthAlg::m_truthTool
ToolHandle< PhotonTruthTool > m_truthTool
Property: Truth analysis tool.
Definition
PhotonTruthAlg.h:60
D3PD::PhotonTruthAlg::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition
PhotonTruthAlg.cxx:44
D3PD::PhotonTruthAlg::m_auxPrefix
std::string m_auxPrefix
Property: Prefix to add to aux data items.
Definition
PhotonTruthAlg.h:57
D3PD::PhotonTruthTool
Definition
PhotonTruthTool.h:35
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0