|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef MCPARTICLETOOLS_TRUTHPARTICLECNVTOOL_H
13 #define MCPARTICLETOOLS_TRUTHPARTICLECNVTOOL_H
34 #include "HepPDT/ParticleDataTable.hh"
37 #include "GaudiKernel/ToolHandle.h"
38 #include "GaudiKernel/ServiceHandle.h"
68 const std::string&
name,
69 const IInterface*
parent );
92 const unsigned int genEvtIndex,
125 const HepPDT::ParticleDataTable *
m_pdt;
171 #endif // MCPARTICLETOOLS_TRUTHPARTICLECNVTOOL_H
SG::ReadHandleKey< McEventCollection > m_mcEventsReadHandleKey
ReadHandleKey for the McEventCollection the TruthParticles will be made from.
void setVxCandidateName(const std::string &name)
const HepPDT::ParticleDataTable * m_pdt
Particle Property service.
ToolHandle< ITruthIsolationTool > IsolTool_t
PileuType_t
define some Pile-up classification Important : this classification is copied in McParticleAlgs/python...
ParticleDataType::DataType m_dataType
Type of data we are dealing with (Full/Fast/Truth/...)
std::string m_vxCandidatesName
IsolTool_t m_isolationTool
Pointer to the ITruthIsolationTool to be able to retrieve the previously computed transverse energy i...
TruthParticleCnvTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
BooleanProperty m_doEtIsolation
Switch to compute or not the Et-isolations for TruthParticle (and their underlying HepMC::GenParticle...
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute() const override
PileUpClassification::PileuType_t m_selectSignalType
Type of truth particle we want to create.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
virtual StatusCode initialize() override
Athena Algorithm's Hooks.
virtual ~TruthParticleCnvTool()
Destructor:
int m_selectSignalTypeProp
Type of truth particle we want to create (property to be set by jobO)
SG::WriteHandleKey< TruthParticleContainer > m_mcPartsOutputWriteHandleKey
Output TruthParticle WriteHandleKey (built from the McEventCollection)
void setDataType(const int type)
Inline methods:
StatusCode convert(const McEventCollection *mcEvts, const unsigned int genEvtIndex, TruthParticleContainer *mcParts, const ITruthParticleVisitor *visitor) const override
Converts a McEventCollection into an TruthParticleContainer (ie: converts it into an AOD compliant co...