![]()  | 
  
    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 () | 
  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 31 of file PhotosHEPEVTParticle.h.
| 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
| 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.
      
  | 
  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.
      
  | 
  virtual | 
Creating history entries not implemented in HEPEVT
Implements Photospp::PhotosParticle.
      
  | 
  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.
      
  | 
  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.
      
  | 
  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 (position in list) of this particle
Implements Photospp::PhotosParticle.
      
  | 
  virtual | 
Get the barcode (position in list) of this particle
Implements Photospp::PhotosParticle.
| int Photospp::PhotosHEPEVTParticle::getDaughterRangeEnd | ( | ) | 
Get index of last daughter
| int Photospp::PhotosHEPEVTParticle::getDaughterRangeEnd | ( | ) | 
Get index of last daughter
| int Photospp::PhotosHEPEVTParticle::getDaughterRangeStart | ( | ) | 
Get index of first daughter
| int Photospp::PhotosHEPEVTParticle::getDaughterRangeStart | ( | ) | 
Get index of first daughter
      
  | 
  virtual | 
Returns the daughters of this particle via a vector of PhotosParticle
Implements Photospp::PhotosParticle.
      
  | 
  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.
      
  | 
  virtual | 
Returns the energy component of the four vector
Implements Photospp::PhotosParticle.
| int Photospp::PhotosHEPEVTParticle::getFirstMotherIndex | ( | ) | 
Get index of first mother
| int Photospp::PhotosHEPEVTParticle::getFirstMotherIndex | ( | ) | 
Get index of first mother
      
  | 
  virtual | 
Get the mass stored (i.e. not calculated from four vector) at generation step
Implements Photospp::PhotosParticle.
      
  | 
  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.
      
  | 
  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.
| int Photospp::PhotosHEPEVTParticle::getSecondMotherIndex | ( | ) | 
Get index of second mother
| int Photospp::PhotosHEPEVTParticle::getSecondMotherIndex | ( | ) | 
Get index of second mother
      
  | 
  virtual | 
Get the status of this particle
Implements Photospp::PhotosParticle.
      
  | 
  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 Photospp::PhotosHEPEVTParticle::isDaughterOf | ( | PhotosHEPEVTParticle * | p | ) | 
Check if particle 'p' is daughter of this particle
| bool Photospp::PhotosHEPEVTParticle::isMotherOf | ( | PhotosHEPEVTParticle * | p | ) | 
Check if particle 'p' is mother of this particle
| bool Photospp::PhotosHEPEVTParticle::isMotherOf | ( | PhotosHEPEVTParticle * | p | ) | 
Check if particle 'p' is mother of this particle
      
  | 
  virtual | 
Print information on this particle into standard output
Implements Photospp::PhotosParticle.
      
  | 
  virtual | 
Print information on this particle into standard output
Implements Photospp::PhotosParticle.
| void Photospp::PhotosHEPEVTParticle::setBarcode | ( | int | barcode | ) | 
Set barcode (position in list) of this particle
| void Photospp::PhotosHEPEVTParticle::setBarcode | ( | int | barcode | ) | 
Set barcode (position in list) of this particle
      
  | 
  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.
| void Photospp::PhotosHEPEVTParticle::setEvent | ( | PhotosHEPEVTEvent * | event | ) | 
Set event of this particle
| 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.
      
  | 
  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.