HighLAND
|
Representation of a true Monte Carlo trajectory/particle. More...
#include <DataClasses.hxx>
Public Member Functions | |
virtual AnaTrueParticle * | Clone () |
Clone this object. | |
void | Print () const |
Dump the object to screen. | |
![]() | |
void | Print () const |
Dump the object to screen. | |
![]() | |
void | Print () const |
Dump the object to screen. | |
Public Attributes | |
Int_t | PrimaryID |
Float_t | Purity |
The purity with which this particle was matched to a reconstructed object. | |
Int_t | Bunch |
Int_t | VertexIndex |
std::vector< AnaParticleB * > | ReconParticles |
Vector of pointers to AnaParticle's associated with this true particle. | |
bool | IsTruePrimaryPi0DecayPhoton |
Is this a true primary pi0 decay photon or the child of one? | |
bool | IsTruePrimaryPi0DecayPhotonChild |
![]() | |
Int_t | PDG |
The PDG code of this particle. | |
Int_t | ParentID |
The ID of this particle's immediate parent, or 0 if there is no parent. | |
Int_t | ParentPDG |
The PDG code of this particle's immediate parent, or 0 if there is no parent. | |
Int_t | GParentPDG |
The PDG code of this particle's grandparent, or 0 if there is no grandparent. | |
Float_t | Position [4] |
The initial position of the true particle. | |
Float_t | PositionEnd [4] |
The end position of the true particle. | |
Float_t | Direction [3] |
The initial direction of the true particle. | |
Float_t | Momentum |
The initial momentum of the true particle. | |
Float_t | Charge |
The true charge of the particle. | |
Int_t | VertexID |
The TruthVertexID of the AnaTrueVertexB of the interaction that created this AnaTrueParticleB. | |
AnaTrueVertexB * | TrueVertex |
Pointer to the AnaTrueVertexB of the interaction that created this AnaTrueParticleB. | |
AnaDetCrossingB ** | DetCrossings |
int | nDetCrossings |
The number of DetCrossing objects. | |
std::vector< AnaDetCrossingB * > | DetCrossingsVect |
A copy of DetCrossings but using an std::vector, which can be saved into a tree. | |
![]() | |
Int_t | ID |
The ID of the trueObj, which corresponds to the ID of the TTruthParticle that created it. | |
Protected Member Functions | |
AnaTrueParticle (const AnaTrueParticle &track) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
![]() | |
AnaTrueParticleB (const AnaTrueParticleB &truePart) | |
Copy constructor is protected, as Clone() should be used to copy this object. More... | |
![]() | |
AnaTrueObjectC (const AnaTrueObjectC &trueObj) | |
Copy constructor is protected, as Clone() should be used to copy this object. | |
Representation of a true Monte Carlo trajectory/particle.
Definition at line 156 of file DataClasses.hxx.
Int_t AnaTrueParticle::Bunch |
The bunch in which this true interaction occurred, based on the time of this true particle Start Position and the bunching used for the reconstructed objects.
Definition at line 187 of file DataClasses.hxx.
Int_t AnaTrueParticle::PrimaryID |
The ID of the primary particle that created this particle. You can use the anaUtils::GetTrueTrackByID(Int_t ID) or anaUtils::GetPrimaryTrueTrack(AnaTrueParticleB* track) functions to find the AnaTrueParticleB representing the primary particle.
Definition at line 180 of file DataClasses.hxx.
Int_t AnaTrueParticle::VertexIndex |
The index of the AnaTrueVertexB of the interaction that created this AnaTrueParticleB. Doesn't match to any variable in the AnaTrueVertexB class, but is needed to set up the Vertex pointer, which should be used to access the vertex that created this particle.
Definition at line 193 of file DataClasses.hxx.