ATLAS Offline Software
Loading...
Searching...
No Matches
McAodTupleWriter.h
Go to the documentation of this file.
1
2
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
22class 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
60
62 // Protected data:
64 protected:
65
66 typedef ToolHandle<IIOMcAodTool> IIOMcAodTool_t;
71};
72
73#endif //> MCPARTICLEALGS_MCAODTUPLEWRITER_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode finalize()
IIOMcAodTool_t m_mcAodWriter
Tool to write the reference TruthParticleContainer into a dedicated tuple.
virtual ~McAodTupleWriter()
Destructor:
void setupMcAodWriterTool()
Method to configure the back-end to write out the HepMC::GenEvent.
virtual StatusCode execute()
McAodTupleWriter()
Default constructor:
virtual StatusCode initialize()
Athena Algorithm's Hooks.
ToolHandle< IIOMcAodTool > IIOMcAodTool_t
McAodTupleWriter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters: