ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TruthParticleID
McParticleAlgs
src
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
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "GaudiKernel/ToolHandle.h"
20
21
// Forward declaration
22
class
IIOMcAodTool
;
23
24
class
McAodTupleWriter
:
public
AthAlgorithm
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
(
const
EventContext& ctx);
46
virtual
StatusCode
finalize
();
47
49
// Protected method:
51
protected
:
52
54
McAodTupleWriter
();
55
59
void
setupMcAodWriterTool
();
60
62
// Protected data:
64
protected
:
65
66
typedef
ToolHandle<IIOMcAodTool>
IIOMcAodTool_t
;
70
IIOMcAodTool_t
m_mcAodWriter
;
71
};
72
73
#endif
//> MCPARTICLEALGS_MCAODTUPLEWRITER_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
IIOMcAodTool
Definition
IIOMcAodTool.h:25
McAodTupleWriter::finalize
virtual StatusCode finalize()
Definition
McAodTupleWriter.cxx:59
McAodTupleWriter::m_mcAodWriter
IIOMcAodTool_t m_mcAodWriter
Tool to write the reference TruthParticleContainer into a dedicated tuple.
Definition
McAodTupleWriter.h:70
McAodTupleWriter::~McAodTupleWriter
virtual ~McAodTupleWriter()
Destructor:
Definition
McAodTupleWriter.cxx:47
McAodTupleWriter::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
McAodTupleWriter.cxx:65
McAodTupleWriter::setupMcAodWriterTool
void setupMcAodWriterTool()
Method to configure the back-end to write out the HepMC::GenEvent.
Definition
McAodTupleWriter.cxx:79
McAodTupleWriter::McAodTupleWriter
McAodTupleWriter()
Default constructor:
McAodTupleWriter::initialize
virtual StatusCode initialize()
Athena Algorithm's Hooks.
Definition
McAodTupleWriter.cxx:52
McAodTupleWriter::IIOMcAodTool_t
ToolHandle< IIOMcAodTool > IIOMcAodTool_t
Definition
McAodTupleWriter.h:66
McAodTupleWriter::McAodTupleWriter
McAodTupleWriter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
McAodTupleWriter.cxx:28
Generated on
for ATLAS Offline Software by
1.17.0