#include <SimG4Common/include/SimG4Common/ParticleInformation.h>
|
| ParticleInformation (const edm4hep::MCParticle &aMCpart) |
| A constructor.
|
|
virtual | ~ParticleInformation () |
| A destructor.
|
|
virtual void | Print () const final |
| A printing method.
|
|
edm4hep::MCParticle & | mcParticle () |
| Getter of the MCParticle.
|
|
void | setEndMomentum (const CLHEP::Hep3Vector &aMom) |
| Setter of the end-of-tracking momentum (used for fast simulation).
|
|
const CLHEP::Hep3Vector & | endMomentum () const |
| Getter of the vertex posiiton taken at the end-of-tracking (used for fast simulation).
|
|
void | setVertexPosition (const CLHEP::Hep3Vector &aPos) |
| Setter of the vertex positon (used for fast simulation).
|
|
const CLHEP::Hep3Vector & | vertexPosition () const |
| Getter of the vertex positon (used for fast simulation).
|
|
void | setEndStatus (int aStat) |
| Setter of the end-of-tracking particle status (used for fast simulation).
|
|
int | endStatus () const |
| Getter of the end-of-tracking particle status (used for fast simulation).
|
|
void | setSmeared (bool aFlag) |
| Setter of the flag indicating if particle was smeared in the tracker (used for fast simulation).
|
|
bool | smeared () const |
| Getter of the flag indicating if particle was smeared in the tracker (used for fast simulation).
|
|
|
edm4hep::MCParticle | m_mcParticle |
| EDM MC particle.
|
|
CLHEP::Hep3Vector | m_endMomentum |
| Particle momentum at the end of tracking (filled for fast-sim)
|
|
CLHEP::Hep3Vector | m_vertexPosition |
| Particle vertex position saved at the end of tracking (filled for fast-sim)
|
|
int | m_endStatus |
| Particle status at the end of tracking (filled for fast-sim)
|
|
bool | m_smeared |
| Flag indicating if particle was smeared in the tracker (filled for fast-sim)
|
|
◆ ParticleInformation()
sim::ParticleInformation::ParticleInformation |
( |
const edm4hep::MCParticle & | aMCpart | ) |
|
|
explicit |
A constructor.
- Parameters
-
[in] | aMCpart | EDM MCParticle. |
◆ ~ParticleInformation()
sim::ParticleInformation::~ParticleInformation |
( |
| ) |
|
|
virtual |
◆ endMomentum()
const CLHEP::Hep3Vector & sim::ParticleInformation::endMomentum |
( |
| ) |
const |
Getter of the vertex posiiton taken at the end-of-tracking (used for fast simulation).
- Returns
- Vertex position.
◆ endStatus()
int sim::ParticleInformation::endStatus |
( |
| ) |
const |
Getter of the end-of-tracking particle status (used for fast simulation).
- Returns
- Particle status.
◆ mcParticle()
edm4hep::MCParticle & sim::ParticleInformation::mcParticle |
( |
| ) |
|
Getter of the MCParticle.
- Returns
- EDM MCParticle.
◆ Print()
void sim::ParticleInformation::Print |
( |
| ) |
const |
|
finalvirtual |
◆ setEndMomentum()
void sim::ParticleInformation::setEndMomentum |
( |
const CLHEP::Hep3Vector & | aMom | ) |
|
Setter of the end-of-tracking momentum (used for fast simulation).
- Parameters
-
[in] | aMom | Particle momentum. |
◆ setEndStatus()
void sim::ParticleInformation::setEndStatus |
( |
int | aStat | ) |
|
Setter of the end-of-tracking particle status (used for fast simulation).
- Parameters
-
[in] | aStat | Particle status. |
◆ setSmeared()
void sim::ParticleInformation::setSmeared |
( |
bool | aFlag | ) |
|
Setter of the flag indicating if particle was smeared in the tracker (used for fast simulation).
- Parameters
-
[in] | aFlag | If particle was smeared in the tracker. |
◆ setVertexPosition()
void sim::ParticleInformation::setVertexPosition |
( |
const CLHEP::Hep3Vector & | aPos | ) |
|
Setter of the vertex positon (used for fast simulation).
- Parameters
-
◆ smeared()
bool sim::ParticleInformation::smeared |
( |
| ) |
const |
Getter of the flag indicating if particle was smeared in the tracker (used for fast simulation).
- Returns
- Flag indicating if particle was smeared in the tracker.
◆ vertexPosition()
const CLHEP::Hep3Vector & sim::ParticleInformation::vertexPosition |
( |
| ) |
const |
Getter of the vertex positon (used for fast simulation).
- Returns
- Vertex position.
◆ m_endMomentum
CLHEP::Hep3Vector sim::ParticleInformation::m_endMomentum |
|
private |
Particle momentum at the end of tracking (filled for fast-sim)
◆ m_endStatus
int sim::ParticleInformation::m_endStatus |
|
private |
Particle status at the end of tracking (filled for fast-sim)
◆ m_mcParticle
edm4hep::MCParticle sim::ParticleInformation::m_mcParticle |
|
private |
◆ m_smeared
bool sim::ParticleInformation::m_smeared |
|
private |
Flag indicating if particle was smeared in the tracker (filled for fast-sim)
◆ m_vertexPosition
CLHEP::Hep3Vector sim::ParticleInformation::m_vertexPosition |
|
private |
Particle vertex position saved at the end of tracking (filled for fast-sim)
The documentation for this class was generated from the following files: