MCParticle class.
More...
#include "MCParticle.h"
|
bool | IsRootParticle () const |
| Whether the mc particle is a root particle.
|
|
bool | IsPfoTarget () const |
| Whether the mc particle is a pfo target.
|
|
float | GetEnergy () const |
| Get energy of mc particle, units GeV.
|
|
const CartesianVector & | GetMomentum () const |
| Get momentum of mc particle, units GeV.
|
|
const CartesianVector & | GetVertex () const |
| Get the production vertex of the mc particle, units mm.
|
|
const CartesianVector & | GetEndpoint () const |
| Get the endpoint of the mc particle, units mm.
|
|
float | GetInnerRadius () const |
| Get inner radius of mc particle, units mm.
|
|
float | GetOuterRadius () const |
| Get outer radius of mc particle, units mm.
|
|
int | GetParticleId () const |
| Get the PDG code of the mc particle.
|
|
MCParticleType | GetMCParticleType () const |
| Get the type of the mc particle, e.g. vertex, 2D-projection, etc.
|
|
bool | IsPfoTargetSet () const |
| Whether the pfo target been set.
|
|
const MCParticle * | GetPfoTarget () const |
| Get pfo target particle.
|
|
Uid | GetUid () const |
| Get the mc particle unique identifier.
|
|
const MCParticleList & | GetParentList () const |
| Get list of parents of mc particle.
|
|
const MCParticleList & | GetDaughterList () const |
| Get list of daughters of mc particle.
|
|
bool | operator< (const MCParticle &rhs) const |
| operator< sorting by vertex position, then energy
|
|
MCParticle class.
Definition at line 25 of file MCParticle.h.
◆ MCParticle()
Constructor.
- Parameters
-
parameters | the mc particle parameters |
Definition at line 44 of file MCParticle.cc.
◆ ~MCParticle()
pandora::MCParticle::~MCParticle |
( |
| ) |
|
|
protectedvirtual |
◆ AddDaughter()
Add daughter particle.
- Parameters
-
mcParticle | the daughter particle |
Definition at line 66 of file MCParticle.cc.
◆ AddParent()
Add parent particle.
- Parameters
-
mcParticle | the parent particle |
Definition at line 77 of file MCParticle.cc.
◆ GetDaughterList()
Get list of daughters of mc particle.
- Returns
- the mc daughter particle list
Definition at line 306 of file MCParticle.h.
◆ GetEndpoint()
Get the endpoint of the mc particle, units mm.
- Returns
- the endpoint of the mc particle
Definition at line 264 of file MCParticle.h.
◆ GetEnergy()
float pandora::MCParticle::GetEnergy |
( |
| ) |
const |
|
inline |
Get energy of mc particle, units GeV.
- Returns
- the mc particle energy
Definition at line 243 of file MCParticle.h.
◆ GetInnerRadius()
float pandora::MCParticle::GetInnerRadius |
( |
| ) |
const |
|
inline |
Get inner radius of mc particle, units mm.
- Returns
- the mc particle inner radius
Definition at line 271 of file MCParticle.h.
◆ GetMCParticleType()
Get the type of the mc particle, e.g. vertex, 2D-projection, etc.
- Returns
- the type of the mc particle
Definition at line 292 of file MCParticle.h.
◆ GetMomentum()
Get momentum of mc particle, units GeV.
- Returns
- the mc particle momentum
Definition at line 250 of file MCParticle.h.
◆ GetOuterRadius()
float pandora::MCParticle::GetOuterRadius |
( |
| ) |
const |
|
inline |
Get outer radius of mc particle, units mm.
- Returns
- the mc particle outer radius
Definition at line 278 of file MCParticle.h.
◆ GetParentList()
Get list of parents of mc particle.
- Returns
- the mc parent particle list
Definition at line 299 of file MCParticle.h.
◆ GetParticleId()
int pandora::MCParticle::GetParticleId |
( |
| ) |
const |
|
inline |
Get the PDG code of the mc particle.
- Returns
- the PDG code of the mc particle
Definition at line 285 of file MCParticle.h.
◆ GetPfoTarget()
const MCParticle * pandora::MCParticle::GetPfoTarget |
( |
| ) |
const |
Get pfo target particle.
- Returns
- the address of the pfo target
Definition at line 16 of file MCParticle.cc.
◆ GetUid()
Uid pandora::MCParticle::GetUid |
( |
| ) |
const |
|
inline |
Get the mc particle unique identifier.
- Returns
- the mc particle unique identifier
Definition at line 236 of file MCParticle.h.
◆ GetVertex()
Get the production vertex of the mc particle, units mm.
- Returns
- the production vertex of the mc particle
Definition at line 257 of file MCParticle.h.
◆ IsPfoTarget()
bool pandora::MCParticle::IsPfoTarget |
( |
| ) |
const |
|
inline |
Whether the mc particle is a pfo target.
- Returns
- boolean
Definition at line 222 of file MCParticle.h.
◆ IsPfoTargetSet()
bool pandora::MCParticle::IsPfoTargetSet |
( |
| ) |
const |
|
inline |
Whether the pfo target been set.
- Returns
- boolean
Definition at line 229 of file MCParticle.h.
◆ IsRootParticle()
bool pandora::MCParticle::IsRootParticle |
( |
| ) |
const |
|
inline |
Whether the mc particle is a root particle.
- Returns
- boolean
Definition at line 215 of file MCParticle.h.
◆ operator<()
bool pandora::MCParticle::operator< |
( |
const MCParticle & |
rhs | ) |
const |
operator< sorting by vertex position, then energy
- Parameters
-
rhs | the object for comparison |
- Returns
- boolean
Definition at line 26 of file MCParticle.cc.
◆ RemoveDaughter()
Remove daughter particle.
- Parameters
-
mcParticle | the daughter particle |
Definition at line 88 of file MCParticle.cc.
◆ RemoveParent()
Remove parent particle.
- Parameters
-
mcParticle | the parent particle |
Definition at line 101 of file MCParticle.cc.
◆ RemovePfoTarget()
StatusCode pandora::MCParticle::RemovePfoTarget |
( |
| ) |
|
|
protected |
◆ SetPfoTarget()
Set pfo target particle.
- Parameters
-
mcParticle | the pfo target particle |
Definition at line 114 of file MCParticle.cc.
◆ InputObjectManager< MCParticle >
◆ MCManager
◆ PandoraObjectFactory< object_creation::MCParticle::Parameters, object_creation::MCParticle::Object >
◆ m_daughterList
The list of mc daughter particles.
Definition at line 205 of file MCParticle.h.
◆ m_endpoint
The endpoint of the mc particle, units mm.
Definition at line 199 of file MCParticle.h.
◆ m_energy
const float pandora::MCParticle::m_energy |
|
protected |
The energy of the mc particle, units GeV.
Definition at line 196 of file MCParticle.h.
◆ m_innerRadius
const float pandora::MCParticle::m_innerRadius |
|
protected |
Inner radius of the particle's path, units mm.
Definition at line 200 of file MCParticle.h.
◆ m_mcParticleType
The type of the mc particle, e.g. vertex, 2D-projection, etc.
Definition at line 203 of file MCParticle.h.
◆ m_momentum
The momentum of the mc particle, units GeV.
Definition at line 197 of file MCParticle.h.
◆ m_outerRadius
const float pandora::MCParticle::m_outerRadius |
|
protected |
Outer radius of the particle's path, units mm.
Definition at line 201 of file MCParticle.h.
◆ m_parentList
The list of mc parent particles.
Definition at line 206 of file MCParticle.h.
◆ m_particleId
const int pandora::MCParticle::m_particleId |
|
protected |
The PDG code of the mc particle.
Definition at line 202 of file MCParticle.h.
◆ m_pPfoTarget
const MCParticle* pandora::MCParticle::m_pPfoTarget |
|
protected |
The address of the pfo target.
Definition at line 204 of file MCParticle.h.
◆ m_uid
const Uid pandora::MCParticle::m_uid |
|
protected |
Unique identifier for the mc particle.
Definition at line 195 of file MCParticle.h.
◆ m_vertex
The production vertex of the mc particle, units mm.
Definition at line 198 of file MCParticle.h.
The documentation for this class was generated from the following files: