StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
Tauolapp::TauolaHEPEVTParticle Class Reference
Inheritance diagram for Tauolapp::TauolaHEPEVTParticle:
Tauolapp::TauolaParticle Tauolapp::TauolaParticle

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 ()
 
TauolaHEPEVTParticlecreateNewParticle (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 ()
 
TauolaHEPEVTParticlecreateNewParticle (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
TauolaParticleclone ()
 
double getAngle (TauolaParticle *)
 
void add (TauolaParticle *)
 
void subtract (TauolaParticle *)
 
void decay ()
 
void addDecayToEventRecord ()
 
int getSign ()
 
double getPolarimetricX ()
 
double getPolarimetricY ()
 
double getPolarimetricZ ()
 
bool hasDaughters ()
 
TauolaParticlefindLastSelf ()
 
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 ()
 
TauolaParticleclone ()
 
double getAngle (TauolaParticle *)
 
void add (TauolaParticle *)
 
void subtract (TauolaParticle *)
 
void decay ()
 
void addDecayToEventRecord ()
 
int getSign ()
 
double getPolarimetricX ()
 
double getPolarimetricY ()
 
double getPolarimetricZ ()
 
bool hasDaughters ()
 
TauolaParticlefindLastSelf ()
 
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
 

Detailed Description

Definition at line 30 of file TauolaHEPEVTParticle.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void TauolaHEPEVTParticle::checkMomentumConservation ( )
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().

void Tauolapp::TauolaHEPEVTParticle::checkMomentumConservation ( )
virtual

Check that the 4 momentum in conserved in the decay of this particle

Reimplemented from Tauolapp::TauolaParticle.

TauolaHEPEVTParticle* Tauolapp::TauolaHEPEVTParticle::createNewParticle ( int  pdg_id,
int  status,
double  mass,
double  px,
double  py,
double  pz,
double  e 
)
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.

TauolaHEPEVTParticle * TauolaHEPEVTParticle::createNewParticle ( int  pdg_id,
int  status,
double  mass,
double  px,
double  py,
double  pz,
double  e 
)
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().

int TauolaHEPEVTParticle::getBarcode ( )
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().

int Tauolapp::TauolaHEPEVTParticle::getBarcode ( )
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.

std::vector< TauolaParticle * > TauolaHEPEVTParticle::getDaughters ( )
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().

std::vector<TauolaParticle*> Tauolapp::TauolaHEPEVTParticle::getDaughters ( )
virtual

Returns the daughters of this particle via a vector of TauolaParticle

Implements Tauolapp::TauolaParticle.

double TauolaHEPEVTParticle::getE ( )
virtual

Returns the energy component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 270 of file TauolaHEPEVTParticle.cxx.

Referenced by checkMomentumConservation().

double Tauolapp::TauolaHEPEVTParticle::getE ( )
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

std::vector<TauolaParticle*> Tauolapp::TauolaHEPEVTParticle::getMothers ( )
virtual

Returns the mothers of this particle via a vector of TauolaParticle

Implements Tauolapp::TauolaParticle.

std::vector< TauolaParticle * > TauolaHEPEVTParticle::getMothers ( )
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().

int Tauolapp::TauolaHEPEVTParticle::getPdgID ( )
virtual

Get the PDG ID code of this particle

Implements Tauolapp::TauolaParticle.

int TauolaHEPEVTParticle::getPdgID ( )
virtual

Get the PDG ID code of this particle

Implements Tauolapp::TauolaParticle.

Definition at line 246 of file TauolaHEPEVTParticle.cxx.

double TauolaHEPEVTParticle::getPx ( )
inlinevirtual

Returns the px component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 258 of file TauolaHEPEVTParticle.cxx.

Referenced by checkMomentumConservation().

double Tauolapp::TauolaHEPEVTParticle::getPx ( )
virtual

Returns the px component of the four vector

Implements Tauolapp::TauolaParticle.

double TauolaHEPEVTParticle::getPy ( )
inlinevirtual

Returns the py component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 262 of file TauolaHEPEVTParticle.cxx.

Referenced by checkMomentumConservation().

double Tauolapp::TauolaHEPEVTParticle::getPy ( )
virtual

Returns the py component of the four vector

Implements Tauolapp::TauolaParticle.

double TauolaHEPEVTParticle::getPz ( )
virtual

Returns the pz component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 266 of file TauolaHEPEVTParticle.cxx.

Referenced by checkMomentumConservation().

double Tauolapp::TauolaHEPEVTParticle::getPz ( )
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().

int Tauolapp::TauolaHEPEVTParticle::getStatus ( )
virtual

Get the status of this particle

Implements Tauolapp::TauolaParticle.

int TauolaHEPEVTParticle::getStatus ( )
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

void Tauolapp::TauolaHEPEVTParticle::print ( )
virtual

Print information on this particle into standard output

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::print ( )
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

void Tauolapp::TauolaHEPEVTParticle::setDaughters ( std::vector< TauolaParticle * >  daughters)
virtual

Set the daughters of this particle via a vector of TauolaParticle

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::setDaughters ( std::vector< TauolaParticle * >  daughters)
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().

void TauolaHEPEVTParticle::setE ( double  e)
virtual

Set the energy component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 287 of file TauolaHEPEVTParticle.cxx.

void Tauolapp::TauolaHEPEVTParticle::setE ( double  e)
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

void TauolaHEPEVTParticle::setMass ( double  mass)
virtual

Set the mass of this particle

Implements Tauolapp::TauolaParticle.

Definition at line 242 of file TauolaHEPEVTParticle.cxx.

void Tauolapp::TauolaHEPEVTParticle::setMass ( double  mass)
virtual

Set the mass of this particle

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::setMothers ( std::vector< TauolaParticle * >  mothers)
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().

void Tauolapp::TauolaHEPEVTParticle::setMothers ( std::vector< TauolaParticle * >  mothers)
virtual

Set the mothers of this particle via a vector of TauolaParticle

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::setPdgID ( int  pdg_id)
virtual

Set the PDG ID code of this particle

Implements Tauolapp::TauolaParticle.

Definition at line 234 of file TauolaHEPEVTParticle.cxx.

void Tauolapp::TauolaHEPEVTParticle::setPdgID ( int  pdg_id)
virtual

Set the PDG ID code of this particle

Implements Tauolapp::TauolaParticle.

void Tauolapp::TauolaHEPEVTParticle::setPx ( double  px)
virtual

Set the px component of the four vector

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::setPx ( double  px)
virtual

Set the px component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 274 of file TauolaHEPEVTParticle.cxx.

void TauolaHEPEVTParticle::setPy ( double  py)
virtual

Set the px component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 278 of file TauolaHEPEVTParticle.cxx.

void Tauolapp::TauolaHEPEVTParticle::setPy ( double  py)
virtual

Set the px component of the four vector

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::setPz ( double  pz)
virtual

Set the pz component of the four vector

Implements Tauolapp::TauolaParticle.

Definition at line 283 of file TauolaHEPEVTParticle.cxx.

void Tauolapp::TauolaHEPEVTParticle::setPz ( double  pz)
virtual

Set the pz component of the four vector

Implements Tauolapp::TauolaParticle.

void Tauolapp::TauolaHEPEVTParticle::setStatus ( int  statu)
virtual

Set the status of this particle

Implements Tauolapp::TauolaParticle.

void TauolaHEPEVTParticle::setStatus ( int  statu)
virtual

Set the status of this particle

Implements Tauolapp::TauolaParticle.

Definition at line 238 of file TauolaHEPEVTParticle.cxx.

void Tauolapp::TauolaHEPEVTParticle::undecay ( )
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.

void TauolaHEPEVTParticle::undecay ( )
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.


The documentation for this class was generated from the following files: