CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <EvtParticle.hh>
Public Member Functions | |
EvtParticle () | |
virtual | ~EvtParticle () |
virtual EvtVector4C | epsParent (int i) const |
virtual EvtVector4C | eps (int i) const |
virtual EvtVector4C | epsParentPhoton (int i) |
virtual EvtVector4C | epsPhoton (int i) |
virtual EvtDiracSpinor | spParent (int) const |
virtual EvtDiracSpinor | sp (int) const |
virtual EvtDiracSpinor | spParentNeutrino () const |
virtual EvtDiracSpinor | spNeutrino () const |
virtual EvtTensor4C | epsTensorParent (int i) const |
virtual EvtTensor4C | epsTensor (int i) const |
virtual void | init (EvtId part_n, const EvtVector4R &p4)=0 |
void | addDaug (EvtParticle *node) |
void | decay () |
void | deleteTree () |
void | deleteDaughters (bool keepChannel=false) |
void | setChannel (int i) |
void | setGeneratorFlag (int flag) |
int | getGeneratorFlag () |
void | makeDaughters (int ndaug, EvtId *id) |
double | initializePhaseSpace (int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1) |
EvtParticle * | getDaug (int i) |
EvtParticle * | nextIter (EvtParticle *rootOfTree=0) |
void | makeStdHep (EvtStdHep &stdhep, EvtSecondary &secondary, EvtId *stable_parent_ihep) |
void | makeStdHep (EvtStdHep &stdhep) |
EvtVector4R | getP4Lab () |
EvtVector4R | getP4Restframe () |
EvtVector4R | get4Pos () |
EvtParticle * | getParent () |
void | insertDaugPtr (int idaug, EvtParticle *partptr) |
double | mass () const |
int | firstornot () const |
void | setFirstOrNot () |
void | resetFirstOrNot () |
EvtId | getId () const |
EvtSpinType::spintype | getSpinType () const |
int | getSpinStates () const |
const EvtVector4R & | getP4 () const |
void | setP4 (const EvtVector4R &p4) |
int | getChannel () const |
int | getNDaug () const |
void | resetNDaug () |
void | printTree () const |
void | printTreeRec (int level) const |
std::string | writeTreeRec (std::string) const |
void | dumpTree () const |
void | dumpTreeRec (int level, int dj) const |
std::string | treeStr () const |
std::string | treeStrRec (int level) const |
void | printParticle () const |
void | setLifetime (double tau) |
void | setLifetime () |
double | getLifetime () |
void | setDiagonalSpinDensity () |
void | setVectorSpinDensity () |
void | setPolarizedSpinDensity (double r00, double r11, double r22) |
void | setSpinDensityForward (const EvtSpinDensity &rho) |
void | setSpinDensityForwardHelicityBasis (const EvtSpinDensity &rho) |
void | setSpinDensityForwardHelicityBasis (const EvtSpinDensity &rho, double alpha, double beta, double gamma) |
virtual EvtSpinDensity | rotateToHelicityBasis () const =0 |
virtual EvtSpinDensity | rotateToHelicityBasis (double alpha, double beta, double gamma) const =0 |
EvtSpinDensity | getSpinDensityForward () |
void | setSpinDensityBackward (const EvtSpinDensity &rho) |
EvtSpinDensity | getSpinDensityBackward () |
void | noLifeTime () |
void | setId (EvtId id) |
void | initDecay (bool useMinMass=false) |
void | generateMassTree () |
double | compMassProb () |
void | setMass (double m) |
bool | isInitialized () |
bool | hasValidP4 () |
bool | isDecayed () |
double * | decayProb () |
void | setDecayProb (double p) |
void | setInclusiveMode (int im) |
int | getInclusiveMode () |
Protected Member Functions | |
void | setp (double e, double px, double py, double pz) |
void | setp (const EvtVector4R &p4) |
void | setpart_num (EvtId particle_number) |
Protected Attributes | |
bool | _validP4 |
Definition at line 42 of file EvtParticle.hh.
EvtParticle::EvtParticle | ( | ) |
Default constructor.
Definition at line 60 of file EvtParticle.cc.
|
virtual |
void EvtParticle::addDaug | ( | EvtParticle * | node | ) |
Add another daughter to the particle
Definition at line 104 of file EvtParticle.cc.
Referenced by EvtKstarstargamma::decay(), EvtPHOTOS::doRadCorr(), and makeDaughters().
double EvtParticle::compMassProb | ( | ) |
Definition at line 502 of file EvtParticle.cc.
Referenced by compMassProb(), and generateMassTree().
void EvtParticle::decay | ( | ) |
Decay particle
Definition at line 404 of file EvtParticle.cc.
Referenced by EvtJetSet::decay(), EvtLunda::decay(), EvtLundCharm::decay(), decay(), EvtPythia::decay(), EvtTauola::decay(), EvtGen::generateDecay(), EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().
|
inline |
Definition at line 376 of file EvtParticle.hh.
Definition at line 538 of file EvtParticle.cc.
Referenced by EvtJetSet::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtPythia::decay(), EvtTauola::decay(), EvtVSSBMixCPT::decay(), deleteTree(), EvtConExc::gamHXSection(), and initializePhaseSpace().
void EvtParticle::deleteTree | ( | ) |
Delete a decay chain
Definition at line 555 of file EvtParticle.cc.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), deleteDaughters(), EvtGen::generateDecay(), EvtGen::generateDecay(), EvtGen::generateEvent(), EvtPsi3Sdecay::PHSPDecay(), and EvtConExc::~EvtConExc().
void EvtParticle::dumpTree | ( | ) | const |
Definition at line 976 of file EvtParticle.cc.
void EvtParticle::dumpTreeRec | ( | int | level, |
int | dj ) const |
Definition at line 946 of file EvtParticle.cc.
Referenced by dumpTree(), and dumpTreeRec().
|
virtual |
Returns polarization vector in the particles own restframe.
Reimplemented in EvtVectorParticle.
Definition at line 574 of file EvtParticle.cc.
Referenced by EvtJpipi::decay(), EvtOmegaDalitz::decay(), EvtSVPCP::decay(), EvtSVPHelAmp::decay(), EvtVll::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSPPwave::decay(), EvtVSS::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtVVP::decay(), EvtVVpipi::decay(), EvtVVPIPI_WEIGHTED::decay(), EvtVVSPwave::decay(), and EvtSVVHelAmp::SVVHel().
|
virtual |
Returns polarization vector in the parents restframe.
Reimplemented in EvtVectorParticle.
Definition at line 563 of file EvtParticle.cc.
Referenced by EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtBHadronic::decay(), EvtKstarnunu::decay(), EvtSSDCP::decay(), EvtVectorIsr::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), and EvtVVPIPI_WEIGHTED::decay().
|
virtual |
Returns polarization vector in the parents restframe for a photon.
Reimplemented in EvtPhotonParticle.
Definition at line 585 of file EvtParticle.cc.
Referenced by EvtLNuGamma::decay(), EvtSVPCP::decay(), EvtSVPHelAmp::decay(), EvtVectorIsr::decay(), EvtVSPPwave::decay(), and EvtVVP::decay().
|
virtual |
Returns polarization vector in the particles own restframe for a photon.
Reimplemented in EvtPhotonParticle.
Definition at line 596 of file EvtParticle.cc.
|
virtual |
Returns tensor in the particles own restframe for a spin 2 particle.
Reimplemented in EvtTensorParticle.
Definition at line 668 of file EvtParticle.cc.
Referenced by EvtTSS::decay(), and EvtTVSPwave::decay().
|
virtual |
Returns tensor in the parents restframe for a spin 2 particle.
Reimplemented in EvtTensorParticle.
Definition at line 655 of file EvtParticle.cc.
Referenced by EvtSSDCP::decay(), EvtSTS::decay(), and EvtSTSCP::decay().
int EvtParticle::firstornot | ( | ) | const |
Used internally to decide if first time particle is decayed.
Definition at line 111 of file EvtParticle.cc.
Referenced by EvtDecayBase::findMasses().
void EvtParticle::generateMassTree | ( | ) |
Definition at line 461 of file EvtParticle.cc.
Referenced by EvtBtoKD3P::decay(), decay(), and initializePhaseSpace().
EvtVector4R EvtParticle::get4Pos | ( | ) |
Returns the 4position of the particle in the lab frame.
Definition at line 704 of file EvtParticle.cc.
Referenced by makeStdHep(), and makeStdHep().
int EvtParticle::getChannel | ( | ) | const |
Retunrs the decay channel.
Definition at line 123 of file EvtParticle.cc.
Referenced by EvtJscont::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), dumpTreeRec(), EvtParticleDecayList::getDecayModel(), EvtDecayAmp::makeDecay(), EvtDecayProb::makeDecay(), and EvtDecayTag::makeTag().
EvtParticle * EvtParticle::getDaug | ( | int | i | ) |
Get pointer the the i:th daugther.
Definition at line 85 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtHypNonLepton::calcAmp(), EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtSecondary::createSecondary(), EvtAngH2::decay(), EvtAngSam3::decay(), EvtAngSam::decay(), EvtAngSamLab::decay(), EvtAngSamX::decay(), EvtAV2GV::decay(), EvtBHadronic::decay(), EvtBody3::decay(), EvtBsquark::decay(), EvtBTo3piCP::decay(), EvtBTo4piCP::decay(), EvtBtoKD3P::decay(), EvtBToKpipiCP::decay(), EvtBtoXsEtap::decay(), EvtBtoXsgamma::decay(), EvtBtoXsll::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtChi0BB1::decay(), EvtChi0BB2::decay(), EvtChi1BB1::decay(), EvtChi1BB2::decay(), EvtChi2BB1::decay(), EvtChi2BB2::decay(), EvtConExc::decay(), EvtD0mixDalitz::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtEtaDalitz::decay(), EvtFlatQ2::decay(), EvtHAngSam3::decay(), EvtHelPPJ::decay(), EvtHypWK::decay(), EvtIntervalDecayAmp< T >::decay(), EvtJ2BB1::decay(), EvtJ2BB2::decay(), EvtJ2BB3::decay(), EvtJetSet::decay(), EvtJPE::decay(), EvtJpipi::decay(), EvtJscont::decay(), EvtJTO3P::decay(), EvtKstarnunu::decay(), EvtKstarstargamma::decay(), EvtLambdaP_BarGamma::decay(), EvtLNuGamma::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtMassH1::decay(), EvtMassH2::decay(), EvtMBody3::decay(), EvtmH2::decay(), EvtmPhsp::decay(), EvtMultibody::decay(), EvtOmegaDalitz::decay(), EvtOpenCharm::decay(), EvtP2GC0::decay(), EvtP2GC1::decay(), EvtP2GC2::decay(), decay(), EvtPhiDalitz::decay(), EvtPi0Dalitz::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtRhoPi::decay(), EvtSingleParticle2::decay(), EvtSingleParticle::decay(), EvtSinglePoint::decay(), EvtSll::decay(), EvtSLN::decay(), EvtSPL::decay(), EvtSSDCP::decay(), EvtSTS::decay(), EvtSTSCP::decay(), EvtSVPCP::decay(), EvtSVPHelAmp::decay(), EvtSVS::decay(), EvtSVSCP::decay(), EvtSVSCPiso::decay(), EvtSVSCPLH::decay(), EvtSVSNONCPEIGEN::decay(), EvtT2GV::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauola::decay(), EvtTauScalarnu::decay(), EvtTauVectornu::decay(), EvtTSS::decay(), EvtTVSPwave::decay(), EvtVectorIsr::decay(), EvtVll::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSPPwave::decay(), EvtVSS::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtVub::decay(), EvtVubHybrid::decay(), EvtVubNLO::decay(), EvtVVP::decay(), EvtVVpipi::decay(), EvtVVPIPI_WEIGHTED::decay(), EvtVVSPwave::decay(), EvtConExc::difgamXs(), EvtPHOTOS::doRadCorr(), EvtEvalHelAmp::evalAmp(), EvtDecayBase::findMass(), EvtDecayBase::findMasses(), EvtDecayBase::findMaxMass(), EvtConExc::findMaxXS(), EvtPsi3Sdecay::findMode(), EvtFSPick::FSPick(), EvtConExc::gamHXSection(), EvtGen::generateDecay(), initDecay(), initializePhaseSpace(), EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), EvtDecayProb::makeDecay(), EvtDecayTag::makeTag(), EvtCPUtil::OtherB(), EvtCPUtil::OtherB(), EvtPsi3Sdecay::PHSPDecay(), EvtConExc::Rad1difXs(), EvtConExc::Rad2difXs(), and EvtSVVHelAmp::SVVHel().
|
inline |
get generator information; pingrg-2011-1-6
Definition at line 146 of file EvtParticle.hh.
EvtId EvtParticle::getId | ( | ) | const |
Returns Id of particle.
Definition at line 113 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtSecondary::createSecondary(), EvtAngH2::decay(), EvtBsquark::decay(), EvtBTo3piCP::decay(), EvtBtoXsll::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtConExc::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDMix::decay(), EvtHypWK::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtKstarstargamma::decay(), EvtLNuGamma::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOpenCharm::decay(), decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtSVSCPiso::decay(), EvtSVSNONCPEIGEN::decay(), EvtSVVNONCPEIGEN::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauola::decay(), EvtTauScalarnu::decay(), EvtTauVectornu::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtPHOTOS::doRadCorr(), EvtDecayBase::findMass(), EvtDecayBase::findMasses(), EvtDecayBase::findMaxMass(), EvtConExc::findMaxXS(), EvtPsi3Sdecay::findMode(), EvtFSPick::FSPick(), EvtConExc::gamHXSection(), EvtDecayTable::getDecayFunc(), EvtParticleDecayList::getDecayModel(), initDecay(), initializePhaseSpace(), EvtDecayAmp::makeDecay(), EvtDecayProb::makeDecay(), makeStdHep(), makeStdHep(), EvtDecayTag::makeTag(), EvtCPUtil::OtherB(), EvtCPUtil::OtherB(), EvtPsi3Sdecay::PHSPDecay(), printTreeRec(), EvtDiracParticle::rotateToHelicityBasis(), EvtDiracParticle::rotateToHelicityBasis(), EvtHighSpinParticle::rotateToHelicityBasis(), EvtHighSpinParticle::rotateToHelicityBasis(), EvtRaritaSchwingerParticle::rotateToHelicityBasis(), EvtRaritaSchwingerParticle::rotateToHelicityBasis(), setLifetime(), treeStrRec(), and writeTreeRec().
|
inline |
Definition at line 380 of file EvtParticle.hh.
double EvtParticle::getLifetime | ( | ) |
Returns the lifetime.
Definition at line 99 of file EvtParticle.cc.
Referenced by EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtCPUtil::OtherB(), and EvtCPUtil::OtherB().
int EvtParticle::getNDaug | ( | ) | const |
Returns number of daugthers.
Definition at line 125 of file EvtParticle.cc.
Referenced by EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtSecondary::createSecondary(), EvtBtoKD3P::decay(), EvtDIY::decay(), EvtIntervalDecayAmp< T >::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtmH2::decay(), EvtOpenCharm::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtRhoPi::decay(), EvtSVSCPiso::decay(), EvtTauola::decay(), EvtVPHOtoVISRHi::decay(), EvtVSSBMixCPT::decay(), EvtPHOTOS::doRadCorr(), EvtPsi3Sdecay::EvtPsi3Sdecay(), EvtDecayBase::findMass(), EvtDecayBase::findMaxMass(), EvtFSPick::FSPick(), EvtGen::generateDecay(), EvtParticleDecayList::getDecayModel(), initDecay(), initializePhaseSpace(), EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), EvtDecayProb::makeDecay(), EvtDecayTag::makeTag(), EvtPsi3Sdecay::PHSPDecay(), and treeStrRec().
const EvtVector4R & EvtParticle::getP4 | ( | ) | const |
Returns 4momentum in parents restframe.
Definition at line 121 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtPsi3Sdecay::choseDecay(), EvtAngSam3::decay(), EvtAngSam::decay(), EvtAngSamX::decay(), EvtAV2GV::decay(), EvtBHadronic::decay(), EvtBsquark::decay(), EvtBTo4piCP::decay(), EvtBtoKD3P::decay(), EvtChi0BB1::decay(), EvtChi0BB2::decay(), EvtChi1BB1::decay(), EvtChi1BB2::decay(), EvtChi2BB1::decay(), EvtChi2BB2::decay(), EvtConExc::decay(), EvtD0mixDalitz::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtEtaDalitz::decay(), EvtFlatQ2::decay(), EvtHAngSam3::decay(), EvtHelPPJ::decay(), EvtHypWK::decay(), EvtJ2BB1::decay(), EvtJ2BB2::decay(), EvtJ2BB3::decay(), EvtJPE::decay(), EvtJpipi::decay(), EvtJTO3P::decay(), EvtKstarnunu::decay(), EvtKstarstargamma::decay(), EvtLNuGamma::decay(), EvtMBody3::decay(), EvtOmegaDalitz::decay(), EvtOpenCharm::decay(), EvtP2GC0::decay(), EvtP2GC1::decay(), EvtP2GC2::decay(), EvtPhiDalitz::decay(), EvtPi0Dalitz::decay(), EvtRhoPi::decay(), EvtSPL::decay(), EvtSSDCP::decay(), EvtSTS::decay(), EvtSTSCP::decay(), EvtSVPCP::decay(), EvtSVPHelAmp::decay(), EvtSVS::decay(), EvtSVSCP::decay(), EvtSVSNONCPEIGEN::decay(), EvtT2GV::decay(), EvtTauHadnu::decay(), EvtTauScalarnu::decay(), EvtTSS::decay(), EvtVSPPwave::decay(), EvtVSS::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtVVpipi::decay(), EvtVVPIPI_WEIGHTED::decay(), EvtVVSPwave::decay(), EvtConExc::difgamXs(), EvtPHOTOS::doRadCorr(), EvtVectorParticle::epsParent(), EvtPhotonParticle::epsParentPhoton(), EvtTensorParticle::epsTensorParent(), EvtEvalHelAmp::evalAmp(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), get4Pos(), getP4Lab(), EvtConExc::init(), EvtDecayAmp::makeDecay(), EvtPsi3Sdecay::PHSPDecay(), EvtConExc::Rad1difXs(), EvtConExc::Rad2difXs(), EvtDiracParticle::rotateToHelicityBasis(), EvtDiracParticle::rotateToHelicityBasis(), EvtRaritaSchwingerParticle::rotateToHelicityBasis(), EvtRaritaSchwingerParticle::rotateToHelicityBasis(), and EvtSVVHelAmp::SVVHel().
EvtVector4R EvtParticle::getP4Lab | ( | ) |
Gets 4vector in the labframe, i.e., the frame in which the root particles momentum is measured.
Definition at line 683 of file EvtParticle.cc.
Referenced by EvtAngH2::decay(), EvtBody3::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtLambdaP_BarGamma::decay(), EvtMassH1::decay(), EvtMassH2::decay(), EvtMBody3::decay(), EvtmH2::decay(), EvtmPhsp::decay(), EvtMultibody::decay(), EvtRhoPi::decay(), EvtSingleParticle2::decay(), EvtSingleParticle::decay(), EvtSPL::decay(), makeStdHep(), and makeStdHep().
EvtVector4R EvtParticle::getP4Restframe | ( | ) |
Gets 4vector in the particles restframe, i.e. this functiont will return (m,0,0,0)
Definition at line 698 of file EvtParticle.cc.
Referenced by EvtKstarstargamma::decay(), EvtSSDCP::decay(), EvtSVSCPLH::decay(), EvtVPHOtoVISR::decay(), and EvtVPHOtoVISRHi::decay().
EvtParticle * EvtParticle::getParent | ( | ) |
Returns pointer to parent particle.
Definition at line 87 of file EvtParticle.cc.
Referenced by compMassProb(), EvtDDalitz::decay(), EvtDecayBase::findMass(), EvtDecayBase::findMaxMass(), get4Pos(), getP4Lab(), initDecay(), EvtDecayAmp::makeDecay(), EvtCPUtil::OtherB(), and EvtCPUtil::OtherB().
|
inline |
Get backward spin density matrix.
Definition at line 343 of file EvtParticle.hh.
Referenced by EvtDecayAmp::makeDecay().
|
inline |
Get forward spin density matrix.
Definition at line 333 of file EvtParticle.hh.
Referenced by EvtDecayAmp::makeDecay(), and EvtDecayIncoherent::makeDecay().
int EvtParticle::getSpinStates | ( | ) | const |
Returns number of spin states of the particle.
Definition at line 118 of file EvtParticle.cc.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), decay(), EvtDecayIncoherent::makeDecay(), EvtDecayProb::makeDecay(), setDiagonalSpinDensity(), setPolarizedSpinDensity(), and setVectorSpinDensity().
EvtSpinType::spintype EvtParticle::getSpinType | ( | ) | const |
|
inline |
Definition at line 369 of file EvtParticle.hh.
Referenced by EvtDecayBase::findMaxMass(), EvtParticleDecayList::getDecayModel(), and initDecay().
|
pure virtual |
Initialiaze particle with id and 4momentum.
Implemented in EvtDiracParticle, EvtHighSpinParticle, EvtNeutrinoParticle, EvtPhotonParticle, EvtRaritaSchwingerParticle, EvtScalarParticle, EvtStringParticle, EvtTensorParticle, and EvtVectorParticle.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtBTo3piCP::decay(), EvtBtoKD3P::decay(), EvtBToKpipiCP::decay(), EvtBtoXsEtap::decay(), EvtBtoXsgamma::decay(), EvtBtoXsll::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtIntervalDecayAmp< T >::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOpenCharm::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtSingleParticle2::decay(), EvtSingleParticle::decay(), EvtSinglePoint::decay(), EvtTauola::decay(), EvtVectorIsr::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSSBMixCPT::decay(), EvtVub::decay(), EvtVubHybrid::decay(), EvtVubNLO::decay(), and initializePhaseSpace().
Definition at line 237 of file EvtParticle.cc.
Referenced by generateMassTree(), and initDecay().
double EvtParticle::initializePhaseSpace | ( | int | numdaughter, |
EvtId * | daughters, | ||
double | poleSize = -1., | ||
int | whichTwo1 = 0, | ||
int | whichTwo2 = 1 ) |
Similar to the routine above except that here momentum is generated according to phase space daughters are filled with this momentum.
Definition at line 1069 of file EvtParticle.cc.
Referenced by EvtPsi3Sdecay::choseDecay(), EvtAngH2::decay(), EvtAngSam3::decay(), EvtAngSam::decay(), EvtAngSamLab::decay(), EvtAngSamX::decay(), EvtAV2GV::decay(), EvtBHadronic::decay(), EvtBody3::decay(), EvtBsquark::decay(), EvtBto2piCPiso::decay(), EvtBTo4piCP::decay(), EvtBtoKD3P::decay(), EvtBtoKpiCPiso::decay(), EvtbTosllAli::decay(), EvtbTosllBall::decay(), EvtChi0BB1::decay(), EvtChi0BB2::decay(), EvtChi1BB1::decay(), EvtChi1BB2::decay(), EvtChi2BB1::decay(), EvtChi2BB2::decay(), EvtConExc::decay(), EvtD0mixDalitz::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtDMix::decay(), EvtEtaDalitz::decay(), EvtFlatQ2::decay(), EvtHAngSam3::decay(), EvtHelAmp::decay(), EvtHelPPJ::decay(), EvtHQET2::decay(), EvtHQET::decay(), EvtHypNonLepton::decay(), EvtHypWK::decay(), EvtISGW2::decay(), EvtISGW::decay(), EvtJ2BB1::decay(), EvtJ2BB2::decay(), EvtJ2BB3::decay(), EvtJPE::decay(), EvtJpipi::decay(), EvtJTO3P::decay(), EvtKKLambdaC::decay(), EvtKstarnunu::decay(), EvtKstarstargamma::decay(), EvtLambdaP_BarGamma::decay(), EvtLNuGamma::decay(), EvtMassH1::decay(), EvtMassH2::decay(), EvtMBody3::decay(), EvtMelikhov::decay(), EvtmH2::decay(), EvtmPhsp::decay(), EvtMultibody::decay(), EvtOmegaDalitz::decay(), EvtP2GC0::decay(), EvtP2GC1::decay(), EvtP2GC2::decay(), EvtPartWave::decay(), EvtPBB1::decay(), EvtPBB2::decay(), EvtPhiDalitz::decay(), EvtPhsp::decay(), EvtPi0Dalitz::decay(), EvtRhoPi::decay(), EvtS2GV::decay(), EvtSLBKPole::decay(), EvtSll::decay(), EvtSLN::decay(), EvtSLPole::decay(), EvtSPL::decay(), EvtSSDCP::decay(), EvtSSSCP::decay(), EvtSSSCPpng::decay(), EvtSSSCPT::decay(), EvtSTS::decay(), EvtSTSCP::decay(), EvtSVPCP::decay(), EvtSVPHelAmp::decay(), EvtSVS::decay(), EvtSVSCP::decay(), EvtSVSCPiso::decay(), EvtSVSCPLH::decay(), EvtSVSNONCPEIGEN::decay(), EvtSVVNONCPEIGEN::decay(), EvtT2GV::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauScalarnu::decay(), EvtTauVectornu::decay(), EvtTSS::decay(), EvtTVSPwave::decay(), EvtVectorIsr::decay(), EvtVll::decay(), EvtVSPPwave::decay(), EvtVSS::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtVub::decay(), EvtVubHybrid::decay(), EvtVubNLO::decay(), EvtVVP::decay(), EvtVVpipi::decay(), EvtVVPIPI_WEIGHTED::decay(), EvtVVSPwave::decay(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), EvtPsi3Sdecay::PHSPDecay(), and EvtSVVHelAmp::SVVHel().
|
inline |
Makes partptr the idaug:th daugther.
Definition at line 206 of file EvtParticle.hh.
Referenced by initDecay(), and EvtCPUtil::OtherB().
|
inline |
Definition at line 370 of file EvtParticle.hh.
|
inline |
Definition at line 368 of file EvtParticle.hh.
Referenced by EvtDecayBase::findMaxMass().
void EvtParticle::makeDaughters | ( | int | ndaug, |
EvtId * | id ) |
Creates the daughters in the list of ids and adds them to the parent. Note that momentum is left uninitialized, this is only creation.
Definition at line 1175 of file EvtParticle.cc.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtPsi3Sdecay::choseDecay(), EvtBTo3piCP::decay(), EvtBToKpipiCP::decay(), EvtBtoXsEtap::decay(), EvtBtoXsgamma::decay(), EvtBtoXsll::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtConExc::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOpenCharm::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtSingleParticle2::decay(), EvtSingleParticle::decay(), EvtSinglePoint::decay(), EvtTauola::decay(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), initDecay(), initializePhaseSpace(), and EvtPsi3Sdecay::PHSPDecay().
void EvtParticle::makeStdHep | ( | EvtStdHep & | stdhep | ) |
Definition at line 793 of file EvtParticle.cc.
void EvtParticle::makeStdHep | ( | EvtStdHep & | stdhep, |
EvtSecondary & | secondary, | ||
EvtId * | stable_parent_ihep ) |
Makes stdhep list
Definition at line 757 of file EvtParticle.cc.
Referenced by EvtGen::generateDecay(), and EvtGen::generateEvent().
double EvtParticle::mass | ( | ) | const |
Returns mass of particle.
Definition at line 127 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtBHadronic::decay(), EvtBsquark::decay(), EvtBtoXsEtap::decay(), EvtBtoXsgamma::decay(), EvtBtoXsll::decay(), EvtDDalitz::decay(), EvtEtaDalitz::decay(), EvtHypWK::decay(), EvtJetSet::decay(), EvtJpipi::decay(), EvtJscont::decay(), EvtKstarnunu::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOmegaDalitz::decay(), EvtOpenCharm::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtSll::decay(), EvtSLN::decay(), EvtSSDCP::decay(), EvtSTS::decay(), EvtSTSCP::decay(), EvtSVS::decay(), EvtSVSCPLH::decay(), EvtSVSNONCPEIGEN::decay(), EvtTauola::decay(), EvtTauVectornu::decay(), EvtTVSPwave::decay(), EvtVectorIsr::decay(), EvtVll::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSPPwave::decay(), EvtVub::decay(), EvtVubHybrid::decay(), EvtVubNLO::decay(), EvtVVpipi::decay(), EvtVVPIPI_WEIGHTED::decay(), EvtPHOTOS::doRadCorr(), EvtDecayBase::findMass(), EvtDecayBase::findMasses(), EvtDecayBase::findMaxMass(), generateMassTree(), get4Pos(), EvtParticleDecayList::getDecayModel(), getP4Restframe(), EvtDiracParticle::init(), EvtRaritaSchwingerParticle::init(), initDecay(), initializePhaseSpace(), EvtDecayAmp::makeDecay(), EvtDecayProb::makeDecay(), EvtPsi3Sdecay::PHSPDecay(), printTreeRec(), EvtDiracParticle::rotateToHelicityBasis(), EvtDiracParticle::rotateToHelicityBasis(), EvtRaritaSchwingerParticle::rotateToHelicityBasis(), and EvtRaritaSchwingerParticle::rotateToHelicityBasis().
EvtParticle * EvtParticle::nextIter | ( | EvtParticle * | rootOfTree = 0 | ) |
Iterates over the particles in a decay chain.
Definition at line 727 of file EvtParticle.cc.
|
inline |
Definition at line 348 of file EvtParticle.hh.
Referenced by EvtbTosllAmp::CalcMaxProb(), and EvtSemiLeptonicAmp::CalcMaxProb().
void EvtParticle::printParticle | ( | ) | const |
Prints information for the particle.
Definition at line 998 of file EvtParticle.cc.
Referenced by eps(), epsParent(), epsParentPhoton(), epsPhoton(), epsTensor(), epsTensorParent(), sp(), spNeutrino(), spParent(), and spParentNeutrino().
void EvtParticle::printTree | ( | ) | const |
Prints out the particle "tree" of a given particle. The tree consists of all daughters (and their daughters, etc) and their properties.
Definition at line 895 of file EvtParticle.cc.
Referenced by EvtConExc::decay(), EvtDecayBase::findMass(), and generateMassTree().
void EvtParticle::printTreeRec | ( | int | level | ) | const |
Definition at line 868 of file EvtParticle.cc.
Referenced by printTree(), and printTreeRec().
void EvtParticle::resetFirstOrNot | ( | ) |
Definition at line 77 of file EvtParticle.cc.
Referenced by EvtGen::generateDecay().
|
inline |
Definition at line 255 of file EvtParticle.hh.
Referenced by EvtOpenCharm::decay(), and EvtGen::generateDecay().
|
pure virtual |
Returns a rotation matrix need to rotate the basis state to the helicity basis. The EvtSpinDensity matrix is just use as a matrix here. This function is to be implemented in each derived class.
Implemented in EvtDiracParticle, EvtHighSpinParticle, EvtNeutrinoParticle, EvtPhotonParticle, EvtRaritaSchwingerParticle, EvtScalarParticle, EvtStringParticle, EvtTensorParticle, and EvtVectorParticle.
Referenced by EvtMultibody::decay(), setSpinDensityForwardHelicityBasis(), and setSpinDensityForwardHelicityBasis().
|
pure virtual |
void EvtParticle::setChannel | ( | int | i | ) |
Should only be used internally.
Definition at line 81 of file EvtParticle.cc.
Referenced by EvtParticleDecayList::getDecayModel(), and makeDaughters().
void EvtParticle::setDecayProb | ( | double | p | ) |
Definition at line 1202 of file EvtParticle.cc.
Referenced by EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().
void EvtParticle::setDiagonalSpinDensity | ( | ) |
Set diagonal spindensity matrix.
Definition at line 133 of file EvtParticle.cc.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtJetSet::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtPythia::decay(), EvtTauola::decay(), and initDecay().
void EvtParticle::setFirstOrNot | ( | ) |
Definition at line 74 of file EvtParticle.cc.
Referenced by EvtDecayBase::findMasses().
|
inline |
set generator information; pingrg-2011-1-6
Definition at line 141 of file EvtParticle.hh.
Referenced by EvtLundCharm::decay(), and EvtOpenCharm::decay().
|
inline |
|
inline |
Definition at line 379 of file EvtParticle.hh.
void EvtParticle::setLifetime | ( | ) |
Generate lifetime according to pure exponential.
Definition at line 93 of file EvtParticle.cc.
Referenced by EvtDiracParticle::init(), EvtHighSpinParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtRaritaSchwingerParticle::init(), EvtScalarParticle::init(), EvtScalarParticle::init(), EvtTensorParticle::init(), EvtTensorParticle::init(), EvtVectorParticle::init(), EvtVectorParticle::init(), and initDecay().
void EvtParticle::setLifetime | ( | double | tau | ) |
Set lifetime of the particle in parents restframe.
Definition at line 89 of file EvtParticle.cc.
Referenced by EvtD0mixDalitz::decay(), EvtDMix::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtVub::decay(), EvtVubHybrid::decay(), initDecay(), EvtCPUtil::OtherB(), and EvtCPUtil::OtherB().
|
inline |
Definition at line 358 of file EvtParticle.hh.
Referenced by EvtPsi3Sdecay::choseDecay(), EvtConExc::decay(), EvtDecayBase::findMass(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), initDecay(), and EvtPsi3Sdecay::PHSPDecay().
|
inlineprotected |
Definition at line 385 of file EvtParticle.hh.
|
inlineprotected |
Definition at line 384 of file EvtParticle.hh.
Referenced by EvtDiracParticle::init(), EvtHighSpinParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtRaritaSchwingerParticle::init(), EvtScalarParticle::init(), EvtScalarParticle::init(), EvtStringParticle::init(), EvtTensorParticle::init(), EvtVectorParticle::init(), and EvtVectorParticle::init().
|
inline |
Sets the 4momentum in the parents restframe.
Definition at line 244 of file EvtParticle.hh.
Referenced by EvtPHOTOS::doRadCorr().
|
inlineprotected |
Definition at line 386 of file EvtParticle.hh.
Referenced by EvtDiracParticle::init(), EvtHighSpinParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtRaritaSchwingerParticle::init(), EvtScalarParticle::init(), EvtScalarParticle::init(), EvtStringParticle::init(), EvtTensorParticle::init(), EvtVectorParticle::init(), and EvtVectorParticle::init().
void EvtParticle::setPolarizedSpinDensity | ( | double | r00, |
double | r11, | ||
double | r22 ) |
Definition at line 157 of file EvtParticle.cc.
|
inline |
Set backward spin density matrix.
Definition at line 338 of file EvtParticle.hh.
Referenced by EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().
|
inline |
Set forward spin density matrix.
Definition at line 307 of file EvtParticle.hh.
Referenced by EvtVectorIsr::decay(), EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), EvtDecayProb::makeDecay(), and EvtParticleFactory::particleFactory().
void EvtParticle::setSpinDensityForwardHelicityBasis | ( | const EvtSpinDensity & | rho | ) |
Set forward spin density matrix according to the density matrix rho in the helicity amplitude basis.
Definition at line 178 of file EvtParticle.cc.
Referenced by setPolarizedSpinDensity(), and setVectorSpinDensity().
void EvtParticle::setSpinDensityForwardHelicityBasis | ( | const EvtSpinDensity & | rho, |
double | alpha, | ||
double | beta, | ||
double | gamma ) |
Definition at line 206 of file EvtParticle.cc.
void EvtParticle::setVectorSpinDensity | ( | ) |
Set spindensity matrix for e+e- -> V
Definition at line 138 of file EvtParticle.cc.
Referenced by EvtGen::generateEvent().
|
virtual |
Returns Dirac spinor in the particles own restframe for a Dirac particle.
Reimplemented in EvtDiracParticle.
Definition at line 620 of file EvtParticle.cc.
Referenced by EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtHypNonLepton::calcAmp(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauScalarnu::decay(), and EvtTauVectornu::decay().
|
virtual |
Returns Dirac spinor in the particles own restframe for a Neutrino particle.
Reimplemented in EvtNeutrinoParticle.
Definition at line 644 of file EvtParticle.cc.
|
virtual |
Returns Dirac spinor in the parents restframe for a Dirac particle.
Reimplemented in EvtDiracParticle.
Definition at line 607 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtHypNonLepton::calcAmp(), EvtBsquark::decay(), EvtLNuGamma::decay(), EvtSll::decay(), EvtSLN::decay(), EvtTaulnunu::decay(), and EvtVll::decay().
|
virtual |
Returns Dirac spinor in the parents restframe for a Neutrino particle.
Reimplemented in EvtNeutrinoParticle.
Definition at line 633 of file EvtParticle.cc.
Referenced by EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtKstarnunu::decay(), EvtLNuGamma::decay(), EvtSLN::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauScalarnu::decay(), and EvtTauVectornu::decay().
std::string EvtParticle::treeStr | ( | ) | const |
Definition at line 988 of file EvtParticle.cc.
std::string EvtParticle::treeStrRec | ( | int | level | ) | const |
Definition at line 906 of file EvtParticle.cc.
Referenced by treeStr(), and treeStrRec().
std::string EvtParticle::writeTreeRec | ( | std::string | resonance | ) | const |
Definition at line 928 of file EvtParticle.cc.
Referenced by writeTreeRec().
|
protected |
Definition at line 393 of file EvtParticle.hh.
Referenced by compMassProb(), EvtParticle(), hasValidP4(), EvtDiracParticle::init(), EvtHighSpinParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtRaritaSchwingerParticle::init(), EvtScalarParticle::init(), EvtScalarParticle::init(), EvtStringParticle::init(), EvtTensorParticle::init(), EvtVectorParticle::init(), EvtVectorParticle::init(), and initDecay().