FairRoot/PandaRoot
|
#include <PhotosHEPEVTParticle.h>
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 () |
bool | hasDaughters () |
bool | hasDaughters () |
PhotosParticle * | findLastSelf () |
PhotosParticle * | findLastSelf () |
std::vector< PhotosParticle * > | findProductionMothers () |
std::vector< PhotosParticle * > | findProductionMothers () |
std::vector< PhotosParticle * > | getDecayTree () |
std::vector< PhotosParticle * > | getDecayTree () |
void | boostToRestFrame (PhotosParticle *boost) |
void | boostToRestFrame (PhotosParticle *boost) |
void | boostDaughtersToRestFrame (PhotosParticle *boost) |
void | boostDaughtersToRestFrame (PhotosParticle *boost) |
void | boostFromRestFrame (PhotosParticle *boost) |
void | boostFromRestFrame (PhotosParticle *boost) |
void | boostDaughtersFromRestFrame (PhotosParticle *boost) |
void | boostDaughtersFromRestFrame (PhotosParticle *boost) |
void | boostAlongZ (double pz, double e) |
void | boostAlongZ (double pz, double e) |
void | rotate (int axis, double phi, int second_axis=Z_AXIS) |
void | rotate (int axis, double phi, int second_axis=Z_AXIS) |
void | rotateDaughters (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 | getRotationAngle (int axis, int second_axis=Z_AXIS) |
double | getP () |
double | getP (int axis) |
double | getP () |
double | getP (int axis) |
void | setP (int axis, double p_component) |
void | setP (int axis, double p_component) |
virtual double | getVirtuality () |
virtual double | getVirtuality () |
Static Public Attributes | |
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 |
Private Member Functions | |
void | setDaughterRangeStart (int i) |
void | setDaughterRangeEnd (int i) |
void | setDaughterRangeStart (int i) |
void | setDaughterRangeEnd (int i) |
Private Attributes | |
PhotosHEPEVTEvent * | m_event |
int | m_barcode |
int | m_first_mother |
int | m_second_mother |
int | m_daughter_start |
int | m_daughter_end |
int | m_pdgid |
int | m_status |
double | m_px |
double | m_py |
double | m_pz |
double | m_e |
double | m_generated_mass |
vector< PhotosHEPEVTParticle * > | cache |
Definition at line 32 of file PhotosHEPEVTParticle.h.
PhotosHEPEVTParticle::~PhotosHEPEVTParticle | ( | ) |
Default destructor
Definition at line 7 of file PhotosHEPEVTParticle.cxx.
References cache, i, and m_barcode.
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.
References de, m, m_barcode, m_daughter_end, m_daughter_start, m_e, m_event, m_first_mother, m_generated_mass, m_pdgid, m_px, m_py, m_pz, m_second_mother, m_status, me, pz, and status.
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(), i, m, m_daughter_end, m_daughter_start, m_event, move, setBarcode(), setDaughterRangeEnd(), setDaughterRangeStart(), Photospp::PhotosParticle::setMothers(), and Photospp::PhotosHEPEVTEvent::setParticle().
|
virtual |
Add a new daughter to this particle
Implements Photospp::PhotosParticle.
|
inherited |
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 155 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getE(), Photospp::PhotosParticle::getPz(), p, Photospp::PhotosParticle::setE(), Photospp::PhotosParticle::setPz(), and sqrt().
Referenced by Photospp::PhotosParticle::boostFromRestFrame(), and Photospp::PhotosParticle::boostToRestFrame().
|
inherited |
Do a Lorenz transformation along the Z axis.
|
inherited |
Transform this particles four momentum from the lab frame to the rest frame of the parameter PhotosParticle.
Definition at line 63 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getAllDecayProducts(), and Photospp::PhotosParticle::hasDaughters().
Referenced by Photospp::PH_HEPEVT_Interface::get().
|
inherited |
Transform this particles four momentum from the lab frame to the rest frame of the parameter PhotosParticle.
|
inherited |
Transform the four momentum of all the daughters recursively into the frame of the "particle" PhotosParticle.
Definition at line 80 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getAllDecayProducts(), and Photospp::PhotosParticle::hasDaughters().
Referenced by Photospp::PH_HEPEVT_Interface::get().
|
inherited |
Transform the four momentum of all the daughters recursively into the frame of the "particle" PhotosParticle.
|
inherited |
Transform this particles four momentum from the rest frame of the paramter PhotosParticle, back into the lab frame.
Definition at line 114 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::boostAlongZ(), Photospp::PhotosParticle::getE(), Photospp::PhotosParticle::getP(), Photospp::PhotosParticle::getRotationAngle(), phi, Photospp::PhotosParticle::rotate(), theta, Photospp::PhotosParticle::X_AXIS, and Photospp::PhotosParticle::Y_AXIS.
Referenced by Photospp::PH_HEPEVT_Interface::get().
|
inherited |
Transform this particles four momentum from the rest frame of the paramter PhotosParticle, back into the lab frame.
|
inherited |
Transform this particles four momentum from the lab frome into the rest frame of the paramter PhotosParticle.
|
inherited |
Transform this particles four momentum from the lab frome into the rest frame of the paramter PhotosParticle.
Definition at line 98 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::boostAlongZ(), Photospp::PhotosParticle::getE(), Photospp::PhotosParticle::getP(), Photospp::PhotosParticle::getRotationAngle(), phi, Photospp::PhotosParticle::rotate(), theta, Photospp::PhotosParticle::X_AXIS, and Photospp::PhotosParticle::Y_AXIS.
Referenced by Photospp::PH_HEPEVT_Interface::get().
|
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 225 of file PhotosHEPEVTParticle.cxx.
References fabs(), getE(), getFirstMotherIndex(), Photospp::PhotosHEPEVTEvent::getParticle(), getPx(), getPy(), getPz(), getSecondMotherIndex(), i, m2(), m_daughter_end, m_daughter_start, m_event, print(), pz, Photospp::Log::RedirectOutput(), Photospp::Log::RevertOutput(), sqrt(), and Photospp::Log::Warning().
|
virtual |
Creating history entries not implemented in HEPEVT
Implements Photospp::PhotosParticle.
Definition at line 294 of file PhotosHEPEVTParticle.cxx.
References Photospp::Log::Warning().
|
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 283 of file PhotosHEPEVTParticle.cxx.
References cache, and 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 299 of file PhotosHEPEVTParticle.cxx.
References Photospp::Log::Warning().
|
virtual |
Create a self-decay vertex for this particle with 'out' being the outgoing particle in new vertex
Implements Photospp::PhotosParticle.
|
inherited |
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 16 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getDaughters(), and Photospp::PhotosParticle::getPdgID().
|
inherited |
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
|
inherited |
Traverse the event structure and find the first set of mothers which are not of the same type as this particle.
Definition at line 31 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getMothers(), and Photospp::PhotosParticle::getPdgID().
Referenced by Photospp::PhotosBranch::PhotosBranch().
|
inherited |
Traverse the event structure and find the first set of mothers which are not of the same type as this particle.
|
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 185 of file PhotosHEPEVTParticle.cxx.
References getBarcode(), getDaughters(), Photospp::PhotosParticle::hasDaughters(), and i.
|
virtual |
Get the barcode (position in list) of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Get the barcode (position in list) of this particle
Implements Photospp::PhotosParticle.
Definition at line 388 of file PhotosHEPEVTParticle.cxx.
References m_barcode.
Referenced by getAllDecayProducts(), isDaughterOf(), isMotherOf(), and setMothers().
int PhotosHEPEVTParticle::getDaughterRangeEnd | ( | ) |
Get index of last daughter
Definition at line 412 of file PhotosHEPEVTParticle.cxx.
References m_daughter_end.
Referenced by addDaughter().
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 408 of file PhotosHEPEVTParticle.cxx.
References m_daughter_start.
Referenced by addDaughter().
|
virtual |
Returns the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
Definition at line 138 of file PhotosHEPEVTParticle.cxx.
References Photospp::PhotosHEPEVTEvent::getParticle(), Photospp::PhotosHEPEVTEvent::getParticleCount(), i, isDaughterOf(), m_daughter_end, m_daughter_start, m_event, m_status, p, and Photospp::Log::Warning().
Referenced by getAllDecayProducts().
|
virtual |
Returns the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
inherited |
Return whole decay tree starting from this particle
Definition at line 45 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getBarcode(), Photospp::PhotosParticle::getDaughters(), Photospp::PhotosParticle::getDecayTree(), Photospp::PhotosParticle::getMothers(), i, p, and tree.
Referenced by Photospp::PhotosBranch::createBranches(), Photospp::PhotosParticle::getDecayTree(), and Photospp::Photos::processBranch().
|
inherited |
Return whole decay tree starting from this particle
|
virtual |
Returns the energy component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 367 of file PhotosHEPEVTParticle.cxx.
References m_e.
Referenced by checkMomentumConservation(), and checkMomentumConservationInEvent().
|
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 400 of file PhotosHEPEVTParticle.cxx.
References m_first_mother.
Referenced by checkMomentumConservation().
|
virtual |
Get the mass stored (i.e. not calculated from four vector) at generation step
Implements Photospp::PhotosParticle.
Definition at line 351 of file PhotosHEPEVTParticle.cxx.
References m_generated_mass.
|
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.
Definition at line 120 of file PhotosHEPEVTParticle.cxx.
References Photospp::PhotosHEPEVTEvent::getParticle(), m_event, m_first_mother, m_second_mother, p1, and p2.
|
virtual |
Returns the mothers of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
inherited |
Get scalar momentum
Definition at line 202 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getPx(), Photospp::PhotosParticle::getPy(), Photospp::PhotosParticle::getPz(), and sqrt().
Referenced by Photospp::PhotosParticle::boostFromRestFrame(), Photospp::PhotosParticle::boostToRestFrame(), Photospp::PhotosParticle::getRotationAngle(), Photospp::PhotosParticle::getVirtuality(), and Photospp::PhotosParticle::rotate().
|
inherited |
Get scalar momentum
|
inherited |
Get momentum component in the direction of "axis" (x,y,z)
Definition at line 207 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getPx(), Photospp::PhotosParticle::getPy(), Photospp::PhotosParticle::getPz(), Photospp::PhotosParticle::X_AXIS, Photospp::PhotosParticle::Y_AXIS, and Photospp::PhotosParticle::Z_AXIS.
|
inherited |
Get momentum component in the direction of "axis" (x,y,z)
|
virtual |
Get the PDG ID code of this particle
Implements Photospp::PhotosParticle.
Definition at line 343 of file PhotosHEPEVTParticle.cxx.
References m_pdgid.
|
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 355 of file PhotosHEPEVTParticle.cxx.
References m_px.
Referenced by checkMomentumConservation(), and checkMomentumConservationInEvent().
|
virtual |
Returns the px component of the four vector
Implements Photospp::PhotosParticle.
|
inlinevirtual |
Returns the py component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 359 of file PhotosHEPEVTParticle.cxx.
References m_py.
Referenced by checkMomentumConservation(), and checkMomentumConservationInEvent().
|
virtual |
Returns the py component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the pz component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 363 of file PhotosHEPEVTParticle.cxx.
References m_pz.
Referenced by checkMomentumConservation(), and checkMomentumConservationInEvent().
|
virtual |
Returns the pz component of the four vector
Implements Photospp::PhotosParticle.
|
inherited |
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 in rotating the coordinate system into a frame with only a Z component before calling boostAlongZ().
|
inherited |
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 in 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 135 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getP().
Referenced by Photospp::PhotosParticle::boostFromRestFrame(), and Photospp::PhotosParticle::boostToRestFrame().
int PhotosHEPEVTParticle::getSecondMotherIndex | ( | ) |
Get index of second mother
Definition at line 404 of file PhotosHEPEVTParticle.cxx.
References m_second_mother.
Referenced by checkMomentumConservation().
int Photospp::PhotosHEPEVTParticle::getSecondMotherIndex | ( | ) |
Get index of second mother
|
virtual |
Get the status of this particle
Implements Photospp::PhotosParticle.
Definition at line 347 of file PhotosHEPEVTParticle.cxx.
References m_status.
Referenced by checkMomentumConservationInEvent().
|
virtual |
Get the status of this particle
Implements Photospp::PhotosParticle.
|
virtualinherited |
Get sqrt(e^2-p^2)
Definition at line 193 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getE(), Photospp::PhotosParticle::getP(), and sqrt().
Referenced by Photospp::PH_HEPEVT_Interface::add_particle().
|
virtualinherited |
Get sqrt(e^2-p^2)
|
inherited |
Return whether the particle has any chidren
Definition at line 10 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getDaughters().
Referenced by Photospp::PhotosParticle::boostDaughtersFromRestFrame(), Photospp::PhotosParticle::boostDaughtersToRestFrame(), getAllDecayProducts(), Photospp::PhotosHepMCParticle::getAllDecayProducts(), and Photospp::PhotosParticle::rotateDaughters().
|
inherited |
Return whether the particle has any chidren
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 304 of file PhotosHEPEVTParticle.cxx.
References getBarcode(), m_first_mother, and m_second_mother.
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 312 of file PhotosHEPEVTParticle.cxx.
References getBarcode(), m_daughter_end, and m_daughter_start.
|
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 320 of file PhotosHEPEVTParticle.cxx.
References m_barcode, m_daughter_end, m_daughter_start, m_e, m_first_mother, m_generated_mass, m_pdgid, m_px, m_py, m_pz, m_second_mother, and m_status.
Referenced by checkMomentumConservation().
|
inherited |
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 168 of file PhotosParticle.cxx.
References cos(), Photospp::PhotosParticle::getP(), Photospp::PhotosParticle::setP(), and sin().
Referenced by Photospp::PhotosParticle::boostFromRestFrame(), and Photospp::PhotosParticle::boostToRestFrame().
|
inherited |
rotate this particles 4-momentum by an angle phi from the axisis "axis" towards the axis "second_axis".
|
inherited |
rotate 4-momentum of daughters of this particle by an angle phi from the axisis "axis" towards the axis "second_axis".
|
inherited |
rotate 4-momentum of daughters of this particle by an angle phi from the axisis "axis" towards the axis "second_axis".
Definition at line 176 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::getDaughters(), and Photospp::PhotosParticle::hasDaughters().
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 392 of file PhotosHEPEVTParticle.cxx.
References m_barcode.
Referenced by addDaughter(), and Photospp::PhotosHEPEVTEvent::addParticle().
|
inlineprivate |
Set index of last daughter
Definition at line 159 of file 3.52/src/eventRecordInterfaces/PhotosHEPEVTParticle.h.
References i, and m_daughter_end.
|
inlineprivate |
Set index of last daughter
Definition at line 159 of file PhotosHEPEVTParticle.h.
References i, and m_daughter_end.
Referenced by addDaughter().
|
inlineprivate |
Set index of first daughter
Definition at line 156 of file PhotosHEPEVTParticle.h.
References i, and m_daughter_start.
Referenced by addDaughter().
|
inlineprivate |
Set index of first daughter
Definition at line 156 of file 3.52/src/eventRecordInterfaces/PhotosHEPEVTParticle.h.
References i, and m_daughter_start.
|
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(), i, m_daughter_end, m_daughter_start, and m_event.
|
virtual |
Set the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
virtual |
Set the energy component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 384 of file PhotosHEPEVTParticle.cxx.
References m_e.
|
virtual |
Set the energy component of the four vector
Implements Photospp::PhotosParticle.
void PhotosHEPEVTParticle::setEvent | ( | PhotosHEPEVTEvent * | event | ) |
Set event of this particle
Definition at line 396 of file PhotosHEPEVTParticle.cxx.
References m_event.
Referenced by Photospp::PhotosHEPEVTEvent::addParticle().
void Photospp::PhotosHEPEVTParticle::setEvent | ( | PhotosHEPEVTEvent * | event | ) |
Set event of this particle
|
virtual |
Set the mass of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the mass of this particle
Implements Photospp::PhotosParticle.
Definition at line 339 of file PhotosHEPEVTParticle.cxx.
References m_generated_mass.
|
virtual |
Set the mothers of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
|
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(), evt, Photospp::Log::Fatal(), getBarcode(), m_barcode, m_first_mother, and m_second_mother.
|
inherited |
Set momentum component in the direction of "axis" (x,y,z)
Definition at line 215 of file PhotosParticle.cxx.
References Photospp::PhotosParticle::setPx(), Photospp::PhotosParticle::setPy(), Photospp::PhotosParticle::setPz(), Photospp::PhotosParticle::X_AXIS, Photospp::PhotosParticle::Y_AXIS, and Photospp::PhotosParticle::Z_AXIS.
Referenced by Photospp::PhotosParticle::rotate().
|
inherited |
Set momentum component in the direction of "axis" (x,y,z)
|
virtual |
Set the PDG ID code of this particle
Implements Photospp::PhotosParticle.
Definition at line 331 of file PhotosHEPEVTParticle.cxx.
References m_pdgid.
|
virtual |
Set the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 371 of file PhotosHEPEVTParticle.cxx.
References m_px.
|
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.
References m_py.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the pz component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the pz component of the four vector
Implements Photospp::PhotosParticle.
Definition at line 380 of file PhotosHEPEVTParticle.cxx.
|
virtual |
Set the status of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the status of this particle
Implements Photospp::PhotosParticle.
Definition at line 335 of file PhotosHEPEVTParticle.cxx.
References m_status, and status.
|
staticinherited |
anti-down quark
Definition at line 119 of file PhotosParticle.h.
|
staticinherited |
anti-up quark
Definition at line 113 of file PhotosParticle.h.
|
private |
List of created particles - if they are not in the event, they will be deleted when no longer needed
Definition at line 187 of file PhotosHEPEVTParticle.h.
Referenced by createNewParticle(), and ~PhotosHEPEVTParticle().
|
staticinherited |
Decayed particle status
Definition at line 32 of file PhotosParticle.h.
Referenced by Photospp::PhotosHepMCParticle::setMothers().
|
staticinherited |
down quark
Definition at line 116 of file PhotosParticle.h.
|
staticinherited |
e- particle
Definition at line 101 of file PhotosParticle.h.
|
staticinherited |
e antineutrino particle
Definition at line 107 of file PhotosParticle.h.
|
staticinherited |
e neutrino particle
Definition at line 104 of file PhotosParticle.h.
|
staticinherited |
photon
Definition at line 71 of file PhotosParticle.h.
|
staticinherited |
H particle
Definition at line 50 of file PhotosParticle.h.
|
staticinherited |
A0 particle
Definition at line 56 of file PhotosParticle.h.
|
staticinherited |
H0 particle
Definition at line 53 of file PhotosParticle.h.
|
staticinherited |
H- particle
Definition at line 62 of file PhotosParticle.h.
|
staticinherited |
H+ particle
Definition at line 59 of file PhotosParticle.h.
|
staticinherited |
History particle status
Definition at line 35 of file PhotosParticle.h.
|
private |
Position in the event record
Definition at line 165 of file PhotosHEPEVTParticle.h.
Referenced by getBarcode(), PhotosHEPEVTParticle(), print(), setBarcode(), setMothers(), and ~PhotosHEPEVTParticle().
|
private |
Definition at line 171 of file PhotosHEPEVTParticle.h.
Referenced by addDaughter(), checkMomentumConservation(), getDaughterRangeEnd(), getDaughters(), isMotherOf(), PhotosHEPEVTParticle(), print(), setDaughterRangeEnd(), and setDaughters().
|
private |
Range of indexes of daughters (-1 if do not have daughters)
Definition at line 171 of file PhotosHEPEVTParticle.h.
Referenced by addDaughter(), checkMomentumConservation(), getDaughterRangeStart(), getDaughters(), isMotherOf(), PhotosHEPEVTParticle(), print(), setDaughterRangeStart(), and setDaughters().
|
private |
Definition at line 180 of file PhotosHEPEVTParticle.h.
Referenced by getE(), PhotosHEPEVTParticle(), print(), and setE().
|
private |
Event from which this particle is taken
Definition at line 162 of file PhotosHEPEVTParticle.h.
Referenced by addDaughter(), checkMomentumConservation(), getDaughters(), getMothers(), PhotosHEPEVTParticle(), setDaughters(), and setEvent().
|
private |
Indexes of mothers (-1 if do not have mothers)
Definition at line 168 of file PhotosHEPEVTParticle.h.
Referenced by getFirstMotherIndex(), getMothers(), isDaughterOf(), PhotosHEPEVTParticle(), print(), and setMothers().
|
private |
Mass saved at generation step
Definition at line 183 of file PhotosHEPEVTParticle.h.
Referenced by getMass(), PhotosHEPEVTParticle(), print(), and setMass().
|
private |
PDG ID
Definition at line 174 of file PhotosHEPEVTParticle.h.
Referenced by getPdgID(), PhotosHEPEVTParticle(), print(), and setPdgID().
|
private |
Momentum
Definition at line 180 of file PhotosHEPEVTParticle.h.
Referenced by getPx(), PhotosHEPEVTParticle(), print(), and setPx().
|
private |
Definition at line 180 of file PhotosHEPEVTParticle.h.
Referenced by getPy(), PhotosHEPEVTParticle(), print(), and setPy().
|
private |
Definition at line 180 of file PhotosHEPEVTParticle.h.
Referenced by getPz(), PhotosHEPEVTParticle(), print(), and setPz().
|
private |
Definition at line 168 of file PhotosHEPEVTParticle.h.
Referenced by getMothers(), getSecondMotherIndex(), isDaughterOf(), PhotosHEPEVTParticle(), print(), and setMothers().
|
private |
Status (stable, decayed)
Definition at line 177 of file PhotosHEPEVTParticle.h.
Referenced by getDaughters(), getStatus(), PhotosHEPEVTParticle(), print(), and setStatus().
|
staticinherited |
muon antineutrino particle
Definition at line 95 of file PhotosParticle.h.
|
staticinherited |
muon- particle
Definition at line 89 of file PhotosParticle.h.
|
staticinherited |
muon neutrino particle
Definition at line 92 of file PhotosParticle.h.
|
staticinherited |
muon+ particle
Definition at line 86 of file PhotosParticle.h.
|
staticinherited |
All other particle types
Definition at line 122 of file PhotosParticle.h.
|
staticinherited |
e+ particle
Definition at line 98 of file PhotosParticle.h.
|
staticinherited |
Stable particle status
Definition at line 29 of file PhotosParticle.h.
Referenced by Photospp::PhotosEvent::filterParticles(), and Photospp::PhotosHepMCParticle::setMothers().
|
staticinherited |
tau antineutrino particle
Definition at line 83 of file PhotosParticle.h.
|
staticinherited |
tau- particle
Definition at line 77 of file PhotosParticle.h.
|
staticinherited |
tau neutrino particle
Definition at line 80 of file PhotosParticle.h.
|
staticinherited |
tau+ particle
Definition at line 74 of file PhotosParticle.h.
|
staticinherited |
up quark
Definition at line 110 of file PhotosParticle.h.
|
staticinherited |
W- particle
Definition at line 68 of file PhotosParticle.h.
|
staticinherited |
W+ particle
Definition at line 65 of file PhotosParticle.h.
|
staticinherited |
X Axis
Definition at line 38 of file PhotosParticle.h.
Referenced by Photospp::PhotosParticle::boostFromRestFrame(), Photospp::PhotosParticle::boostToRestFrame(), Photospp::PhotosParticle::getP(), and Photospp::PhotosParticle::setP().
|
staticinherited |
Y Axis
Definition at line 41 of file PhotosParticle.h.
Referenced by Photospp::PhotosParticle::boostFromRestFrame(), Photospp::PhotosParticle::boostToRestFrame(), Photospp::PhotosParticle::getP(), and Photospp::PhotosParticle::setP().
|
staticinherited |
Z0 particle
Definition at line 47 of file PhotosParticle.h.
|
staticinherited |
Z Axis
Definition at line 44 of file PhotosParticle.h.
Referenced by Photospp::PhotosParticle::getP(), and Photospp::PhotosParticle::setP().