![]() |
PandaRoot
|
#include <PhotosHepMCParticle.h>
Public Member Functions | |
| PhotosHepMCParticle () | |
| PhotosHepMCParticle (HepMC::GenParticle *particle) | |
| PhotosHepMCParticle (int pdg_id, int status, double mass) | |
| ~PhotosHepMCParticle () | |
| HepMC::GenParticle * | getHepMC () |
| void | setMothers (std::vector< PhotosParticle *> mothers) |
| void | setDaughters (std::vector< PhotosParticle *> daughters) |
| void | addDaughter (PhotosParticle *daughter) |
| std::vector< PhotosParticle * > | getMothers () |
| std::vector< PhotosParticle * > | getDaughters () |
| std::vector< PhotosParticle * > | getAllDecayProducts () |
| void | setPdgID (int pdg_id) |
| void | setStatus (int statu) |
| void | setMass (double mass) |
| int | getPdgID () |
| int | getStatus () |
| int | getBarcode () |
| bool | checkMomentumConservation () |
| PhotosHepMCParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e) |
| void | createHistoryEntry () |
| void | createSelfDecayVertex (PhotosParticle *out) |
| void | print () |
| double | getPx () |
| double | getPy () |
| double | getPz () |
| double | getE () |
| double | getMass () |
| void | setPx (double px) |
| void | setPy (double py) |
| void | setPz (double pz) |
| void | setE (double e) |
| PhotosHepMCParticle () | |
| PhotosHepMCParticle (HepMC::GenParticle *particle) | |
| PhotosHepMCParticle (int pdg_id, int status, double mass) | |
| ~PhotosHepMCParticle () | |
| HepMC::GenParticle * | getHepMC () |
| void | setMothers (std::vector< PhotosParticle *> mothers) |
| void | setDaughters (std::vector< PhotosParticle *> daughters) |
| void | addDaughter (PhotosParticle *daughter) |
| std::vector< PhotosParticle * > | getMothers () |
| std::vector< PhotosParticle * > | getDaughters () |
| std::vector< PhotosParticle * > | getAllDecayProducts () |
| void | setPdgID (int pdg_id) |
| void | setStatus (int statu) |
| void | setMass (double mass) |
| int | getPdgID () |
| int | getStatus () |
| int | getBarcode () |
| bool | checkMomentumConservation () |
| PhotosHepMCParticle * | createNewParticle (int pdg_id, int status, double mass, double px, double py, double pz, double e) |
| void | createHistoryEntry () |
| void | createSelfDecayVertex (PhotosParticle *out) |
| void | print () |
| double | getPx () |
| double | getPy () |
| double | getPz () |
| double | getE () |
| double | getMass () |
| void | setPx (double px) |
| void | setPy (double py) |
| void | setPz (double pz) |
| void | setE (double e) |
Public Member Functions inherited from Photospp::PhotosParticle | |
| virtual | ~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 () |
| virtual | ~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 () |
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 30 of file PhotosHepMCParticle.h.
| Photospp::PhotosHepMCParticle::PhotosHepMCParticle | ( | ) |
General constructor
| Photospp::PhotosHepMCParticle::PhotosHepMCParticle | ( | HepMC::GenParticle * | particle | ) |
Constructor which keeps a pointer to the HepMC::GenParticle
| Photospp::PhotosHepMCParticle::PhotosHepMCParticle | ( | int | pdg_id, |
| int | status, | ||
| double | mass | ||
| ) |
Constructor which creates a new HepMC::GenParticle and sets the properties pdg_id, statu and mass.
| Photospp::PhotosHepMCParticle::~PhotosHepMCParticle | ( | ) |
Destructor
| Photospp::PhotosHepMCParticle::PhotosHepMCParticle | ( | ) |
General constructor
| Photospp::PhotosHepMCParticle::PhotosHepMCParticle | ( | HepMC::GenParticle * | particle | ) |
Constructor which keeps a pointer to the HepMC::GenParticle
| Photospp::PhotosHepMCParticle::PhotosHepMCParticle | ( | int | pdg_id, |
| int | status, | ||
| double | mass | ||
| ) |
Constructor which creates a new HepMC::GenParticle and sets the properties pdg_id, statu and mass.
| Photospp::PhotosHepMCParticle::~PhotosHepMCParticle | ( | ) |
Destructor
|
virtual |
Add a new daughter to the end vertex of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Add a new daughter to the end vertex of this particle
Implements Photospp::PhotosParticle.
|
virtual |
check that the 4 momentum in conserved at the vertices producing and ending this particle
Implements Photospp::PhotosParticle.
|
virtual |
check that the 4 momentum in conserved at the vertices producing and ending this particle
Implements Photospp::PhotosParticle.
|
virtual |
Create history entry for HepMC event record. Creates copy of this particle with status = 3
Implements Photospp::PhotosParticle.
|
virtual |
Create history entry for HepMC event record. Creates copy of this particle with status = 3
Implements Photospp::PhotosParticle.
|
virtual |
Create a new particle of type PhotosHepMCParticle, with the given properties. The new particle bares no relations to this particle, but it provides a way of creating a instance of this derived class. eg. createNewParticle() is used inside filhep_() so that a PhotosHepMCParticle can be created without the method having explicit knowledge of the PhotosHepMCParticle class
Implements Photospp::PhotosParticle.
|
virtual |
Create a new particle of type PhotosHepMCParticle, with the given properties. The new particle bares no relations to this particle, but it provides a way of creating a instance of this derived class. eg. createNewParticle() is used inside filhep_() so that a PhotosHepMCParticle can be created without the method having explicit knowledge of the PhotosHepMCParticle 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.
|
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.
|
virtual |
Get the barcode of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Get the barcode of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Returns the daughters of this particle via a vector of PhotosParticle IMPORTANT: this method will remeber list from the first call. Particles (e.g. photons) added later will be ignored
Implements Photospp::PhotosParticle.
|
virtual |
Returns the daughters of this particle via a vector of PhotosParticle IMPORTANT: this method will remeber list from the first call. Particles (e.g. photons) added later will be ignored
Implements Photospp::PhotosParticle.
|
virtual |
Returns the energy component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the energy component of the four vector
Implements Photospp::PhotosParticle.
| HepMC::GenParticle* Photospp::PhotosHepMCParticle::getHepMC | ( | ) |
return the HepMC::GenParticle
| HepMC::GenParticle* Photospp::PhotosHepMCParticle::getHepMC | ( | ) |
return the HepMC::GenParticle
|
virtual |
Returns the mass taken from event record
Implements Photospp::PhotosParticle.
|
virtual |
Returns the mass taken from event record
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.
|
virtual |
Get the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Get the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Returns the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the py component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the py component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the pz component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Returns the pz component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Get the status of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Get the status of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Print some information about this particle to standard output
Implements Photospp::PhotosParticle.
|
virtual |
Print some information about this particle to standard output
Implements Photospp::PhotosParticle.
|
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.
|
virtual |
Set the energy component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the energy component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the mass of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the mass of this particle
Implements Photospp::PhotosParticle.
|
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.
|
virtual |
Set the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the PDG ID code of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
|
virtual |
Set the px component of the four vector
Implements Photospp::PhotosParticle.
|
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.
|
virtual |
Set the status of this particle
Implements Photospp::PhotosParticle.
|
virtual |
Set the status of this particle
Implements Photospp::PhotosParticle.