ATLAS Offline Software
Loading...
Searching...
No Matches
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
21#include "GaudiKernel/ToolHandle.h"
22
23
24namespace D3PD {
25
26
27class PhotonTruthTool;
29
30
35 : public AthAlgorithm
36{
37public:
43 PhotonTruthAlg (const std::string& name,
44 ISvcLocator* svcloc);
45
46
48 virtual StatusCode initialize();
49
50
52 virtual StatusCode execute();
53
54
55private:
57 std::string m_auxPrefix;
58
60 ToolHandle<PhotonTruthTool> m_truthTool;
61
63 ToolHandle<ICollectionGetterTool> m_photonGetter;
64
67};
68
69
70} // namespace D3PD
71
72
73#endif // EGAMMAD3PDANALYSIS_PHOTONTRUTHALG_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Abstract interface to get a collection of objects and iterate over it.
virtual StatusCode execute()
Standard Gaudi execute method.
ToolHandle< ICollectionGetterTool > m_photonGetter
Property: Getter for input photon objects.
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
PhotonTruthAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
ToolHandle< PhotonTruthTool > m_truthTool
Property: Truth analysis tool.
virtual StatusCode initialize()
Standard Gaudi initialize method.
std::string m_auxPrefix
Property: Prefix to add to aux data items.
Block filler tool for noisy FEB information.