StRoot
1
|
Public Member Functions | |
TauolaParticle * | clone () |
double | getAngle (TauolaParticle *) |
void | add (TauolaParticle *) |
void | subtract (TauolaParticle *) |
void | decay () |
void | addDecayToEventRecord () |
int | getSign () |
double | getPolarimetricX () |
double | getPolarimetricY () |
double | getPolarimetricZ () |
bool | hasDaughters () |
TauolaParticle * | findLastSelf () |
std::vector< TauolaParticle * > | findProductionMothers () |
void | boostToRestFrame (TauolaParticle *boost) |
void | boostDaughtersToRestFrame (TauolaParticle *boost) |
void | boostFromRestFrame (TauolaParticle *boost) |
void | boostDaughtersFromRestFrame (TauolaParticle *boost) |
void | boostAlongZ (double pz, double e) |
void | rotate (int axis, double phi, int second_axis=Z_AXIS) |
void | rotateDaughters (int axis, double phi, int second_axis=Z_AXIS) |
double | getRotationAngle (int axis, int second_axis=Z_AXIS) |
double | getP () |
double | getP (int axis) |
void | setP (int axis, double p_component) |
double | getMass () |
virtual void | undecay () |
virtual void | checkMomentumConservation () |
virtual void | decayEndgame () |
virtual double | getPx ()=0 |
virtual double | getPy ()=0 |
virtual double | getPz ()=0 |
virtual double | getE ()=0 |
virtual void | setPx (double px)=0 |
virtual void | setPy (double py)=0 |
virtual void | setPz (double pz)=0 |
virtual void | setE (double e)=0 |
virtual void | setMothers (std::vector< TauolaParticle * > mothers)=0 |
virtual void | setDaughters (std::vector< TauolaParticle * > daughters)=0 |
virtual std::vector < TauolaParticle * > | getMothers ()=0 |
virtual std::vector < TauolaParticle * > | getDaughters ()=0 |
virtual void | setPdgID (int pdg_id)=0 |
virtual void | setMass (double mass)=0 |
virtual void | setStatus (int status)=0 |
virtual int | getPdgID ()=0 |
virtual int | getStatus ()=0 |
virtual int | getBarcode ()=0 |
virtual TauolaParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e)=0 |
virtual void | print ()=0 |
TauolaParticle * | clone () |
double | getAngle (TauolaParticle *) |
void | add (TauolaParticle *) |
void | subtract (TauolaParticle *) |
void | decay () |
void | addDecayToEventRecord () |
int | getSign () |
double | getPolarimetricX () |
double | getPolarimetricY () |
double | getPolarimetricZ () |
bool | hasDaughters () |
TauolaParticle * | findLastSelf () |
std::vector< TauolaParticle * > | findProductionMothers () |
void | boostToRestFrame (TauolaParticle *boost) |
void | boostDaughtersToRestFrame (TauolaParticle *boost) |
void | boostFromRestFrame (TauolaParticle *boost) |
void | boostDaughtersFromRestFrame (TauolaParticle *boost) |
void | boostAlongZ (double pz, double e) |
void | rotate (int axis, double phi, int second_axis=Z_AXIS) |
void | rotateDaughters (int axis, double phi, int second_axis=Z_AXIS) |
double | getRotationAngle (int axis, int second_axis=Z_AXIS) |
double | getP () |
double | getP (int axis) |
void | setP (int axis, double p_component) |
double | getMass () |
virtual void | undecay () |
virtual void | checkMomentumConservation () |
virtual void | decayEndgame () |
virtual double | getPx ()=0 |
virtual double | getPy ()=0 |
virtual double | getPz ()=0 |
virtual double | getE ()=0 |
virtual void | setPx (double px)=0 |
virtual void | setPy (double py)=0 |
virtual void | setPz (double pz)=0 |
virtual void | setE (double e)=0 |
virtual void | setMothers (std::vector< TauolaParticle * > mothers)=0 |
virtual void | setDaughters (std::vector< TauolaParticle * > daughters)=0 |
virtual std::vector < TauolaParticle * > | getMothers ()=0 |
virtual std::vector < TauolaParticle * > | getDaughters ()=0 |
virtual void | setPdgID (int pdg_id)=0 |
virtual void | setMass (double mass)=0 |
virtual void | setStatus (int status)=0 |
virtual int | getPdgID ()=0 |
virtual int | getStatus ()=0 |
virtual int | getBarcode ()=0 |
virtual TauolaParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e)=0 |
virtual void | print ()=0 |
Static Public Attributes | |
static const int | SAME_SIGN =1 |
static const int | OPPOSITE_SIGN =2 |
static const int | NA_SIGN =3 |
static const int | STABLE =1 |
static const int | DECAYED =2 |
static const int | HISTORY =3 |
static const int | X_AXIS =1 |
static const int | Y_AXIS =2 |
static const int | Z_AXIS =3 |
static const int | Z0 = 23 |
static const int | HIGGS = 25 |
static const int | HIGGS_A = 36 |
static const int | HIGGS_PLUS = 37 |
static const int | HIGGS_MINUS = -37 |
static const int | W_PLUS = 24 |
static const int | W_MINUS = -24 |
static const int | GAMMA = 22 |
static const int | TAU_PLUS = -15 |
static const int | TAU_MINUS = 15 |
static const int | TAU_NEUTRINO = 16 |
static const int | TAU_ANTINEUTRINO = -16 |
static const int | MUON_PLUS = -13 |
static const int | MUON_MINUS = 13 |
static const int | MUON_NEUTRINO = 14 |
static const int | MUON_ANTINEUTRINO = -14 |
static const int | POSITRON = -11 |
static const int | ELECTRON = 11 |
static const int | ELECTRON_NEUTRINO = 12 |
static const int | ELECTRON_ANTINEUTRINO = -12 |
static const int | UP = 2 |
static const int | ANTIUP = -2 |
static const int | DOWN = 1 |
static const int | ANTIDOWN = -1 |
static const int | GLUON = 21 |
static const int | CHARM = 4 |
static const int | TOP = 6 |
static const int | STRANGE = 3 |
static const int | BOTTOM = 5 |
static const int | OTHER = 0 |
Definition at line 33 of file TauolaParticle.h.
void TauolaParticle::add | ( | TauolaParticle * | other_particle | ) |
void Tauolapp::TauolaParticle::add | ( | TauolaParticle * | ) |
Add the 4 momentum of another particle to this particle
void TauolaParticle::addDecayToEventRecord | ( | ) |
Invokes TAUOLA FORTRAN routine DEKAY retrieving the daughters of decayed tau.
Definition at line 109 of file TauolaParticle.cxx.
References Tauolapp::DecayList::addToEnd(), boostAlongZ(), Tauolapp::DecayList::clear(), clone(), Tauolapp::Log::Fatal(), getE(), getP(), Tauolapp::DecayList::getParticle(), getPdgID(), getPx(), getPy(), getPz(), getSign(), hasDaughters(), Tauolapp::TauolaWriteDecayToEventRecord(), and Z_AXIS.
Referenced by Tauolapp::TauolaParticlePair::decayTauPair().
void Tauolapp::TauolaParticle::addDecayToEventRecord | ( | ) |
Invokes TAUOLA FORTRAN routine DEKAY retrieving the daughters of decayed tau.
void TauolaParticle::boostAlongZ | ( | double | boost_pz, |
double | boost_e | ||
) |
Do a Lorenz transformation along the Z axis.
Boost this vector along the Z direction. Assume no momentum components in the X or Y directions.
Definition at line 292 of file TauolaParticle.cxx.
References getE(), getPz(), setE(), and setPz().
Referenced by addDecayToEventRecord(), boostFromRestFrame(), boostToRestFrame(), and Tauolapp::filhep_().
void Tauolapp::TauolaParticle::boostAlongZ | ( | double | pz, |
double | e | ||
) |
Do a Lorenz transformation along the Z axis.
void TauolaParticle::boostDaughtersToRestFrame | ( | TauolaParticle * | boost | ) |
Transform the four momentum of all the daughters recursively into the frame of the "particle" TauolaParticle.
Definition at line 215 of file TauolaParticle.cxx.
References getDaughters(), and hasDaughters().
void Tauolapp::TauolaParticle::boostDaughtersToRestFrame | ( | TauolaParticle * | boost | ) |
Transform the four momentum of all the daughters recursively into the frame of the "particle" TauolaParticle.
void Tauolapp::TauolaParticle::boostFromRestFrame | ( | TauolaParticle * | boost | ) |
Transform this particles four momentum from the rest frame of the paramter TauolaParticle, back into the lab frame.
void TauolaParticle::boostFromRestFrame | ( | TauolaParticle * | boost | ) |
Transform this particles four momentum from the rest frame of the paramter TauolaParticle, back into the lab frame.
Definition at line 250 of file TauolaParticle.cxx.
References boostAlongZ(), getE(), getP(), getRotationAngle(), rotate(), X_AXIS, and Y_AXIS.
void TauolaParticle::boostToRestFrame | ( | TauolaParticle * | boost | ) |
Transform this particles four momentum from the lab frome into the rest frame of the paramter TauolaParticle.
Definition at line 234 of file TauolaParticle.cxx.
References boostAlongZ(), getE(), getP(), getRotationAngle(), rotate(), X_AXIS, and Y_AXIS.
void Tauolapp::TauolaParticle::boostToRestFrame | ( | TauolaParticle * | boost | ) |
Transform this particles four momentum from the lab frome into the rest frame of the paramter TauolaParticle.
|
inlinevirtual |
check that the 4 momentum in conserved at the vertices producing and ending this particle
Reimplemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Definition at line 258 of file TauolaParticle.h.
|
inlinevirtual |
check that the 4 momentum in conserved at the vertices producing and ending this particle
Reimplemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Definition at line 258 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::checkMomentumConservation().
TauolaParticle* Tauolapp::TauolaParticle::clone | ( | ) |
Create a new particle with the same properties as this one. Mothers and daughters will not be linked.
TauolaParticle * TauolaParticle::clone | ( | ) |
Create a new particle with the same properties as this one. Mothers and daughters will not be linked.
Definition at line 21 of file TauolaParticle.cxx.
References createNewParticle(), getE(), getMass(), getPdgID(), getPx(), getPy(), getPz(), and getStatus().
Referenced by addDecayToEventRecord().
|
pure virtual |
Create a new particle of the same type, with the given properties. The new particle bares no relations to this particle, but it provides a way of creating a intance of the derived class. eg. createNewParticle() is used inside filhep_() so that an eg. TauolaHepMCParticle is created without the method having explicit knowledge of the TauolaHepMCParticle class
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by clone(), and Tauolapp::filhep_().
|
pure virtual |
Create a new particle of the same type, with the given properties. The new particle bares no relations to this particle, but it provides a way of creating a intance of the derived class. eg. createNewParticle() is used inside filhep_() so that an eg. TauolaHepMCParticle is created without the method having explicit knowledge of the TauolaHepMCParticle class
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
void TauolaParticle::decay | ( | ) |
Decay the particle. This calls the decay methods in the interface to (FORTRAN) tauola.
Definition at line 103 of file TauolaParticle.cxx.
References getSign(), and Tauolapp::TauolaDecay().
Referenced by Tauolapp::TauolaParticlePair::decayTauPair().
void Tauolapp::TauolaParticle::decay | ( | ) |
Decay the particle. This calls the decay methods in the interface to (FORTRAN) tauola.
|
inlinevirtual |
Optional. Modify particle or decay tree if needed.
Reimplemented in Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
Definition at line 261 of file TauolaParticle.h.
|
inlinevirtual |
Optional. Modify particle or decay tree if needed.
Reimplemented in Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
Definition at line 261 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::decayTauPair().
TauolaParticle * TauolaParticle::findLastSelf | ( | ) |
Traverse the event structure and find the final version of this particle which does not have a particle of it's own type as it's daughter. eg. Generally the final stable copy
Definition at line 78 of file TauolaParticle.cxx.
References getDaughters(), and getPdgID().
Referenced by Tauolapp::TauolaParticlePair::TauolaParticlePair().
TauolaParticle* Tauolapp::TauolaParticle::findLastSelf | ( | ) |
Traverse the event structure and find the final version of this particle which does not have a particle of it's own type as it's daughter. eg. Generally the final stable copy
std::vector< TauolaParticle * > TauolaParticle::findProductionMothers | ( | ) |
Traverse the event structure and find the first set of mothers which are not of the same type as this particle.
Definition at line 91 of file TauolaParticle.cxx.
References getMothers(), and getPdgID().
Referenced by Tauolapp::TauolaParticlePair::TauolaParticlePair().
std::vector<TauolaParticle *> Tauolapp::TauolaParticle::findProductionMothers | ( | ) |
Traverse the event structure and find the first set of mothers which are not of the same type as this particle.
double TauolaParticle::getAngle | ( | TauolaParticle * | other_particle | ) |
Get the angle between this particle and another particle
Definition at line 29 of file TauolaParticle.cxx.
double Tauolapp::TauolaParticle::getAngle | ( | TauolaParticle * | ) |
Get the angle between this particle and another particle
|
pure virtual |
Get the barcode of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
Referenced by Tauolapp::TauolaParticlePair::contains().
|
pure virtual |
Get the barcode of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Returns the daughters of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by boostDaughtersToRestFrame(), findLastSelf(), and hasDaughters().
|
pure virtual |
Returns the daughters of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Returns the energy component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), addDecayToEventRecord(), boostAlongZ(), boostFromRestFrame(), boostToRestFrame(), clone(), Tauolapp::filhep_(), getMass(), and subtract().
|
pure virtual |
Returns the energy component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
double Tauolapp::TauolaParticle::getMass | ( | ) |
Get the invariant mass from the four momentum
double TauolaParticle::getMass | ( | ) |
Get the invariant mass from the four momentum
Definition at line 329 of file TauolaParticle.cxx.
References getE(), and getP().
Referenced by clone().
|
pure virtual |
Returns the mothers of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by findProductionMothers().
|
pure virtual |
Returns the mothers of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
double Tauolapp::TauolaParticle::getP | ( | ) |
Get scalar momentum
double TauolaParticle::getP | ( | ) |
Get scalar momentum
Definition at line 339 of file TauolaParticle.cxx.
References getPx(), getPy(), and getPz().
Referenced by addDecayToEventRecord(), boostFromRestFrame(), boostToRestFrame(), Tauolapp::filhep_(), getMass(), getRotationAngle(), and rotate().
double Tauolapp::TauolaParticle::getP | ( | int | axis | ) |
Get momentum component in the direction of "axis" (x,y,z)
double TauolaParticle::getP | ( | int | axis | ) |
|
pure virtual |
Get the PDG ID code of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Get the PDG ID code of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
Referenced by addDecayToEventRecord(), clone(), findLastSelf(), findProductionMothers(), and getSign().
double TauolaParticle::getPolarimetricX | ( | ) |
Get the polarimetric vector of this particle in the direction X. (Only relevant for tau particles).
Definition at line 8 of file TauolaParticle.cxx.
Referenced by Tauolapp::TauolaParticlePair::decayTauPair().
double Tauolapp::TauolaParticle::getPolarimetricX | ( | ) |
Get the polarimetric vector of this particle in the direction X. (Only relevant for tau particles).
double TauolaParticle::getPolarimetricY | ( | ) |
Get the polarimetric vector of this particle in the direction Y. (Only relevant for tau particles).
Definition at line 12 of file TauolaParticle.cxx.
Referenced by Tauolapp::TauolaParticlePair::decayTauPair().
double Tauolapp::TauolaParticle::getPolarimetricY | ( | ) |
Get the polarimetric vector of this particle in the direction Y. (Only relevant for tau particles).
double TauolaParticle::getPolarimetricZ | ( | ) |
Get the polarimetric vector of this particle in the direction Z. (Only relevant for tau particles).
Definition at line 16 of file TauolaParticle.cxx.
Referenced by Tauolapp::TauolaParticlePair::decayTauPair().
double Tauolapp::TauolaParticle::getPolarimetricZ | ( | ) |
Get the polarimetric vector of this particle in the direction Z. (Only relevant for tau particles).
|
pure virtual |
Returns the px component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), addDecayToEventRecord(), clone(), getAngle(), getP(), and subtract().
|
pure virtual |
Returns the px component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Returns the py component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Returns the py component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), addDecayToEventRecord(), clone(), getAngle(), getP(), and subtract().
|
pure virtual |
Returns the pz component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Returns the pz component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), addDecayToEventRecord(), boostAlongZ(), clone(), getAngle(), getP(), and subtract().
double Tauolapp::TauolaParticle::getRotationAngle | ( | int | axis, |
int | second_axis = Z_AXIS |
||
) |
Returns the angle around the axis "axis" needed to rotate the four momenum is such a way that the non-Z component disappears and Z>0. This is used to rotating the coordinate system into a frame with only a Z component before calling boostAlongZ().
double TauolaParticle::getRotationAngle | ( | int | axis, |
int | second_axis = Z_AXIS |
||
) |
Returns the angle around the axis "axis" needed to rotate the four momenum is such a way that the non-Z component disappears and Z>0. This is used to rotating the coordinate system into a frame with only a Z component before calling boostAlongZ().
Get the angle needed to rotate the 4 momentum vector so that the x (y) component disapears. (and the Z component is > 0)
if(getP(axis)==0){ if(getPz()>0) return 0; //no rotaion required else return M_PI; }
Definition at line 269 of file TauolaParticle.cxx.
References getP().
Referenced by boostFromRestFrame(), and boostToRestFrame().
int Tauolapp::TauolaParticle::getSign | ( | ) |
Get whether this particle has the same or opposite sign to the pdg code given to the Tauola object. (Only relevant for tau particles).
int TauolaParticle::getSign | ( | ) |
Get whether this particle has the same or opposite sign to the pdg code given to the Tauola object. (Only relevant for tau particles).
Definition at line 62 of file TauolaParticle.cxx.
References Tauolapp::Tauola::getDecayingParticle(), getPdgID(), NA_SIGN, OPPOSITE_SIGN, and SAME_SIGN.
Referenced by addDecayToEventRecord(), and decay().
|
pure virtual |
Get the status of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Get the status of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
Referenced by clone().
bool Tauolapp::TauolaParticle::hasDaughters | ( | ) |
Return whether the particle has any chidren
bool TauolaParticle::hasDaughters | ( | ) |
Return whether the particle has any chidren
Definition at line 71 of file TauolaParticle.cxx.
References getDaughters().
Referenced by addDecayToEventRecord(), boostDaughtersToRestFrame(), and Tauolapp::Tauola::decayOne().
|
pure virtual |
Print some information about this particle to standard output
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Print some information about this particle to standard output
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by Tauolapp::TauolaParticlePair::print().
void TauolaParticle::rotate | ( | int | axis, |
double | theta, | ||
int | second_axis = Z_AXIS |
||
) |
rotate this particles 4-momentum by an angle phi from the axisis "axis" towards the axis "second_axis".
Rotation around an axis X or Y
Definition at line 305 of file TauolaParticle.cxx.
References getP(), and setP().
Referenced by boostFromRestFrame(), and boostToRestFrame().
void Tauolapp::TauolaParticle::rotate | ( | int | axis, |
double | phi, | ||
int | second_axis = Z_AXIS |
||
) |
rotate this particles 4-momentum by an angle phi from the axisis "axis" towards the axis "second_axis".
|
pure virtual |
Set the daughters of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Set the daughters of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by Tauolapp::filhep_().
|
pure virtual |
Set the energy component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), boostAlongZ(), and subtract().
|
pure virtual |
Set the energy component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Set the mass of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Set the mass of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
Referenced by add(), and subtract().
|
pure virtual |
Set the mothers of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by Tauolapp::filhep_().
|
pure virtual |
Set the mothers of this particle via a vector of TauolaParticle
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
void TauolaParticle::setP | ( | int | axis, |
double | p_component | ||
) |
void Tauolapp::TauolaParticle::setP | ( | int | axis, |
double | p_component | ||
) |
Set momentum component in the direction of "axis" (x,y,z)
|
pure virtual |
Set the PDG ID code of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Set the PDG ID code of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Set the px component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), setP(), and subtract().
|
pure virtual |
Set the px component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Set the px component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), setP(), and subtract().
|
pure virtual |
Set the px component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Set the pz component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
|
pure virtual |
Set the pz component of the four vector
Implemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Referenced by add(), boostAlongZ(), setP(), and subtract().
|
pure virtual |
Set the status of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
|
pure virtual |
Set the status of this particle
Implemented in Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHEPEVTParticle, Tauolapp::TauolaHepMCParticle, and Tauolapp::TauolaHepMCParticle.
void Tauolapp::TauolaParticle::subtract | ( | TauolaParticle * | ) |
Subtract the 4 momentum of another particle from this particle
void TauolaParticle::subtract | ( | TauolaParticle * | other_particle | ) |
|
inlinevirtual |
remove the ougoing branch from this particles and reset its status to stable
Reimplemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Definition at line 254 of file TauolaParticle.h.
Referenced by Tauolapp::Tauola::decayOne().
|
inlinevirtual |
remove the ougoing branch from this particles and reset its status to stable
Reimplemented in Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHepMCParticle, Tauolapp::TauolaHEPEVTParticle, and Tauolapp::TauolaHEPEVTParticle.
Definition at line 254 of file TauolaParticle.h.
|
static |
anti-down quark
Definition at line 142 of file TauolaParticle.h.
|
static |
anti-up quark
Definition at line 136 of file TauolaParticle.h.
|
static |
Decayed particle status
Definition at line 55 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaHepMCParticle::setMothers().
|
static |
down quark
Definition at line 139 of file TauolaParticle.h.
|
static |
e- particle
Definition at line 124 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::getGrandmotherMinus().
|
static |
e antineutrino particle
Definition at line 130 of file TauolaParticle.h.
|
static |
e neutrino particle
Definition at line 127 of file TauolaParticle.h.
|
static |
photon
Definition at line 92 of file TauolaParticle.h.
|
static |
H particle
Definition at line 73 of file TauolaParticle.h.
|
static |
A0 particle
Definition at line 76 of file TauolaParticle.h.
|
static |
H- particle
Definition at line 82 of file TauolaParticle.h.
|
static |
H+ particle
Definition at line 79 of file TauolaParticle.h.
|
static |
History particle status
Definition at line 58 of file TauolaParticle.h.
|
static |
muon antineutrino particle
Definition at line 117 of file TauolaParticle.h.
|
static |
muon- particle
Definition at line 111 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::getGrandmotherMinus().
|
static |
muon neutrino particle
Definition at line 114 of file TauolaParticle.h.
|
static |
muon+ particle
Definition at line 108 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::getGrandmotherPlus().
|
static |
Sign type is not applicable for this particle (probably it's not a tau).
Definition at line 49 of file TauolaParticle.h.
Referenced by getSign().
|
static |
The opposite sign to decaying particle pdg ID code given to Tauola object (only meaningful for taus).
Definition at line 45 of file TauolaParticle.h.
Referenced by getSign().
|
static |
All other particle types
Definition at line 151 of file TauolaParticle.h.
|
static |
e+ particle
Definition at line 121 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::getGrandmotherPlus().
|
static |
The same sign as decaying particle pdg ID code given to Tauola object (only meaningful for taus).
Definition at line 41 of file TauolaParticle.h.
Referenced by getSign().
|
static |
Stable particle status
Definition at line 52 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaHepMCParticle::setMothers(), and Tauolapp::TauolaHepMCParticle::undecay().
|
static |
tau antineutrino particle
Definition at line 104 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::TauolaParticlePair().
|
static |
tau- particle
Definition at line 98 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::getTauMinus(), and Tauolapp::TauolaParticlePair::TauolaParticlePair().
|
static |
tau neutrino particle
Definition at line 101 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::TauolaParticlePair().
|
static |
tau+ particle
Definition at line 95 of file TauolaParticle.h.
Referenced by Tauolapp::TauolaParticlePair::getTauPlus(), and Tauolapp::TauolaParticlePair::TauolaParticlePair().
|
static |
up quark
Definition at line 133 of file TauolaParticle.h.
|
static |
W- particle
Definition at line 89 of file TauolaParticle.h.
|
static |
W+ particle
Definition at line 86 of file TauolaParticle.h.
|
static |
X Axis
Definition at line 61 of file TauolaParticle.h.
Referenced by boostFromRestFrame(), boostToRestFrame(), getP(), and setP().
|
static |
Y Axis
Definition at line 64 of file TauolaParticle.h.
Referenced by boostFromRestFrame(), boostToRestFrame(), getP(), and setP().
|
static |
Z0 particle
Definition at line 70 of file TauolaParticle.h.
|
static |
Z Axis
Definition at line 67 of file TauolaParticle.h.
Referenced by addDecayToEventRecord(), Tauolapp::filhep_(), getP(), and setP().