ATLAS Offline Software
McAodTupleWriter.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // McAodTupleWriter.h
8 // Header file for class McAodTupleWriter
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef MCPARTICLEALGS_MCAODTUPLEWRITER_H
12 #define MCPARTICLEALGS_MCAODTUPLEWRITER_H
13 
14 // STL includes
15 #include <string>
16 
17 // FrameWork includes
19 #include "GaudiKernel/ToolHandle.h"
20 
21 // Forward declaration
22 class IIOMcAodTool;
23 
25 {
26 
28  // Public methods:
30  public:
31 
32  // Copy constructor:
33 
35  McAodTupleWriter( const std::string& name, ISvcLocator* pSvcLocator );
36 
38  virtual ~McAodTupleWriter();
39 
40  // Assignment operator:
41  //McAodTupleWriter &operator=(const McAodTupleWriter &alg);
42 
43  // Athena algorithm's Hooks
44  virtual StatusCode initialize();
45  virtual StatusCode execute();
46  virtual StatusCode finalize();
47 
49  // Protected method:
51  protected:
52 
55 
59  void setupMcAodWriterTool();
60 
62  // Protected data:
64  protected:
65 
66  typedef ToolHandle<IIOMcAodTool> IIOMcAodTool_t;
71 };
72 
73 #endif //> MCPARTICLEALGS_MCAODTUPLEWRITER_H
McAodTupleWriter::McAodTupleWriter
McAodTupleWriter()
Default constructor:
McAodTupleWriter::finalize
virtual StatusCode finalize()
Definition: McAodTupleWriter.cxx:59
McAodTupleWriter::execute
virtual StatusCode execute()
Definition: McAodTupleWriter.cxx:65
AthAlgorithm.h
McAodTupleWriter::setupMcAodWriterTool
void setupMcAodWriterTool()
Method to configure the back-end to write out the HepMC::GenEvent.
Definition: McAodTupleWriter.cxx:79
McAodTupleWriter::m_mcAodWriter
IIOMcAodTool_t m_mcAodWriter
Tool to write the reference TruthParticleContainer into a dedicated tuple.
Definition: McAodTupleWriter.h:70
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
McAodTupleWriter::initialize
virtual StatusCode initialize()
Athena Algorithm's Hooks.
Definition: McAodTupleWriter.cxx:52
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
IIOMcAodTool
Definition: IIOMcAodTool.h:25
McAodTupleWriter::~McAodTupleWriter
virtual ~McAodTupleWriter()
Destructor:
Definition: McAodTupleWriter.cxx:47
McAodTupleWriter
Definition: McAodTupleWriter.h:25
McAodTupleWriter::IIOMcAodTool_t
ToolHandle< IIOMcAodTool > IIOMcAodTool_t
Definition: McAodTupleWriter.h:66