ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GenInterfaces
GenInterfaces
IxAODtoHepMCTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* dual-use tool for converting xAOD truth events back to HepMC
7
* Principal Authors (responsible for the core conversion algorithm): Josh McFayden and James Catmore
8
* Tool Author: Jim Lacey (Carleton University)
9
* ... updated tool interface to be dual-use
10
* ... added missing PDF information and requirements to allow running on full sim (remove Geant4 secondaries)
11
* <james.lacey@cern.ch,jlacey@physics.carleton.ca>
12
* <dag.gillberg@cern.ch>
13
*/
14
15
#ifndef GENINTERFACES_IXAODTOHEPMCTOOL_H
16
#define GENINTERFACES_IXAODTOHEPMCTOOL_H 1
17
18
#include "
AsgTools/IAsgTool.h
"
19
20
21
// STL includes
22
#include <string>
23
#include <map>
24
25
#include "
xAODEventInfo/EventInfo.h
"
26
#include "
xAODTruth/TruthEventContainer.h
"
27
28
#include "
AtlasHepMC/GenEvent.h
"
29
#include "
AtlasHepMC/GenParticle.h
"
30
#include "
AtlasHepMC/GenVertex.h
"
31
#include "
TruthUtils/MagicNumbers.h
"
32
33
34
class
IxAODtoHepMCTool
:
public
virtual
asg::IAsgTool
{
35
public
:
36
ASG_TOOL_INTERFACE
(
IxAODtoHepMCTool
)
37
virtual ~
IxAODtoHepMCTool
() { };
38
public
:
39
virtual
StatusCode
initialize
() = 0;
40
virtual
StatusCode
finalize
() = 0;
41
virtual
std::vector<HepMC::GenEvent>
getHepMCEvents
(
const
xAOD::TruthEventContainer
* xTruthEventContainer,
const
xAOD::EventInfo
* eventInfo)
const
= 0;
42
};
43
44
#endif
//> !GENINTERFACES_IXAODTOHEPMCTOOL_H
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
GenEvent.h
GenParticle.h
GenVertex.h
IAsgTool.h
MagicNumbers.h
TruthEventContainer.h
IxAODtoHepMCTool
Definition
IxAODtoHepMCTool.h:34
IxAODtoHepMCTool::getHepMCEvents
virtual std::vector< HepMC::GenEvent > getHepMCEvents(const xAOD::TruthEventContainer *xTruthEventContainer, const xAOD::EventInfo *eventInfo) const =0
IxAODtoHepMCTool::finalize
virtual StatusCode finalize()=0
IxAODtoHepMCTool::initialize
virtual StatusCode initialize()=0
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
xAOD::TruthEventContainer
TruthEventContainer_v1 TruthEventContainer
Declare the latest version of the truth event container.
Definition
TruthEventContainer.h:18
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0