1#ifndef SIMG4COMMON_PARTICLEINFORMATION_H
2#define SIMG4COMMON_PARTICLEINFORMATION_H
5#include "edm4hep/MCParticle.h"
8#include "G4VUserPrimaryParticleInformation.hh"
11#include "CLHEP/Vector/ThreeVector.h"
35 virtual void Print()
const final;
Definition ParticleInformation.h:26
edm4hep::MCParticle & mcParticle()
Getter of the MCParticle.
Definition ParticleInformation.cpp:10
bool m_smeared
Flag indicating if particle was smeared in the tracker (filled for fast-sim)
Definition ParticleInformation.h:83
virtual ~ParticleInformation()
A destructor.
Definition ParticleInformation.cpp:6
CLHEP::Hep3Vector m_vertexPosition
Particle vertex position saved at the end of tracking (filled for fast-sim)
Definition ParticleInformation.h:79
const CLHEP::Hep3Vector & vertexPosition() const
Getter of the vertex positon (used for fast simulation).
Definition ParticleInformation.cpp:14
void setEndMomentum(const CLHEP::Hep3Vector &aMom)
Setter of the end-of-tracking momentum (used for fast simulation).
Definition ParticleInformation.cpp:11
CLHEP::Hep3Vector m_endMomentum
Particle momentum at the end of tracking (filled for fast-sim)
Definition ParticleInformation.h:77
void setVertexPosition(const CLHEP::Hep3Vector &aPos)
Setter of the vertex positon (used for fast simulation).
Definition ParticleInformation.cpp:13
virtual void Print() const final
A printing method.
Definition ParticleInformation.cpp:8
int endStatus() const
Getter of the end-of-tracking particle status (used for fast simulation).
Definition ParticleInformation.cpp:16
const CLHEP::Hep3Vector & endMomentum() const
Getter of the vertex posiiton taken at the end-of-tracking (used for fast simulation).
Definition ParticleInformation.cpp:12
edm4hep::MCParticle m_mcParticle
EDM MC particle.
Definition ParticleInformation.h:75
void setEndStatus(int aStat)
Setter of the end-of-tracking particle status (used for fast simulation).
Definition ParticleInformation.cpp:15
int m_endStatus
Particle status at the end of tracking (filled for fast-sim)
Definition ParticleInformation.h:81
ParticleInformation(const edm4hep::MCParticle &aMCpart)
A constructor.
Definition ParticleInformation.cpp:4
bool smeared() const
Getter of the flag indicating if particle was smeared in the tracker (used for fast simulation).
Definition ParticleInformation.cpp:18
void setSmeared(bool aFlag)
Setter of the flag indicating if particle was smeared in the tracker (used for fast simulation).
Definition ParticleInformation.cpp:17
Conversion between units.
Definition ConstantField.h:14