StRoot
1
|
Public Member Functions | |
~TauolaHEPEVTParticle () | |
TauolaHEPEVTParticle (int pdgid, int status, double px, double py, double pz, double e, double m, int ms, int me, int ds, int de) | |
void | undecay () |
void | setMothers (std::vector< TauolaParticle * > mothers) |
void | setDaughters (std::vector< TauolaParticle * > daughters) |
std::vector< TauolaParticle * > | getMothers () |
std::vector< TauolaParticle * > | getDaughters () |
void | checkMomentumConservation () |
TauolaHEPEVTParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e) |
bool | isDaughterOf (TauolaHEPEVTParticle *p) |
bool | isMotherOf (TauolaHEPEVTParticle *p) |
void | print () |
void | setPdgID (int pdg_id) |
void | setStatus (int statu) |
void | setMass (double mass) |
int | getPdgID () |
int | getStatus () |
double | getMass () |
double | getPx () |
double | getPy () |
double | getPz () |
double | getE () |
void | setPx (double px) |
void | setPy (double py) |
void | setPz (double pz) |
void | setE (double e) |
int | getBarcode () |
void | setBarcode (int barcode) |
void | setEvent (TauolaHEPEVTEvent *event) |
int | getFirstMotherIndex () |
int | getSecondMotherIndex () |
int | getDaughterRangeStart () |
int | getDaughterRangeEnd () |
~TauolaHEPEVTParticle () | |
TauolaHEPEVTParticle (int pdgid, int status, double px, double py, double pz, double e, double m, int ms, int me, int ds, int de) | |
void | undecay () |
void | setMothers (std::vector< TauolaParticle * > mothers) |
void | setDaughters (std::vector< TauolaParticle * > daughters) |
std::vector< TauolaParticle * > | getMothers () |
std::vector< TauolaParticle * > | getDaughters () |
void | checkMomentumConservation () |
TauolaHEPEVTParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e) |
bool | isDaughterOf (TauolaHEPEVTParticle *p) |
bool | isMotherOf (TauolaHEPEVTParticle *p) |
void | print () |
void | setPdgID (int pdg_id) |
void | setStatus (int statu) |
void | setMass (double mass) |
int | getPdgID () |
int | getStatus () |
double | getMass () |
double | getPx () |
double | getPy () |
double | getPz () |
double | getE () |
void | setPx (double px) |
void | setPy (double py) |
void | setPz (double pz) |
void | setE (double e) |
int | getBarcode () |
void | setBarcode (int barcode) |
void | setEvent (TauolaHEPEVTEvent *event) |
int | getFirstMotherIndex () |
int | getSecondMotherIndex () |
int | getDaughterRangeStart () |
int | getDaughterRangeEnd () |
Public Member Functions inherited from Tauolapp::TauolaParticle | |
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 | decayEndgame () |
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 | decayEndgame () |
Additional Inherited Members | |
Static Public Attributes inherited from Tauolapp::TauolaParticle | |
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 30 of file TauolaHEPEVTParticle.h.
TauolaHEPEVTParticle::~TauolaHEPEVTParticle | ( | ) |
Default destructor
Definition at line 8 of file TauolaHEPEVTParticle.cxx.
TauolaHEPEVTParticle::TauolaHEPEVTParticle | ( | int | pdgid, |
int | status, | ||
double | px, | ||
double | py, | ||
double | pz, | ||
double | e, | ||
double | m, | ||
int | ms, | ||
int | me, | ||
int | ds, | ||
int | de | ||
) |
Default constructor
Definition at line 16 of file TauolaHEPEVTParticle.cxx.
Referenced by createNewParticle().
Tauolapp::TauolaHEPEVTParticle::~TauolaHEPEVTParticle | ( | ) |
Default destructor
Tauolapp::TauolaHEPEVTParticle::TauolaHEPEVTParticle | ( | int | pdgid, |
int | status, | ||
double | px, | ||
double | py, | ||
double | pz, | ||
double | e, | ||
double | m, | ||
int | ms, | ||
int | me, | ||
int | ds, | ||
int | de | ||
) |
Default constructor
|
virtual |
Check that the 4 momentum in conserved in the decay of this particle
Reimplemented from Tauolapp::TauolaParticle.
Definition at line 141 of file TauolaHEPEVTParticle.cxx.
References getE(), getFirstMotherIndex(), Tauolapp::TauolaHEPEVTEvent::getParticle(), getPx(), getPy(), getPz(), getSecondMotherIndex(), print(), Tauolapp::Log::RedirectOutput(), and Tauolapp::Log::RevertOutput().
|
virtual |
Check that the 4 momentum in conserved in the decay of this particle
Reimplemented from Tauolapp::TauolaParticle.
|
virtual |
Creates a new particle of type TauolaHEPEVTParticle, with the given properties. The new particle bares no relations to this particle, but `this particle' provides only a way of creating an instance of this derived class. eg. createNewParticle() is used inside filhep_() so that a TauolaHEPEVTParticle can be created without the method having explicit knowledge of the TauolaHEPEVTParticle class
Implements Tauolapp::TauolaParticle.
|
virtual |
Creates a new particle of type TauolaHEPEVTParticle, with the given properties. The new particle bares no relations to this particle, but `this particle' provides only a way of creating an instance of this derived class. eg. createNewParticle() is used inside filhep_() so that a TauolaHEPEVTParticle can be created without the method having explicit knowledge of the TauolaHEPEVTParticle class
Implements Tauolapp::TauolaParticle.
Definition at line 196 of file TauolaHEPEVTParticle.cxx.
References TauolaHEPEVTParticle().
|
virtual |
Get the barcode (position in list) of this particle
Implements Tauolapp::TauolaParticle.
Definition at line 291 of file TauolaHEPEVTParticle.cxx.
Referenced by isDaughterOf(), isMotherOf(), and setMothers().
|
virtual |
Get the barcode (position in list) of this particle
Implements Tauolapp::TauolaParticle.
int TauolaHEPEVTParticle::getDaughterRangeEnd | ( | ) |
Get index of last daughter
Definition at line 315 of file TauolaHEPEVTParticle.cxx.
int Tauolapp::TauolaHEPEVTParticle::getDaughterRangeEnd | ( | ) |
Get index of last daughter
int Tauolapp::TauolaHEPEVTParticle::getDaughterRangeStart | ( | ) |
Get index of first daughter
int TauolaHEPEVTParticle::getDaughterRangeStart | ( | ) |
Get index of first daughter
Definition at line 311 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Returns the daughters of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
Definition at line 94 of file TauolaHEPEVTParticle.cxx.
References Tauolapp::TauolaHEPEVTEvent::getParticle(), Tauolapp::TauolaHEPEVTEvent::getParticleCount(), and isDaughterOf().
|
virtual |
Returns the daughters of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
|
virtual |
Returns the energy component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 270 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
|
virtual |
Returns the energy component of the four vector
Implements Tauolapp::TauolaParticle.
int TauolaHEPEVTParticle::getFirstMotherIndex | ( | ) |
Get index of first mother
Definition at line 303 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
int Tauolapp::TauolaHEPEVTParticle::getFirstMotherIndex | ( | ) |
Get index of first mother
double TauolaHEPEVTParticle::getMass | ( | ) |
Get the mass stored (i.e. not calculated from four vector) at generation step
Definition at line 254 of file TauolaHEPEVTParticle.cxx.
double Tauolapp::TauolaHEPEVTParticle::getMass | ( | ) |
Get the mass stored (i.e. not calculated from four vector) at generation step
|
virtual |
Returns the mothers of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
|
virtual |
Returns the mothers of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
Definition at line 76 of file TauolaHEPEVTParticle.cxx.
References Tauolapp::TauolaHEPEVTEvent::getParticle().
|
virtual |
Get the PDG ID code of this particle
Implements Tauolapp::TauolaParticle.
|
virtual |
Get the PDG ID code of this particle
Implements Tauolapp::TauolaParticle.
Definition at line 246 of file TauolaHEPEVTParticle.cxx.
|
inlinevirtual |
Returns the px component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 258 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
|
virtual |
Returns the px component of the four vector
Implements Tauolapp::TauolaParticle.
|
inlinevirtual |
Returns the py component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 262 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
|
virtual |
Returns the py component of the four vector
Implements Tauolapp::TauolaParticle.
|
virtual |
Returns the pz component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 266 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
|
virtual |
Returns the pz component of the four vector
Implements Tauolapp::TauolaParticle.
int Tauolapp::TauolaHEPEVTParticle::getSecondMotherIndex | ( | ) |
Get index of second mother
int TauolaHEPEVTParticle::getSecondMotherIndex | ( | ) |
Get index of second mother
Definition at line 307 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
|
virtual |
Get the status of this particle
Implements Tauolapp::TauolaParticle.
|
virtual |
Get the status of this particle
Implements Tauolapp::TauolaParticle.
Definition at line 250 of file TauolaHEPEVTParticle.cxx.
bool TauolaHEPEVTParticle::isDaughterOf | ( | TauolaHEPEVTParticle * | p | ) |
Check if particle 'p' is daughter of this particle
Definition at line 207 of file TauolaHEPEVTParticle.cxx.
References getBarcode().
Referenced by getDaughters().
bool Tauolapp::TauolaHEPEVTParticle::isDaughterOf | ( | TauolaHEPEVTParticle * | p | ) |
Check if particle 'p' is daughter of this particle
bool TauolaHEPEVTParticle::isMotherOf | ( | TauolaHEPEVTParticle * | p | ) |
Check if particle 'p' is mother of this particle
Definition at line 215 of file TauolaHEPEVTParticle.cxx.
References getBarcode().
bool Tauolapp::TauolaHEPEVTParticle::isMotherOf | ( | TauolaHEPEVTParticle * | p | ) |
Check if particle 'p' is mother of this particle
|
virtual |
Print information on this particle into standard output
Implements Tauolapp::TauolaParticle.
|
virtual |
Print information on this particle into standard output
Implements Tauolapp::TauolaParticle.
Definition at line 223 of file TauolaHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
void TauolaHEPEVTParticle::setBarcode | ( | int | barcode | ) |
Set barcode (position in list) of this particle
Definition at line 295 of file TauolaHEPEVTParticle.cxx.
Referenced by Tauolapp::TauolaHEPEVTEvent::addParticle().
void Tauolapp::TauolaHEPEVTParticle::setBarcode | ( | int | barcode | ) |
Set barcode (position in list) of this particle
|
virtual |
Set the daughters of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the daughters of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
Definition at line 56 of file TauolaHEPEVTParticle.cxx.
References Tauolapp::Log::Fatal().
|
virtual |
Set the energy component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 287 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Set the energy component of the four vector
Implements Tauolapp::TauolaParticle.
void TauolaHEPEVTParticle::setEvent | ( | TauolaHEPEVTEvent * | event | ) |
Set event of this particle
Definition at line 299 of file TauolaHEPEVTParticle.cxx.
Referenced by Tauolapp::TauolaHEPEVTEvent::addParticle().
void Tauolapp::TauolaHEPEVTParticle::setEvent | ( | TauolaHEPEVTEvent * | event | ) |
Set event of this particle
|
virtual |
Set the mass of this particle
Implements Tauolapp::TauolaParticle.
Definition at line 242 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Set the mass of this particle
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the mothers of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
Definition at line 40 of file TauolaHEPEVTParticle.cxx.
References Tauolapp::TauolaHEPEVTEvent::addParticle(), Tauolapp::Log::Fatal(), and getBarcode().
|
virtual |
Set the mothers of this particle via a vector of TauolaParticle
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the PDG ID code of this particle
Implements Tauolapp::TauolaParticle.
Definition at line 234 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Set the PDG ID code of this particle
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the px component of the four vector
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the px component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 274 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Set the px component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 278 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Set the px component of the four vector
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the pz component of the four vector
Implements Tauolapp::TauolaParticle.
Definition at line 283 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Set the pz component of the four vector
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the status of this particle
Implements Tauolapp::TauolaParticle.
|
virtual |
Set the status of this particle
Implements Tauolapp::TauolaParticle.
Definition at line 238 of file TauolaHEPEVTParticle.cxx.
|
virtual |
Remove the decay branch from the event record and reset the particle status code to stable. WARNING: not implemented for HEPEVT.
Reimplemented from Tauolapp::TauolaParticle.
|
virtual |
Remove the decay branch from the event record and reset the particle status code to stable. WARNING: not implemented for HEPEVT.
Reimplemented from Tauolapp::TauolaParticle.
Definition at line 35 of file TauolaHEPEVTParticle.cxx.