#include <Particle.h>
Definition at line 24 of file Particle.h.
◆ Particle()
◆ ~Particle()
◆ addParticle()
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 |
◆ ClassDef()
◆ Clear()
void Clear |
( |
Option_t * |
option = "" | ) |
|
◆ getCharge()
- Returns
- The particle charge.
Definition at line 131 of file Particle.h.
◆ getCluster()
- Returns
- An array of references to the calorimeter clusters associated with this particle
Definition at line 62 of file Particle.h.
◆ getCorrMomentum()
std::vector< double > getCorrMomentum |
( |
| ) |
const |
- Returns
- The corrected momentum of the paritcle in GeV.
Definition at line 37 of file Particle.cxx.
◆ getEnergy()
double getEnergy |
( |
| ) |
const |
|
inline |
- Returns
- The particle energy in GeV.
Definition at line 143 of file Particle.h.
◆ getGoodnessOfPID()
double getGoodnessOfPID |
( |
| ) |
const |
|
inline |
- Returns
- The goodness of the PID.
Definition at line 134 of file Particle.h.
◆ getMass()
- Returns
- The invariant mass of the particle in GeV.
Definition at line 149 of file Particle.h.
◆ getMomentum()
std::vector< double > getMomentum |
( |
| ) |
const |
- Returns
- The momentum of the particle.
Definition at line 29 of file Particle.cxx.
◆ getP()
- Returns
- The particle momentum in GeV.
Definition at line 146 of file Particle.h.
◆ getPDG()
- Returns
- The particle ID.
Definition at line 140 of file Particle.h.
◆ getTrack()
- Returns
- A reference to the track associated with this particle
Definition at line 48 of file Particle.h.
◆ getType()
- Returns
- The type of this particle.
Definition at line 137 of file Particle.h.
◆ getVertexPosition()
std::vector< double > getVertexPosition |
( |
| ) |
const |
- Returns
- The vertex position of the particle.
◆ setCharge()
void setCharge |
( |
const int |
charge | ) |
|
|
inline |
Set the charge of the particle.
- Parameters
-
Definition at line 77 of file Particle.h.
◆ setCluster()
Add a reference to an CalCluster object. This will be used to associated a particle with the calorimeter cluster that composes it.
- Parameters
-
cluster | Cluster whose reference will be added |
Definition at line 56 of file Particle.h.
◆ setCorrMomentum()
void setCorrMomentum |
( |
const double * |
momentum | ) |
|
Set the corrected momentum of the paritcle in GeV.
- Parameters
-
momentum | An array containing the three momentum components of the particle. |
Definition at line 31 of file Particle.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 105 of file Particle.h.
◆ setGoodnessOfPID()
void setGoodnessOfPID |
( |
const double |
goodness_pid | ) |
|
|
inline |
Set the overall goodness of the PID for this particle.
- Parameters
-
goodness_pid_ | The goodness of the PID. |
Definition at line 84 of file Particle.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 112 of file Particle.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 23 of file Particle.cxx.
◆ 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 98 of file Particle.h.
◆ setTrack()
void setTrack |
( |
Track * |
track | ) |
|
|
inline |
◆ setType()
void setType |
( |
const int |
type | ) |
|
|
inline |
Set the type of this particle.
- Parameters
-
type | The type of this particle |
Definition at line 91 of file Particle.h.
◆ charge_
The charge of this particle
Definition at line 171 of file Particle.h.
◆ cluster_
The array calorimeter cluster associated with this particle
Definition at line 168 of file Particle.h.
◆ energy_
The energy of the particle in GeV
Definition at line 201 of file Particle.h.
◆ goodness_pid_
double goodness_pid_ {-9999} |
|
private |
The goodness of PID of this particle.
Definition at line 180 of file Particle.h.
◆ mass_
The invariant mass of the particle in GeV
Definition at line 204 of file Particle.h.
◆ pdg_
The PDG ID of this particle
Definition at line 177 of file Particle.h.
◆ px_
The x component of the momentum of this particle in GeV
Definition at line 183 of file Particle.h.
◆ px_corr_
The x component of the corrected momentum of this particle in GeV
Definition at line 186 of file Particle.h.
◆ py_
The y component of the momentum of this particle in GeV
Definition at line 189 of file Particle.h.
◆ py_corr_
The y component of the corrected momentum of this particle in GeV
Definition at line 192 of file Particle.h.
◆ pz_
The z component of the momentum of this particle in GeV
Definition at line 195 of file Particle.h.
◆ pz_corr_
The z component of the corrected momentum of this particle in GeV
Definition at line 198 of file Particle.h.
◆ track_
The track associated with this particle
Definition at line 165 of file Particle.h.
◆ type_
The type of this particle
Definition at line 174 of file Particle.h.
The documentation for this class was generated from the following files: