BOSS 7.1.0
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 | setIntFlag (std::vector< int > vi) |
std::vector< int > | getIntFlag () |
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 () |
Static Public Attributes | |
static int | _NextLevelDauNum =0 |
static EvtId | _NextLevelId [20] |
static EvtVector4R | _NextLevelP4 [20] |
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 59 of file EvtParticle.cc.
|
virtual |
void EvtParticle::addDaug | ( | EvtParticle * | node | ) |
Add another daughter to the particle
Definition at line 103 of file EvtParticle.cc.
Referenced by EvtKstarstargamma::decay(), EvtPHOTOS::doRadCorr(), and makeDaughters().
double EvtParticle::compMassProb | ( | ) |
Definition at line 503 of file EvtParticle.cc.
Referenced by compMassProb(), and generateMassTree().
void EvtParticle::decay | ( | ) |
Decay particle
Definition at line 403 of file EvtParticle.cc.
Referenced by decay(), EvtJetSet::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtPythia::decay(), EvtTauola::decay(), EvtGen::generateDecay(), EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().
|
inline |
Definition at line 395 of file EvtParticle.hh.
Definition at line 539 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 556 of file EvtParticle.cc.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), deleteDaughters(), EvtGen::generateDecay(), EvtGen::generateEvent(), EvtPsi3Sdecay::PHSPDecay(), and EvtConExc::~EvtConExc().
void EvtParticle::dumpTree | ( | ) | const |
Definition at line 977 of file EvtParticle.cc.
void EvtParticle::dumpTreeRec | ( | int | level, |
int | dj | ||
) | const |
Definition at line 947 of file EvtParticle.cc.
Referenced by dumpTree(), and dumpTreeRec().
|
virtual |
Returns polarization vector in the particles own restframe.
Reimplemented in EvtVectorParticle.
Definition at line 575 of file EvtParticle.cc.
Referenced by EvtEDM::decay(), 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 564 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 586 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 597 of file EvtParticle.cc.
|
virtual |
Returns tensor in the particles own restframe for a spin 2 particle.
Reimplemented in EvtTensorParticle.
Definition at line 669 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 656 of file EvtParticle.cc.
Referenced by EvtSemiLeptonicTensorAmp::CalcAmp(), EvtBHadronic::decay(), EvtSSDCP::decay(), EvtSTS::decay(), and EvtSTSCP::decay().
int EvtParticle::firstornot | ( | ) | const |
Used internally to decide if first time particle is decayed.
Definition at line 110 of file EvtParticle.cc.
Referenced by EvtDecayBase::findMasses().
void EvtParticle::generateMassTree | ( | ) |
Definition at line 460 of file EvtParticle.cc.
Referenced by decay(), EvtBtoKD3P::decay(), and initializePhaseSpace().
EvtVector4R EvtParticle::get4Pos | ( | ) |
Returns the 4position of the particle in the lab frame.
Definition at line 705 of file EvtParticle.cc.
Referenced by makeStdHep().
int EvtParticle::getChannel | ( | ) | const |
Retunrs the decay channel.
Definition at line 122 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 84 of file EvtParticle.cc.
Referenced by EvtRexc::angularSampling(), EvtConExc::angularSampling(), EvtHypNonLepton::calcAmp(), EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtConExc::checkdecay(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtSecondary::createSecondary(), decay(), EvtAngH2::decay(), EvtAngSam::decay(), EvtAngSam3::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(), EvtCalHelAmp::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtChi0BB1::decay(), EvtChi0BB2::decay(), EvtChi1BB1::decay(), EvtChi1BB2::decay(), EvtChi2BB1::decay(), EvtChi2BB2::decay(), EvtConExc::decay(), EvtD0mixDalitz::decay(), EvtD0To2pip2pim::decay(), EvtD0Toa0enu::decay(), EvtD0ToKKpipi::decay(), EvtD0toKLpipiPlot::decay(), EvtD0ToKpiEtap::decay(), EvtD0toKpietaPlot::decay(), EvtD0toKpiomegaPlot::decay(), EvtD0ToKpipi0::decay(), EvtD0ToKpipi0pi0::decay(), EvtD0toKpipi0Plot::decay(), EvtD0ToKpipipi::decay(), EvtD0ToKSKK::decay(), EvtD0toKSpi0etaPlot::decay(), EvtD0toKSpi0omegaPlot::decay(), EvtD0ToKSpi0pi0::decay(), EvtD0ToKSpipi::decay(), EvtD0ToKSpipipi0::decay(), EvtD0ToKSpipipi0pi0::decay(), EvtD0toKSpipiPlot::decay(), EvtD0Topipienu::decay(), EvtD0TopipiEta::decay(), EvtD0topipietaPlot::decay(), EvtD0Topippim2pi0::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtDToa0enu::decay(), EvtDtoKKpiPlot::decay(), EvtDToKmPipPipPi0::decay(), EvtDToKpienu::decay(), EvtDtoKpipiPlot::decay(), EvtDToKppipipi0::decay(), EvtDToKSKpi0::decay(), EvtDToKSKSpi::decay(), EvtDToKSpieta::decay(), EvtDtoKSpietaPlot::decay(), EvtDtoKSpiomegaPlot::decay(), EvtDToKSpipi0pi0::decay(), EvtDToKSpipipi::decay(), EvtDTopi0pi0enu::decay(), EvtDTopiEtaEta::decay(), EvtDtopietaetaPlot::decay(), EvtDTopipi0Eta::decay(), EvtDtopipi0etaPlot::decay(), EvtDTopipi0pi0::decay(), EvtDtopipi0pi0Plot::decay(), EvtDTopipienu::decay(), EvtDtopipipiPlot::decay(), EvtEDM::decay(), EvtEtaDalitz::decay(), EvtEtap2gpipi::decay(), EvtFDC::decay(), EvtFlatQ2::decay(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::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(), EvtLambdac2pKpi::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(), EvtPhiDalitz::decay(), EvtPhokhara::decay(), EvtPhokhara_4pi::decay(), EvtPhokhara_etagam::decay(), EvtPhokhara_etapgam::decay(), EvtPhokhara_K0K0::decay(), EvtPhokhara_KK::decay(), EvtPhokhara_Lambda::decay(), EvtPhokhara_LLB::decay(), EvtPhokhara_nnbar::decay(), EvtPhokhara_pi0gam::decay(), EvtPhokhara_pi0pi0pipi::decay(), EvtPhokhara_pipi::decay(), EvtPhokhara_pipieta::decay(), EvtPhokhara_pipipi0::decay(), EvtPhokhara_ppbar::decay(), EvtPhsp::decay(), EvtPhspStepf::decay(), EvtPi0Dalitz::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtRexc::decay(), EvtRhoPi::decay(), EvtSingleParticle::decay(), EvtSingleParticle2::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(), EvtTauGamMu::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauola::decay(), EvtTauScalarnu::decay(), EvtTauVectornu::decay(), EvtTrackGen::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(), EvtLunda::ExclusiveDecay(), 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(), EvtConExc::photonSampling(), EvtPsi3Sdecay::PHSPDecay(), EvtConExc::Rad1difXs(), EvtConExc::Rad2difXs(), EvtConExc::SetP4(), EvtConExc::SetP4Rvalue(), 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 112 of file EvtParticle.cc.
Referenced by EvtRexc::angularSampling(), EvtConExc::angularSampling(), EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtConExc::checkdecay(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtSecondary::createSecondary(), decay(), EvtAngH2::decay(), EvtBsquark::decay(), EvtBTo3piCP::decay(), EvtBtoXsll::decay(), EvtCalHelAmp::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtConExc::decay(), EvtD0Toa0enu::decay(), EvtD0ToKKpipi::decay(), EvtD0Topipienu::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDMix::decay(), EvtDToa0enu::decay(), EvtDToKmPipPipPi0::decay(), EvtDToKpienu::decay(), EvtDToKSpipi0pi0::decay(), EvtDTopi0pi0enu::decay(), EvtDTopipienu::decay(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtHypWK::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtKstarstargamma::decay(), EvtLambdac2pKpi::decay(), EvtLNuGamma::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOpenCharm::decay(), EvtPhokhara::decay(), EvtPhokhara_4pi::decay(), EvtPhokhara_etagam::decay(), EvtPhokhara_etapgam::decay(), EvtPhokhara_K0K0::decay(), EvtPhokhara_KK::decay(), EvtPhokhara_Lambda::decay(), EvtPhokhara_LLB::decay(), EvtPhokhara_nnbar::decay(), EvtPhokhara_pi0gam::decay(), EvtPhokhara_pi0pi0pipi::decay(), EvtPhokhara_pipi::decay(), EvtPhokhara_pipieta::decay(), EvtPhokhara_pipipi0::decay(), EvtPhokhara_ppbar::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtRexc::decay(), EvtSVSCPiso::decay(), EvtSVSNONCPEIGEN::decay(), EvtSVVNONCPEIGEN::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauola::decay(), EvtTauScalarnu::decay(), EvtTauVectornu::decay(), EvtTrackGen::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtPHOTOS::doRadCorr(), EvtLunda::ExclusiveDecay(), EvtDecayBase::findMass(), EvtDecayBase::findMasses(), EvtDecayBase::findMaxMass(), EvtConExc::findMaxXS(), EvtPsi3Sdecay::findMode(), EvtFSPick::FSPick(), EvtConExc::gamHXSection(), generateMassTree(), EvtDecayTable::getDecayFunc(), EvtParticleDecayList::getDecayModel(), initDecay(), initializePhaseSpace(), EvtDecayAmp::makeDecay(), EvtDecayProb::makeDecay(), makeStdHep(), EvtDecayTag::makeTag(), EvtCPUtil::OtherB(), EvtConExc::photonSampling(), EvtPsi3Sdecay::PHSPDecay(), printTreeRec(), EvtDiracParticle::rotateToHelicityBasis(), EvtHighSpinParticle::rotateToHelicityBasis(), EvtRaritaSchwingerParticle::rotateToHelicityBasis(), EvtConExc::selectMode(), setLifetime(), EvtConExc::SetP4(), EvtConExc::SetP4Rvalue(), treeStrRec(), and writeTreeRec().
|
inline |
Definition at line 399 of file EvtParticle.hh.
|
inline |
get int flag for ConExc: pingrg-2015-2-7
Definition at line 163 of file EvtParticle.hh.
Referenced by EvtDecayTag::getModeTag().
double EvtParticle::getLifetime | ( | ) |
Returns the lifetime.
Definition at line 98 of file EvtParticle.cc.
Referenced by EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), and EvtCPUtil::OtherB().
int EvtParticle::getNDaug | ( | ) | const |
Returns number of daugthers.
Definition at line 124 of file EvtParticle.cc.
Referenced by EvtRexc::angularSampling(), EvtConExc::angularSampling(), EvtConExc::checkdecay(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtSecondary::createSecondary(), EvtBtoKD3P::decay(), EvtDIY::decay(), EvtFDC::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(), EvtConExc::photonSampling(), EvtPsi3Sdecay::PHSPDecay(), and treeStrRec().
const EvtVector4R & EvtParticle::getP4 | ( | ) | const |
Returns 4momentum in parents restframe.
Definition at line 120 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtPsi3Sdecay::choseDecay(), EvtAngSam::decay(), EvtAngSam3::decay(), EvtAngSamX::decay(), EvtAV2GV::decay(), EvtBHadronic::decay(), EvtBsquark::decay(), EvtBTo4piCP::decay(), EvtBtoKD3P::decay(), EvtCalHelAmp::decay(), EvtChi0BB1::decay(), EvtChi0BB2::decay(), EvtChi1BB1::decay(), EvtChi1BB2::decay(), EvtChi2BB1::decay(), EvtChi2BB2::decay(), EvtConExc::decay(), EvtD0mixDalitz::decay(), EvtD0To2pip2pim::decay(), EvtD0Toa0enu::decay(), EvtD0ToKKpipi::decay(), EvtD0ToKpiEtap::decay(), EvtD0ToKpipi0::decay(), EvtD0ToKpipi0pi0::decay(), EvtD0ToKpipipi::decay(), EvtD0ToKSKK::decay(), EvtD0ToKSpi0pi0::decay(), EvtD0ToKSpipi::decay(), EvtD0ToKSpipipi0::decay(), EvtD0ToKSpipipi0pi0::decay(), EvtD0Topipienu::decay(), EvtD0TopipiEta::decay(), EvtD0Topippim2pi0::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtDToa0enu::decay(), EvtDToKmPipPipPi0::decay(), EvtDToKpienu::decay(), EvtDToKppipipi0::decay(), EvtDToKSKpi0::decay(), EvtDToKSKSpi::decay(), EvtDToKSpieta::decay(), EvtDToKSpipi0pi0::decay(), EvtDToKSpipipi::decay(), EvtDTopi0pi0enu::decay(), EvtDTopiEtaEta::decay(), EvtDTopipi0Eta::decay(), EvtDTopipi0pi0::decay(), EvtDTopipienu::decay(), EvtEDM::decay(), EvtEtaDalitz::decay(), EvtEtap2gpipi::decay(), EvtFlatQ2::decay(), EvtFromParent::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(), EvtPhsp::decay(), EvtPhspStepf::decay(), EvtPi0Dalitz::decay(), EvtRexc::decay(), EvtRhoPi::decay(), EvtSPL::decay(), EvtSSDCP::decay(), EvtSTS::decay(), EvtSTSCP::decay(), EvtSVPCP::decay(), EvtSVPHelAmp::decay(), EvtSVS::decay(), EvtSVSCP::decay(), EvtSVSCPLH::decay(), EvtSVSNONCPEIGEN::decay(), EvtT2GV::decay(), EvtTauGamMu::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(), generateMassTree(), get4Pos(), getP4Lab(), EvtDecayAmp::makeDecay(), EvtPsi3Sdecay::PHSPDecay(), EvtConExc::Rad1difXs(), EvtConExc::Rad2difXs(), EvtDiracParticle::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 684 of file EvtParticle.cc.
Referenced by EvtRexc::angularSampling(), EvtConExc::angularSampling(), EvtAngH2::decay(), EvtBody3::decay(), EvtD0To2pip2pim::decay(), EvtD0toKLpipiPlot::decay(), EvtD0toKpietaPlot::decay(), EvtD0toKpiomegaPlot::decay(), EvtD0toKpipi0Plot::decay(), EvtD0toKSpi0etaPlot::decay(), EvtD0toKSpi0omegaPlot::decay(), EvtD0ToKSpipi::decay(), EvtD0ToKSpipipi0::decay(), EvtD0toKSpipiPlot::decay(), EvtD0topipietaPlot::decay(), EvtD0Topippim2pi0::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtDtoKKpiPlot::decay(), EvtDtoKpipiPlot::decay(), EvtDToKSKpi0::decay(), EvtDtoKSpietaPlot::decay(), EvtDtoKSpiomegaPlot::decay(), EvtDtopietaetaPlot::decay(), EvtDtopipi0etaPlot::decay(), EvtDtopipi0pi0Plot::decay(), EvtDtopipipiPlot::decay(), EvtFDC::decay(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtLambdaP_BarGamma::decay(), EvtMassH1::decay(), EvtMassH2::decay(), EvtMBody3::decay(), EvtmH2::decay(), EvtmPhsp::decay(), EvtMultibody::decay(), EvtPhokhara_Lambda::decay(), EvtRhoPi::decay(), EvtSingleParticle::decay(), EvtSingleParticle2::decay(), EvtSPL::decay(), makeStdHep(), and EvtConExc::photonSampling().
EvtVector4R EvtParticle::getP4Restframe | ( | ) |
Gets 4vector in the particles restframe, i.e. this functiont will return (m,0,0,0)
Definition at line 699 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 86 of file EvtParticle.cc.
Referenced by compMassProb(), EvtDDalitz::decay(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtDecayBase::findMass(), EvtDecayBase::findMaxMass(), get4Pos(), getP4Lab(), initDecay(), EvtDecayAmp::makeDecay(), and EvtCPUtil::OtherB().
|
inline |
Get backward spin density matrix.
Definition at line 362 of file EvtParticle.hh.
Referenced by EvtDecayAmp::makeDecay().
|
inline |
Get forward spin density matrix.
Definition at line 352 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 117 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 388 of file EvtParticle.hh.
Referenced by EvtDecayBase::findMaxMass(), EvtParticleDecayList::getDecayModel(), and initDecay().
|
pure virtual |
Initialiaze particle with id and 4momentum.
Implemented in EvtHighSpinParticle, EvtRaritaSchwingerParticle, EvtStringParticle, EvtScalarParticle, EvtVectorParticle, EvtDiracParticle, EvtNeutrinoParticle, EvtPhotonParticle, and EvtTensorParticle.
Referenced by EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtBTo3piCP::decay(), EvtBtoKD3P::decay(), EvtBToKpipiCP::decay(), EvtBtoXsEtap::decay(), EvtBtoXsgamma::decay(), EvtBtoXsll::decay(), EvtCBTo3piMPP::decay(), EvtCBTo3piP00::decay(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtIntervalDecayAmp< T >::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtLambdac2pKpi::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOpenCharm::decay(), EvtPhokhara::decay(), EvtPhokhara_4pi::decay(), EvtPhokhara_etagam::decay(), EvtPhokhara_etapgam::decay(), EvtPhokhara_K0K0::decay(), EvtPhokhara_KK::decay(), EvtPhokhara_Lambda::decay(), EvtPhokhara_LLB::decay(), EvtPhokhara_nnbar::decay(), EvtPhokhara_pi0gam::decay(), EvtPhokhara_pi0pi0pipi::decay(), EvtPhokhara_pipi::decay(), EvtPhokhara_pipieta::decay(), EvtPhokhara_pipipi0::decay(), EvtPhokhara_ppbar::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtSingleParticle::decay(), EvtSingleParticle2::decay(), EvtSinglePoint::decay(), EvtTauola::decay(), EvtTrackGen::decay(), EvtVectorIsr::decay(), EvtVPHOtoVISR::decay(), EvtVPHOtoVISRHi::decay(), EvtVSSBMixCPT::decay(), EvtVub::decay(), EvtVubHybrid::decay(), EvtVubNLO::decay(), initializePhaseSpace(), EvtConExc::SetP4(), and EvtConExc::SetP4Rvalue().
Definition at line 236 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 1070 of file EvtParticle.cc.
Referenced by EvtPsi3Sdecay::choseDecay(), EvtAngH2::decay(), EvtAngSam::decay(), EvtAngSam3::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(), EvtCalHelAmp::decay(), EvtChi0BB1::decay(), EvtChi0BB2::decay(), EvtChi1BB1::decay(), EvtChi1BB2::decay(), EvtChi2BB1::decay(), EvtChi2BB2::decay(), EvtConExc::decay(), EvtD0mixDalitz::decay(), EvtD0To2pip2pim::decay(), EvtD0Toa0enu::decay(), EvtD0ToKKpipi::decay(), EvtD0toKLpipiPlot::decay(), EvtD0ToKpiEtap::decay(), EvtD0toKpietaPlot::decay(), EvtD0toKpiomegaPlot::decay(), EvtD0ToKpipi0::decay(), EvtD0ToKpipi0pi0::decay(), EvtD0toKpipi0Plot::decay(), EvtD0ToKpipipi::decay(), EvtD0ToKSKK::decay(), EvtD0toKSpi0etaPlot::decay(), EvtD0toKSpi0omegaPlot::decay(), EvtD0ToKSpi0pi0::decay(), EvtD0ToKSpipi::decay(), EvtD0ToKSpipipi0::decay(), EvtD0ToKSpipipi0pi0::decay(), EvtD0toKSpipiPlot::decay(), EvtD0Topipienu::decay(), EvtD0TopipiEta::decay(), EvtD0topipietaPlot::decay(), EvtD0Topippim2pi0::decay(), EvtDDalitz::decay(), EvtDeBD::decay(), EvtDIY::decay(), EvtDMix::decay(), EvtDToa0enu::decay(), EvtDtoKKpiPlot::decay(), EvtDToKmPipPipPi0::decay(), EvtDToKpienu::decay(), EvtDtoKpipiPlot::decay(), EvtDToKppipipi0::decay(), EvtDToKSKpi0::decay(), EvtDToKSKSpi::decay(), EvtDToKSpieta::decay(), EvtDtoKSpietaPlot::decay(), EvtDtoKSpiomegaPlot::decay(), EvtDToKSpipi0pi0::decay(), EvtDToKSpipipi::decay(), EvtDTopi0pi0enu::decay(), EvtDTopiEtaEta::decay(), EvtDtopietaetaPlot::decay(), EvtDTopipi0Eta::decay(), EvtDtopipi0etaPlot::decay(), EvtDTopipi0pi0::decay(), EvtDtopipi0pi0Plot::decay(), EvtDTopipienu::decay(), EvtDtopipipiPlot::decay(), EvtEDM::decay(), EvtEtaDalitz::decay(), EvtEtap2gpipi::decay(), EvtFDC::decay(), EvtFlatQ2::decay(), EvtHAngSam3::decay(), EvtHelAmp::decay(), EvtHelPPJ::decay(), EvtHQET::decay(), EvtHQET2::decay(), EvtHypNonLepton::decay(), EvtHypWK::decay(), EvtISGW::decay(), EvtISGW2::decay(), EvtJ2BB1::decay(), EvtJ2BB2::decay(), EvtJ2BB3::decay(), EvtJPE::decay(), EvtJpipi::decay(), EvtJTO3P::decay(), EvtKKLambdaC::decay(), EvtKstarnunu::decay(), EvtKstarstargamma::decay(), EvtLambdac2pKpi::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(), EvtPhspStepf::decay(), EvtPi0Dalitz::decay(), EvtRexc::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(), EvtTauGamMu::decay(), EvtTauHadnu::decay(), EvtTaulnunu::decay(), EvtTauScalarnu::decay(), EvtTauVectornu::decay(), EvtTrackGen::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(), EvtLunda::ExclusiveDecay(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), EvtPsi3Sdecay::PHSPDecay(), and EvtSVVHelAmp::SVVHel().
|
inline |
Makes partptr the idaug:th daugther.
Definition at line 225 of file EvtParticle.hh.
Referenced by initDecay(), and EvtCPUtil::OtherB().
|
inline |
Definition at line 389 of file EvtParticle.hh.
|
inline |
Definition at line 387 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 1176 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(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtJetSet::decay(), EvtJscont::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOpenCharm::decay(), EvtPhokhara::decay(), EvtPhokhara_4pi::decay(), EvtPhokhara_etagam::decay(), EvtPhokhara_etapgam::decay(), EvtPhokhara_K0K0::decay(), EvtPhokhara_KK::decay(), EvtPhokhara_Lambda::decay(), EvtPhokhara_LLB::decay(), EvtPhokhara_nnbar::decay(), EvtPhokhara_pi0gam::decay(), EvtPhokhara_pi0pi0pipi::decay(), EvtPhokhara_pipi::decay(), EvtPhokhara_pipieta::decay(), EvtPhokhara_pipipi0::decay(), EvtPhokhara_ppbar::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtRexc::decay(), EvtSingleParticle::decay(), EvtSingleParticle2::decay(), EvtSinglePoint::decay(), EvtTauola::decay(), EvtLunda::ExclusiveDecay(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), initDecay(), initializePhaseSpace(), and EvtPsi3Sdecay::PHSPDecay().
void EvtParticle::makeStdHep | ( | EvtStdHep & | stdhep | ) |
Definition at line 794 of file EvtParticle.cc.
void EvtParticle::makeStdHep | ( | EvtStdHep & | stdhep, |
EvtSecondary & | secondary, | ||
EvtId * | stable_parent_ihep | ||
) |
Makes stdhep list
Definition at line 758 of file EvtParticle.cc.
Referenced by EvtGen::generateDecay(), and EvtGen::generateEvent().
double EvtParticle::mass | ( | ) | const |
Returns mass of particle.
Definition at line 126 of file EvtParticle.cc.
Referenced by EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtbTosllAmp::CalcMaxProb(), EvtSemiLeptonicAmp::CalcMaxProb(), EvtConExc::checkdecay(), EvtPsi3Sdecay::choseDecay(), compMassProb(), EvtBHadronic::decay(), EvtBsquark::decay(), EvtBtoXsEtap::decay(), EvtBtoXsgamma::decay(), EvtBtoXsll::decay(), EvtConExc::decay(), EvtDDalitz::decay(), EvtEDM::decay(), EvtEtaDalitz::decay(), EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtHypWK::decay(), EvtJetSet::decay(), EvtJpipi::decay(), EvtJscont::decay(), EvtKstarnunu::decay(), EvtLunda::decay(), EvtLundCharm::decay(), EvtOmegaDalitz::decay(), EvtOpenCharm::decay(), EvtPhokhara::decay(), EvtPhokhara_4pi::decay(), EvtPhokhara_etagam::decay(), EvtPhokhara_etapgam::decay(), EvtPhokhara_K0K0::decay(), EvtPhokhara_KK::decay(), EvtPhokhara_Lambda::decay(), EvtPhokhara_LLB::decay(), EvtPhokhara_nnbar::decay(), EvtPhokhara_pi0gam::decay(), EvtPhokhara_pi0pi0pipi::decay(), EvtPhokhara_pipi::decay(), EvtPhokhara_pipieta::decay(), EvtPhokhara_pipipi0::decay(), EvtPhokhara_ppbar::decay(), EvtPycont::decay(), EvtPyGaGa::decay(), EvtPythia::decay(), EvtRexc::decay(), EvtSll::decay(), EvtSLN::decay(), EvtSSDCP::decay(), EvtSTS::decay(), EvtSTSCP::decay(), EvtSVS::decay(), EvtSVSCPLH::decay(), EvtSVSNONCPEIGEN::decay(), EvtTauola::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(), EvtLunda::ExclusiveDecay(), EvtDecayBase::findMass(), EvtDecayBase::findMasses(), EvtDecayBase::findMaxMass(), generateMassTree(), get4Pos(), EvtParticleDecayList::getDecayModel(), getP4Restframe(), EvtRaritaSchwingerParticle::init(), EvtDiracParticle::init(), EvtPhokhara::init_evt(), EvtPhokhara::init_mode(), initDecay(), initializePhaseSpace(), EvtDecayAmp::makeDecay(), EvtDecayProb::makeDecay(), EvtPsi3Sdecay::PHSPDecay(), printTreeRec(), EvtDiracParticle::rotateToHelicityBasis(), and EvtRaritaSchwingerParticle::rotateToHelicityBasis().
EvtParticle * EvtParticle::nextIter | ( | EvtParticle * | rootOfTree = 0 | ) |
Iterates over the particles in a decay chain.
Definition at line 728 of file EvtParticle.cc.
|
inline |
Definition at line 367 of file EvtParticle.hh.
Referenced by EvtbTosllAmp::CalcMaxProb(), and EvtSemiLeptonicAmp::CalcMaxProb().
void EvtParticle::printParticle | ( | ) | const |
Prints information for the particle.
Definition at line 999 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 896 of file EvtParticle.cc.
Referenced by EvtConExc::decay(), EvtDecayBase::findMass(), and generateMassTree().
void EvtParticle::printTreeRec | ( | int | level | ) | const |
Definition at line 869 of file EvtParticle.cc.
Referenced by printTree(), and printTreeRec().
void EvtParticle::resetFirstOrNot | ( | ) |
Definition at line 76 of file EvtParticle.cc.
Referenced by EvtGen::generateDecay().
|
inline |
Definition at line 274 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(), and setSpinDensityForwardHelicityBasis().
|
pure virtual |
void EvtParticle::setChannel | ( | int | i | ) |
Should only be used internally.
Definition at line 80 of file EvtParticle.cc.
Referenced by EvtParticleDecayList::getDecayModel(), and makeDaughters().
void EvtParticle::setDecayProb | ( | double | p | ) |
Definition at line 1203 of file EvtParticle.cc.
Referenced by EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().
void EvtParticle::setDiagonalSpinDensity | ( | ) |
Set diagonal spindensity matrix.
Definition at line 132 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 73 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 398 of file EvtParticle.hh.
|
inline |
set int flag for ConExc: pingrg-2015-2-7
Definition at line 156 of file EvtParticle.hh.
Referenced by EvtConExc::decay().
void EvtParticle::setLifetime | ( | ) |
Generate lifetime according to pure exponential.
Definition at line 92 of file EvtParticle.cc.
Referenced by EvtHighSpinParticle::init(), EvtRaritaSchwingerParticle::init(), EvtDiracParticle::init(), EvtNeutrinoParticle::init(), EvtTensorParticle::init(), EvtPhotonParticle::init(), EvtScalarParticle::init(), EvtVectorParticle::init(), and initDecay().
void EvtParticle::setLifetime | ( | double | tau | ) |
Set lifetime of the particle in parents restframe.
Definition at line 88 of file EvtParticle.cc.
Referenced by EvtD0mixDalitz::decay(), EvtDMix::decay(), EvtVSSBMixCPT::decay(), EvtVSSMix::decay(), EvtVub::decay(), EvtVubHybrid::decay(), initDecay(), and EvtCPUtil::OtherB().
|
inline |
Definition at line 377 of file EvtParticle.hh.
Referenced by EvtPsi3Sdecay::choseDecay(), EvtConExc::decay(), EvtRexc::decay(), EvtLunda::ExclusiveDecay(), EvtDecayBase::findMass(), EvtConExc::findMaxXS(), EvtConExc::gamHXSection(), initDecay(), and EvtPsi3Sdecay::PHSPDecay().
|
inlineprotected |
Definition at line 404 of file EvtParticle.hh.
|
inlineprotected |
Definition at line 403 of file EvtParticle.hh.
Referenced by EvtHighSpinParticle::init(), EvtRaritaSchwingerParticle::init(), EvtStringParticle::init(), EvtDiracParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtScalarParticle::init(), EvtTensorParticle::init(), and EvtVectorParticle::init().
|
inline |
Sets the 4momentum in the parents restframe.
Definition at line 263 of file EvtParticle.hh.
Referenced by EvtPHOTOS::doRadCorr().
|
inlineprotected |
Definition at line 405 of file EvtParticle.hh.
Referenced by EvtHighSpinParticle::init(), EvtRaritaSchwingerParticle::init(), EvtStringParticle::init(), EvtDiracParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtScalarParticle::init(), EvtTensorParticle::init(), and EvtVectorParticle::init().
void EvtParticle::setPolarizedSpinDensity | ( | double | r00, |
double | r11, | ||
double | r22 | ||
) |
Definition at line 156 of file EvtParticle.cc.
|
inline |
Set backward spin density matrix.
Definition at line 357 of file EvtParticle.hh.
Referenced by EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().
|
inline |
Set forward spin density matrix.
Definition at line 326 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 177 of file EvtParticle.cc.
Referenced by setPolarizedSpinDensity(), and setVectorSpinDensity().
void EvtParticle::setSpinDensityForwardHelicityBasis | ( | const EvtSpinDensity & | rho, |
double | alpha, | ||
double | beta, | ||
double | gamma | ||
) |
Definition at line 205 of file EvtParticle.cc.
void EvtParticle::setVectorSpinDensity | ( | ) |
Set spindensity matrix for e+e- -> V
Definition at line 137 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 621 of file EvtParticle.cc.
Referenced by EvtHypNonLepton::calcAmp(), EvtSemiLeptonicBaryonAmp::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 645 of file EvtParticle.cc.
|
virtual |
Returns Dirac spinor in the parents restframe for a Dirac particle.
Reimplemented in EvtDiracParticle.
Definition at line 608 of file EvtParticle.cc.
Referenced by EvtHypNonLepton::calcAmp(), EvtbTosllScalarAmp::CalcAmp(), EvtbTosllVectorAmp::CalcAmp(), EvtSemiLeptonicBaryonAmp::CalcAmp(), EvtSemiLeptonicTensorAmp::CalcAmp(), EvtSemiLeptonicVectorAmp::CalcAmp(), EvtBsquark::decay(), EvtEDM::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 634 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 989 of file EvtParticle.cc.
std::string EvtParticle::treeStrRec | ( | int | level | ) | const |
Definition at line 907 of file EvtParticle.cc.
Referenced by treeStr(), and treeStrRec().
std::string EvtParticle::writeTreeRec | ( | std::string | resonance | ) | const |
Definition at line 929 of file EvtParticle.cc.
Referenced by writeTreeRec().
|
static |
Definition at line 149 of file EvtParticle.hh.
Referenced by EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), EvtPhokhara_Lambda::decay(), and EvtDecay::execute().
|
static |
Definition at line 150 of file EvtParticle.hh.
Referenced by EvtPhokhara_Lambda::decay().
|
static |
Definition at line 151 of file EvtParticle.hh.
Referenced by EvtFromParent::decay(), EvtFromParent_antiLambda::decay(), EvtFromParent_Lambda::decay(), and EvtPhokhara_Lambda::decay().
|
protected |
Definition at line 412 of file EvtParticle.hh.
Referenced by compMassProb(), EvtParticle(), hasValidP4(), EvtHighSpinParticle::init(), EvtRaritaSchwingerParticle::init(), EvtStringParticle::init(), EvtDiracParticle::init(), EvtNeutrinoParticle::init(), EvtPhotonParticle::init(), EvtScalarParticle::init(), EvtTensorParticle::init(), EvtVectorParticle::init(), and initDecay().