#include <MCParticle.h>
Definition at line 19 of file MCParticle.h.
◆ MCParticle()
◆ ~MCParticle()
◆ addDaughter()
Add a reference to an Particle object. This will be used to add daughter particles to this particle.
- Parameters
-
particle | Daughter particle composing this particle |
Definition at line 26 of file MCParticle.cxx.
◆ ClassDef()
◆ Clear()
void Clear |
( |
Option_t * |
option = "" | ) |
|
◆ getCharge()
◆ getDaughters()
TRefArray * getDaughters |
( |
| ) |
const |
|
inline |
Get the daughter particles composing this particle.
- Returns
- An array of references to the daughter particles associated with this particle
Definition at line 46 of file MCParticle.h.
◆ getEndPoint()
std::vector< double > getEndPoint |
( |
| ) |
const |
- Returns
- The vertex position of the particle.
Definition at line 63 of file MCParticle.cxx.
◆ getEndpointMomentum()
std::vector< double > getEndpointMomentum |
( |
| ) |
const |
- Returns
- The endpoint momentum of the particle.
Definition at line 45 of file MCParticle.cxx.
◆ getEnergy()
double getEnergy |
( |
| ) |
const |
|
inline |
- Returns
- The particle energy in GeV.
Definition at line 162 of file MCParticle.h.
◆ getGenStatus()
int getGenStatus |
( |
| ) |
const |
|
inline |
- Returns
- The particle generator status.
Definition at line 156 of file MCParticle.h.
◆ getID()
◆ getMass()
- Returns
- The invariant mass of the particle in GeV.
Definition at line 165 of file MCParticle.h.
◆ getMomentum()
std::vector< double > getMomentum |
( |
| ) |
const |
- Returns
- The momentum of the particle.
Definition at line 43 of file MCParticle.cxx.
◆ getMomPDG()
- Returns
- The particle ID of the mother.
Definition at line 153 of file MCParticle.h.
◆ getPDG()
◆ getSimStatus()
int getSimStatus |
( |
| ) |
const |
|
inline |
- Returns
- The particle simulator status.
Definition at line 159 of file MCParticle.h.
◆ getTime()
- Returns
- The time of the particle
Definition at line 168 of file MCParticle.h.
◆ getVertexPosition()
std::vector< double > getVertexPosition |
( |
| ) |
const |
- Returns
- The vertex position of the particle.
Definition at line 59 of file MCParticle.cxx.
◆ setCharge()
void setCharge |
( |
const int |
charge | ) |
|
|
inline |
Set the charge of the particle.
- Parameters
-
Definition at line 53 of file MCParticle.h.
◆ setEndPoint()
void setEndPoint |
( |
const double * |
ep_pos | ) |
|
Set the end point of the particle.
- Parameters
-
ep_pos | An array containing the three endpoint components of the particle |
Definition at line 53 of file MCParticle.cxx.
◆ setEndpointMomentum()
void setEndpointMomentum |
( |
const double * |
momentum_ep | ) |
|
Set the endpoint momentum of the particle in GeV.
- Parameters
-
momentum_ep | An array containing the three momentum components of the particle. |
Definition at line 37 of file MCParticle.cxx.
◆ setEnergy()
void setEnergy |
( |
const double |
energy | ) |
|
|
inline |
Set the energy of the particle in GeV.
- Parameters
-
energy | The energy of this particle |
Definition at line 95 of file MCParticle.h.
◆ setGenStatus()
void setGenStatus |
( |
const int |
gen | ) |
|
|
inline |
Set the generator status of the particle.
- Parameters
-
Definition at line 81 of file MCParticle.h.
◆ setID()
void setID |
( |
const int |
id | ) |
|
|
inline |
Set the LCIO ID of this particle.
- Parameters
-
id | The LCIO ID of this particle |
Definition at line 67 of file MCParticle.h.
◆ setMass()
void setMass |
( |
const double |
mass | ) |
|
|
inline |
Set the invariant mass of the particle in GeV.
- Parameters
-
mass | The invariant mass of the particle |
Definition at line 102 of file MCParticle.h.
◆ setMomentum()
void setMomentum |
( |
const double * |
momentum | ) |
|
Set the momentum of the particle in GeV.
- Parameters
-
momentum | An array containing the three momentum components of the particle. |
Definition at line 31 of file MCParticle.cxx.
◆ setMomPDG()
void setMomPDG |
( |
const int |
momPDG | ) |
|
|
inline |
Set the PDG ID of the mother of this particle.
- Parameters
-
momPDG | The PDG ID of the mother of this particle |
Definition at line 74 of file MCParticle.h.
◆ setPDG()
void setPDG |
( |
const int |
pdg | ) |
|
|
inline |
Set the PDG ID of this particle.
- Parameters
-
pdg | The PDG ID of this particle |
Definition at line 60 of file MCParticle.h.
◆ setSimStatus()
void setSimStatus |
( |
const int |
sim | ) |
|
|
inline |
Set the generator status of the particle.
- Parameters
-
Definition at line 88 of file MCParticle.h.
◆ setTime()
void setTime |
( |
const double |
time | ) |
|
|
inline |
Set the invariant mass of the particle in GeV.
- Parameters
-
mass | The invariant mass of the particle |
Definition at line 109 of file MCParticle.h.
◆ setVertexPosition()
void setVertexPosition |
( |
const double * |
vtx_pos | ) |
|
Set the vertex position of the particle.
- Parameters
-
vtx_pos | An array containing the three vertex position components of the particle |
Definition at line 47 of file MCParticle.cxx.
◆ charge_
◆ daughters_
TRefArray* daughters_ {new TRefArray{}} |
|
private |
An array of references to daughter particles associated with this particle
Definition at line 190 of file MCParticle.h.
◆ energy_
The energy of the particle in GeV
Definition at line 250 of file MCParticle.h.
◆ ep_x_
The x component of the end point of this particle in mm
Definition at line 241 of file MCParticle.h.
◆ ep_y_
The y component of the end point of this particle in mm
Definition at line 244 of file MCParticle.h.
◆ ep_z_
The z component of the end point of this particle in mm
Definition at line 247 of file MCParticle.h.
◆ gen_
The generator status of the particle
Definition at line 208 of file MCParticle.h.
◆ id_
◆ mass_
The invariant mass of the particle in GeV
Definition at line 253 of file MCParticle.h.
◆ momPDG_
◆ n_daughters_
The number of daughters associated with this particle
Definition at line 196 of file MCParticle.h.
◆ pdg_
◆ px_
The x component of the momentum of this particle in GeV
Definition at line 214 of file MCParticle.h.
◆ px_ep
The x component of the momentum_ep of this particle in GeV
Definition at line 223 of file MCParticle.h.
◆ py_
The y component of the momentum of this particle in GeV
Definition at line 217 of file MCParticle.h.
◆ py_ep
The y component of the momentum_ep of this particle in GeV
Definition at line 226 of file MCParticle.h.
◆ pz_
The z component of the momentum of this particle in GeV
Definition at line 220 of file MCParticle.h.
◆ pz_ep
The z component of the momentum_ep of this particle in GeV
Definition at line 229 of file MCParticle.h.
◆ sim_
The generator status of the particle
Definition at line 211 of file MCParticle.h.
◆ time_
◆ vtx_x_
The x component of the vertex of this particle in mm
Definition at line 232 of file MCParticle.h.
◆ vtx_y_
The y component of the vertex of this particle in mm
Definition at line 235 of file MCParticle.h.
◆ vtx_z_
The z component of the vertex of this particle in mm
Definition at line 238 of file MCParticle.h.
The documentation for this class was generated from the following files: