180 double poleSize=-1.,
int whichTwo1=0,
226 partptr->_parent=
this; }
347 double gamma)
const=0;
403 void setp(
double e,
double px,
double py,
double pz) { _p.
set(e,px,py,pz); }
407 assert(_channel==-10||
410 _id = particle_number;
432 void makeStdHepRec(
int firstparent,
int lastparent,
EvtStdHep& stdhep,
434 void makeStdHepRec(
int firstparent,
int lastparent,
EvtStdHep& stdhep);
450 std::vector<int> _intFlag;
std::string IntToStr(int a)
virtual EvtVector4C epsPhoton(int i)
void setSpinDensityBackward(const EvtSpinDensity &rho)
void setSpinDensityForwardHelicityBasis(const EvtSpinDensity &rho)
void setSpinDensityForward(const EvtSpinDensity &rho)
void setDecayProb(double p)
void makeDaughters(int ndaug, EvtId *id)
virtual EvtVector4C epsParent(int i) const
void initDecay(bool useMinMass=false)
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
void insertDaugPtr(int idaug, EvtParticle *partptr)
virtual EvtTensor4C epsTensorParent(int i) const
virtual EvtVector4C epsParentPhoton(int i)
void printTreeRec(int level) const
EvtParticle * getParent()
virtual EvtDiracSpinor spParentNeutrino() const
static EvtId _NextLevelId[20]
void setGeneratorFlag(int flag)
virtual EvtDiracSpinor spParent(int) const
void setVectorSpinDensity()
void printParticle() const
virtual EvtDiracSpinor spNeutrino() const
static int _NextLevelDauNum
virtual EvtSpinDensity rotateToHelicityBasis(double alpha, double beta, double gamma) const =0
int getSpinStates() const
EvtVector4R getP4Restframe()
void setPolarizedSpinDensity(double r00, double r11, double r22)
void setIntFlag(std::vector< int > vi)
void setDiagonalSpinDensity()
EvtSpinType::spintype getSpinType() const
const EvtVector4R & getP4() const
void setp(double e, double px, double py, double pz)
virtual EvtSpinDensity rotateToHelicityBasis() const =0
void setP4(const EvtVector4R &p4)
EvtParticle * getDaug(int i)
void dumpTreeRec(int level, int dj) const
std::vector< int > getIntFlag()
void deleteDaughters(bool keepChannel=false)
static EvtVector4R _NextLevelP4[20]
virtual EvtDiracSpinor sp(int) const
void setp(const EvtVector4R &p4)
void makeStdHep(EvtStdHep &stdhep, EvtSecondary &secondary, EvtId *stable_parent_ihep)
EvtSpinDensity getSpinDensityBackward()
void setInclusiveMode(int im)
virtual EvtVector4C eps(int i) const
void addDaug(EvtParticle *node)
std::string treeStr() const
std::string treeStrRec(int level) const
void setpart_num(EvtId particle_number)
virtual EvtTensor4C epsTensor(int i) const
std::string writeTreeRec(std::string) const
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
EvtSpinDensity getSpinDensityForward()
EvtParticle * nextIter(EvtParticle *rootOfTree=0)
void set(int i, double d)
double double double * p4