StRoot
1
|
Public Member Functions | |
~PhotosHEPEVTParticle () | |
PhotosHEPEVTParticle (int pdgid, int status, double px, double py, double pz, double e, double m, int ms, int me, int ds, int de) | |
void | addDaughter (PhotosParticle *daughter) |
void | setMothers (std::vector< PhotosParticle * > mothers) |
void | setDaughters (std::vector< PhotosParticle * > daughters) |
std::vector< PhotosParticle * > | getMothers () |
std::vector< PhotosParticle * > | getDaughters () |
std::vector< PhotosParticle * > | getAllDecayProducts () |
bool | checkMomentumConservation () |
PhotosHEPEVTParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e) |
void | createHistoryEntry () |
void | createSelfDecayVertex (PhotosParticle *out) |
bool | isDaughterOf (PhotosHEPEVTParticle *p) |
bool | isMotherOf (PhotosHEPEVTParticle *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 (PhotosHEPEVTEvent *event) |
int | getFirstMotherIndex () |
int | getSecondMotherIndex () |
int | getDaughterRangeStart () |
int | getDaughterRangeEnd () |
~PhotosHEPEVTParticle () | |
PhotosHEPEVTParticle (int pdgid, int status, double px, double py, double pz, double e, double m, int ms, int me, int ds, int de) | |
void | addDaughter (PhotosParticle *daughter) |
void | setMothers (std::vector< PhotosParticle * > mothers) |
void | setDaughters (std::vector< PhotosParticle * > daughters) |
std::vector< PhotosParticle * > | getMothers () |
std::vector< PhotosParticle * > | getDaughters () |
std::vector< PhotosParticle * > | getAllDecayProducts () |
bool | checkMomentumConservation () |
PhotosHEPEVTParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e) |
void | createHistoryEntry () |
void | createSelfDecayVertex (PhotosParticle *out) |
bool | isDaughterOf (PhotosHEPEVTParticle *p) |
bool | isMotherOf (PhotosHEPEVTParticle *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 (PhotosHEPEVTEvent *event) |
int | getFirstMotherIndex () |
int | getSecondMotherIndex () |
int | getDaughterRangeStart () |
int | getDaughterRangeEnd () |
Public Member Functions inherited from Photospp::PhotosParticle | |
bool | hasDaughters () |
PhotosParticle * | findLastSelf () |
std::vector< PhotosParticle * > | findProductionMothers () |
std::vector< PhotosParticle * > | getDecayTree () |
void | boostToRestFrame (PhotosParticle *boost) |
void | boostDaughtersToRestFrame (PhotosParticle *boost) |
void | boostFromRestFrame (PhotosParticle *boost) |
void | boostDaughtersFromRestFrame (PhotosParticle *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) |
virtual double | getVirtuality () |
bool | hasDaughters () |
PhotosParticle * | findLastSelf () |
std::vector< PhotosParticle * > | findProductionMothers () |
std::vector< PhotosParticle * > | getDecayTree () |
void | boostToRestFrame (PhotosParticle *boost) |
void | boostDaughtersToRestFrame (PhotosParticle *boost) |
void | boostFromRestFrame (PhotosParticle *boost) |
void | boostDaughtersFromRestFrame (PhotosParticle *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) |
virtual double | getVirtuality () |
Additional Inherited Members | |
Static Public Attributes inherited from Photospp::PhotosParticle | |
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_H = 35 |
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 | OTHER = 0 |
Definition at line 32 of file PhotosHEPEVTParticle.h.
PhotosHEPEVTParticle::~PhotosHEPEVTParticle | ( | ) |
Default destructor
Definition at line 7 of file PhotosHEPEVTParticle.cxx.
PhotosHEPEVTParticle::PhotosHEPEVTParticle | ( | 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 15 of file PhotosHEPEVTParticle.cxx.
Referenced by createNewParticle().
Photospp::PhotosHEPEVTParticle::~PhotosHEPEVTParticle | ( | ) |
Default destructor
Photospp::PhotosHEPEVTParticle::PhotosHEPEVTParticle | ( | 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 |
Add a new daughter to this particle
Implements Photospp::PhotosParticle.
Definition at line 35 of file PhotosHEPEVTParticle.cxx.
References Photospp::Log::Fatal(), Photospp::PhotosParticle::getBarcode(), getDaughterRangeEnd(), getDaughterRangeStart(), Photospp::PhotosParticle::getMothers(), Photospp::PhotosHEPEVTEvent::getParticle(), setBarcode(), Photospp::PhotosParticle::setMothers(), and Photospp::PhotosHEPEVTEvent::setParticle().
|
virtual |
Add a new daughter to this particle
Implements Photospp::PhotosParticle.
|
virtual |
Check that the 4 momentum in conserved in the decay of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Check that the 4 momentum in conserved in the decay of this particle
Implements Photospp::PhotosParticle.
Definition at line 228 of file PhotosHEPEVTParticle.cxx.
References getE(), getFirstMotherIndex(), Photospp::PhotosHEPEVTEvent::getParticle(), getPx(), getPy(), getPz(), getSecondMotherIndex(), print(), Photospp::Log::RedirectOutput(), and Photospp::Log::RevertOutput().
|
virtual |
Creating history entries not implemented in HEPEVT
Implements Photospp::PhotosParticle.
Definition at line 298 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Creating history entries not implemented in HEPEVT
Implements Photospp::PhotosParticle.
|
virtual |
Creates a new particle of type PhotosHEPEVTParticle, 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 PhotosHEPEVTParticle can be created without the method having explicit knowledge of the PhotosHEPEVTParticle class
Implements Photospp::PhotosParticle.
Definition at line 287 of file PhotosHEPEVTParticle.cxx.
References PhotosHEPEVTParticle().
|
virtual |
Creates a new particle of type PhotosHEPEVTParticle, 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 PhotosHEPEVTParticle can be created without the method having explicit knowledge of the PhotosHEPEVTParticle class
Implements Photospp::PhotosParticle.
|
virtual |
Create a self-decay vertex for this particle with 'out' being the outgoing particle in new vertex
Implements Photospp::PhotosParticle.
Definition at line 303 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Create a self-decay vertex for this particle with 'out' being the outgoing particle in new vertex
Implements Photospp::PhotosParticle.
|
virtual |
Returns all particles in the decay tree of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
virtual |
Returns all particles in the decay tree of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
Definition at line 188 of file PhotosHEPEVTParticle.cxx.
References getBarcode(), getDaughters(), and Photospp::PhotosParticle::hasDaughters().
|
virtual |
Get the barcode (position in list) of this particle
Implements Photospp::PhotosParticle.
Definition at line 392 of file PhotosHEPEVTParticle.cxx.
Referenced by getAllDecayProducts(), isDaughterOf(), isMotherOf(), and setMothers().
|
virtual |
Get the barcode (position in list) of this particle
Implements Photospp::PhotosParticle.
int PhotosHEPEVTParticle::getDaughterRangeEnd | ( | ) |
Get index of last daughter
Definition at line 416 of file PhotosHEPEVTParticle.cxx.
Referenced by addDaughter(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
int Photospp::PhotosHEPEVTParticle::getDaughterRangeEnd | ( | ) |
Get index of last daughter
int Photospp::PhotosHEPEVTParticle::getDaughterRangeStart | ( | ) |
Get index of first daughter
int PhotosHEPEVTParticle::getDaughterRangeStart | ( | ) |
Get index of first daughter
Definition at line 412 of file PhotosHEPEVTParticle.cxx.
Referenced by addDaughter(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Returns the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
Definition at line 141 of file PhotosHEPEVTParticle.cxx.
References Photospp::PhotosHEPEVTEvent::getParticle(), Photospp::PhotosHEPEVTEvent::getParticleCount(), and isDaughterOf().
Referenced by getAllDecayProducts().
|
virtual |
Returns the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
virtual |
Returns the energy component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 371 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Returns the energy component of the four vector
Implements Photospp::PhotosParticle.
int Photospp::PhotosHEPEVTParticle::getFirstMotherIndex | ( | ) |
Get index of first mother
int PhotosHEPEVTParticle::getFirstMotherIndex | ( | ) |
Get index of first mother
Definition at line 404 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Get the mass stored (i.e. not calculated from four vector) at generation step
Implements Photospp::PhotosParticle.
Definition at line 355 of file PhotosHEPEVTParticle.cxx.
Referenced by Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Get the mass stored (i.e. not calculated from four vector) at generation step
Implements Photospp::PhotosParticle.
|
virtual |
Returns the mothers of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
virtual |
Returns the mothers of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
Definition at line 120 of file PhotosHEPEVTParticle.cxx.
References Photospp::PhotosHEPEVTEvent::getParticle().
|
virtual |
Get the PDG ID code of this particle
Implements Photospp::PhotosParticle.
Definition at line 347 of file PhotosHEPEVTParticle.cxx.
Referenced by Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Get the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
inlinevirtual |
Returns the px component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 359 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Returns the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the py component of the four vector
Implements Photospp::PhotosParticle.
|
inlinevirtual |
Returns the py component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 363 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Returns the pz component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 367 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Returns the pz component of the four vector
Implements Photospp::PhotosParticle.
int PhotosHEPEVTParticle::getSecondMotherIndex | ( | ) |
Get index of second mother
Definition at line 408 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation(), and Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
int Photospp::PhotosHEPEVTParticle::getSecondMotherIndex | ( | ) |
Get index of second mother
|
virtual |
Get the status of this particle
Implements Photospp::PhotosParticle.
Definition at line 351 of file PhotosHEPEVTParticle.cxx.
Referenced by Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT().
|
virtual |
Get the status of this particle
Implements Photospp::PhotosParticle.
bool Photospp::PhotosHEPEVTParticle::isDaughterOf | ( | PhotosHEPEVTParticle * | p | ) |
Check if particle 'p' is daughter of this particle
bool PhotosHEPEVTParticle::isDaughterOf | ( | PhotosHEPEVTParticle * | p | ) |
Check if particle 'p' is daughter of this particle
Definition at line 308 of file PhotosHEPEVTParticle.cxx.
References getBarcode().
Referenced by getDaughters().
bool Photospp::PhotosHEPEVTParticle::isMotherOf | ( | PhotosHEPEVTParticle * | p | ) |
Check if particle 'p' is mother of this particle
bool PhotosHEPEVTParticle::isMotherOf | ( | PhotosHEPEVTParticle * | p | ) |
Check if particle 'p' is mother of this particle
Definition at line 316 of file PhotosHEPEVTParticle.cxx.
References getBarcode().
|
virtual |
Print information on this particle into standard output
Implements Photospp::PhotosParticle.
|
virtual |
Print information on this particle into standard output
Implements Photospp::PhotosParticle.
Definition at line 324 of file PhotosHEPEVTParticle.cxx.
Referenced by checkMomentumConservation().
void Photospp::PhotosHEPEVTParticle::setBarcode | ( | int | barcode | ) |
Set barcode (position in list) of this particle
void PhotosHEPEVTParticle::setBarcode | ( | int | barcode | ) |
Set barcode (position in list) of this particle
Definition at line 396 of file PhotosHEPEVTParticle.cxx.
Referenced by addDaughter(), and Photospp::PhotosHEPEVTEvent::addParticle().
|
virtual |
Set the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
virtual |
Set the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
Definition at line 100 of file PhotosHEPEVTParticle.cxx.
References Photospp::Log::Fatal().
|
virtual |
Set the energy component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 388 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the energy component of the four vector
Implements Photospp::PhotosParticle.
void Photospp::PhotosHEPEVTParticle::setEvent | ( | PhotosHEPEVTEvent * | event | ) |
Set event of this particle
void PhotosHEPEVTParticle::setEvent | ( | PhotosHEPEVTEvent * | event | ) |
Set event of this particle
Definition at line 400 of file PhotosHEPEVTParticle.cxx.
Referenced by Photospp::PhotosHEPEVTEvent::addParticle().
|
virtual |
Set the mass of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the mass of this particle
Implements Photospp::PhotosParticle.
Definition at line 343 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the mothers of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
Definition at line 84 of file PhotosHEPEVTParticle.cxx.
References Photospp::PhotosHEPEVTEvent::addParticle(), Photospp::Log::Fatal(), and getBarcode().
|
virtual |
Set the mothers of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
virtual |
Set the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the PDG ID code of this particle
Implements Photospp::PhotosParticle.
Definition at line 335 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 375 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 379 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the pz component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 384 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the pz component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the status of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the status of this particle
Implements Photospp::PhotosParticle.
Definition at line 339 of file PhotosHEPEVTParticle.cxx.