EvtPartProp Class Reference

#include <EvtPartProp.hh>

List of all members.

Public Member Functions

 EvtPartProp ()
 EvtPartProp (const EvtPartProp &x)
 ~EvtPartProp ()
double getMass ()
double getMassMin ()
double getMassMax ()
double getMaxRange ()
double getWidth ()
double getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDauId, double maxMass, double *dauMasses)
double getMassProb (double mass, double massPar, int nDaug, double *massDau)
double getctau ()
void setctau (double tau)
int getChg3 ()
void setChg3 (int c3)
EvtSpinType::spintype getSpinType ()
void setSpinType (EvtSpinType::spintype stype)
const std::stringgetName ()
void setName (std::string pname)
EvtId getId ()
void setId (EvtId id)
EvtId getIdChgConj ()
void setIdChgConj (EvtId idchgconj)
int getStdHep ()
void setStdHep (int stdhep)
int getLundKC ()
void setLundKC (int lundkc)
EvtAbsLineShapegetLineShape ()
void initLineShape (double mass, double width, double maxRange)
void setLineShape (EvtAbsLineShape *l)
double rollMass ()
EvtPartPropoperator= (const EvtPartProp &x)
void reSetMass (double mass)
void reSetWidth (double width)
void reSetMassMin (double mass)
void reSetMassMax (double mass)
void reSetBlatt (double blatt)
void includeBirthFactor (bool yesno)
void includeDecayFactor (bool yesno)
void addFactorPn (double factor)
void newLineShape (std::string type)
void setPWForDecay (int spin, EvtId d1, EvtId d2)
void setPWForBirthL (int spin, EvtId par, EvtId othD)
void fixLSForSP8 ()

Private Attributes

EvtAbsLineShape_lineShape
double _ctau
EvtId _id
EvtId _idchgconj
EvtSpinType::spintype _spintype
int _chg3
int _stdhep
int _lundkc
std::string _name


Detailed Description

Definition at line 31 of file EvtPartProp.hh.


Constructor & Destructor Documentation

EvtPartProp::EvtPartProp (  ) 

Definition at line 34 of file EvtPartProp.cc.

References _ctau, _lineShape, _name, _spintype, and EvtSpinType::SCALAR.

00034                         :
00035   _id(-1,-1)
00036   ,_idchgconj(-1,-1)
00037   ,_chg3(0)
00038   ,_stdhep(0)
00039   ,_lundkc(0)
00040 {
00041   _lineShape=0;
00042   _ctau=0.0;
00043   _name="*******";
00044   _spintype=EvtSpinType::SCALAR;
00045 }

EvtPartProp::EvtPartProp ( const EvtPartProp x  ) 

Definition at line 47 of file EvtPartProp.cc.

References _chg3, _ctau, _id, _idchgconj, _lineShape, _lundkc, _name, _spintype, _stdhep, and x.

00047                                             {
00048 
00049   if (0!=x._lineShape){
00050     _lineShape=x._lineShape->clone();
00051   }
00052   else{
00053     _lineShape=0;
00054   }
00055   _ctau=x._ctau;
00056   _name=x._name;
00057   _spintype=x._spintype;
00058   _id=x._id;
00059   _idchgconj=x._idchgconj;
00060   _chg3=x._chg3;
00061   _stdhep=x._stdhep;
00062   _lundkc=x._lundkc;
00063 
00064 }

EvtPartProp::~EvtPartProp (  ) 

Definition at line 66 of file EvtPartProp.cc.

References _lineShape.

00066                           {
00067   if ( _lineShape ) delete _lineShape;
00068   _lineShape=0;
00069 }


Member Function Documentation

void EvtPartProp::addFactorPn ( double  factor  ) 

Definition at line 164 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::addFactorPn().

00164                                             {
00165   if (!_lineShape) ::abort();
00166   _lineShape->addFactorPn(factor);
00167 
00168 }

void EvtPartProp::fixLSForSP8 (  )  [inline]

Definition at line 95 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::fixForSP8().

00095 {_lineShape->fixForSP8();}

int EvtPartProp::getChg3 (  )  [inline]

Definition at line 52 of file EvtPartProp.hh.

References _chg3.

00052 {return _chg3; } 

double EvtPartProp::getctau (  )  [inline]

Definition at line 49 of file EvtPartProp.hh.

References _ctau.

00049 {return _ctau; } 

EvtId EvtPartProp::getId ( void   )  [inline]

Definition at line 61 of file EvtPartProp.hh.

References _id.

00061 {return _id;}

EvtId EvtPartProp::getIdChgConj (  )  [inline]

Definition at line 64 of file EvtPartProp.hh.

References _idchgconj.

00064 {return _idchgconj;}

EvtAbsLineShape* EvtPartProp::getLineShape (  )  [inline]

Definition at line 73 of file EvtPartProp.hh.

References _lineShape.

00073 {return _lineShape;}

int EvtPartProp::getLundKC (  )  [inline]

Definition at line 70 of file EvtPartProp.hh.

References _lundkc.

00070 {return _lundkc;}

double EvtPartProp::getMass (  )  [inline]

Definition at line 40 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getMass().

00040 {return _lineShape->getMass();} 

double EvtPartProp::getMassMax (  )  [inline]

Definition at line 42 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getMassMax().

00042 {return _lineShape->getMassMax();} 

double EvtPartProp::getMassMin (  )  [inline]

Definition at line 41 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getMassMin().

00041 {return _lineShape->getMassMin();} 

double EvtPartProp::getMassProb ( double  mass,
double  massPar,
int  nDaug,
double *  massDau 
) [inline]

Definition at line 47 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getMassProb().

00047 { return _lineShape->getMassProb(mass,massPar,nDaug,massDau);}

double EvtPartProp::getMaxRange (  )  [inline]

Definition at line 43 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getMaxRange().

00043 {return _lineShape->getMaxRange();} 

const std::string& EvtPartProp::getName (  )  [inline]

Definition at line 58 of file EvtPartProp.hh.

References _name.

00058 {return _name;}

double EvtPartProp::getRandMass ( EvtId parId,
int  nDaug,
EvtId dauId,
EvtId othDauId,
double  maxMass,
double *  dauMasses 
) [inline]

Definition at line 46 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getRandMass().

00046 {return _lineShape->getRandMass(parId,nDaug,dauId,othDauId,maxMass,dauMasses);}

EvtSpinType::spintype EvtPartProp::getSpinType (  )  [inline]

Definition at line 55 of file EvtPartProp.hh.

References _spintype.

00055 {return _spintype; }

int EvtPartProp::getStdHep (  )  [inline]

Definition at line 67 of file EvtPartProp.hh.

References _stdhep.

00067 {return _stdhep;}

double EvtPartProp::getWidth (  )  [inline]

Definition at line 44 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::getWidth().

00044 {return _lineShape->getWidth();} 

void EvtPartProp::includeBirthFactor ( bool  yesno  ) 

Definition at line 155 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::includeBirthFactor().

00155                                               {
00156   if (!_lineShape) ::abort();
00157   _lineShape->includeBirthFactor(yesno);
00158 }

void EvtPartProp::includeDecayFactor ( bool  yesno  ) 

Definition at line 159 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::includeDecayFactor().

00159                                               {
00160   if (!_lineShape) ::abort();
00161   _lineShape->includeDecayFactor(yesno);
00162 }

void EvtPartProp::initLineShape ( double  mass,
double  width,
double  maxRange 
)

Definition at line 90 of file EvtPartProp.cc.

References _lineShape, and _spintype.

Referenced by EvtPDL::readPDT().

00090                                                                          {
00091 
00092   //  _lineShape=new EvtAbsLineShape(mass,width,maxRange);
00093   _lineShape=new EvtRelBreitWignerBarrierFact(mass,width,maxRange,_spintype);
00094 }

void EvtPartProp::newLineShape ( std::string  type  ) 

Definition at line 96 of file EvtPartProp.cc.

References _lineShape, EvtAbsLineShape::getMass(), EvtAbsLineShape::getMaxRange(), EvtAbsLineShape::getSpinType(), EvtAbsLineShape::getWidth(), and w.

00096                                             {
00097 
00098   double m=_lineShape->getMass();
00099   double w=_lineShape->getWidth();
00100   double mR=_lineShape->getMaxRange();
00101   EvtSpinType::spintype  st=_lineShape->getSpinType();
00102   delete _lineShape;
00103   if ( type == "RELBW" ) {
00104     _lineShape=new EvtRelBreitWignerBarrierFact(m,w,mR,st);
00105   }
00106   if ( type == "NONRELBW" ) {
00107     _lineShape = new EvtAbsLineShape(m,w,mR,st);
00108   }
00109   if ( type == "FLAT" ) {
00110     _lineShape = new EvtFlatLineShape(m,w,mR,st);
00111   }
00112   if ( type == "MANYDELTAFUNC" ) {
00113     _lineShape = new EvtManyDeltaFuncLineShape(m,w,mR,st);
00114   }
00115 }

EvtPartProp & EvtPartProp::operator= ( const EvtPartProp x  ) 

Definition at line 79 of file EvtPartProp.cc.

References _chg3, _ctau, _lineShape, _name, _spintype, and x.

00079                                                        {
00080 
00081   _lineShape=x._lineShape->clone();
00082 
00083   _ctau=x._ctau;
00084   _name=x._name;
00085   _chg3=x._chg3;
00086   _spintype=x._spintype;
00087   return *this;
00088 }

void EvtPartProp::reSetBlatt ( double  blatt  ) 

Definition at line 151 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::reSetBlatt().

00151                                         {
00152   if (!_lineShape) ::abort();
00153   _lineShape->reSetBlatt(blatt);
00154 }

void EvtPartProp::reSetMass ( double  mass  ) 

Definition at line 123 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::reSetMass().

00123                                        {
00124   if (!_lineShape) ::abort();
00125   _lineShape->reSetMass(mass);
00126 }

void EvtPartProp::reSetMassMax ( double  mass  ) 

Definition at line 147 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::reSetMassMax().

00147                                          {
00148   if (!_lineShape) ::abort();
00149   _lineShape->reSetMassMax(mass);
00150 }

void EvtPartProp::reSetMassMin ( double  mass  ) 

Definition at line 143 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::reSetMassMin().

00143                                          {
00144   if (!_lineShape) ::abort();
00145   _lineShape->reSetMassMin(mass);
00146 }

void EvtPartProp::reSetWidth ( double  width  ) 

Definition at line 127 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::reSetWidth().

00127                                         {
00128   if (!_lineShape) ::abort();
00129   _lineShape->reSetWidth(width);
00130 }

double EvtPartProp::rollMass (  )  [inline]

Definition at line 79 of file EvtPartProp.hh.

References _lineShape, and EvtAbsLineShape::rollMass().

00079 {return _lineShape->rollMass();}

void EvtPartProp::setChg3 ( int  c3  )  [inline]

Definition at line 53 of file EvtPartProp.hh.

References _chg3.

Referenced by EvtPDL::readPDT().

00053 { _chg3=c3; }

void EvtPartProp::setctau ( double  tau  )  [inline]

Definition at line 50 of file EvtPartProp.hh.

References _ctau.

Referenced by EvtPDL::readPDT().

00050 { _ctau=tau; }

void EvtPartProp::setId ( EvtId  id  )  [inline]

Definition at line 62 of file EvtPartProp.hh.

References _id.

Referenced by EvtPDL::readPDT().

00062 {_id=id;}

void EvtPartProp::setIdChgConj ( EvtId  idchgconj  )  [inline]

Definition at line 65 of file EvtPartProp.hh.

References _idchgconj.

Referenced by EvtPDL::readPDT().

00065 {_idchgconj=idchgconj;}

void EvtPartProp::setLineShape ( EvtAbsLineShape l  )  [inline]

Definition at line 78 of file EvtPartProp.hh.

References _lineShape.

00078 { _lineShape=l;}

void EvtPartProp::setLundKC ( int  lundkc  )  [inline]

Definition at line 71 of file EvtPartProp.hh.

References _lundkc.

Referenced by EvtPDL::readPDT().

00071 {_lundkc=lundkc;}

void EvtPartProp::setName ( std::string  pname  ) 

Definition at line 72 of file EvtPartProp.cc.

References _name.

Referenced by EvtPDL::readPDT().

00072                                          {
00073 
00074   _name=pname;
00075 
00076 }

void EvtPartProp::setPWForBirthL ( int  spin,
EvtId  par,
EvtId  othD 
)

Definition at line 137 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::setPWForBirthL().

00137                                                                  { 
00138   if (!_lineShape) ::abort();
00139   _lineShape->setPWForBirthL(spin,par,othD);
00140 }

void EvtPartProp::setPWForDecay ( int  spin,
EvtId  d1,
EvtId  d2 
)

Definition at line 132 of file EvtPartProp.cc.

References _lineShape, and EvtAbsLineShape::setPWForDecay().

00132                                                              { 
00133   if (!_lineShape) ::abort();
00134   _lineShape->setPWForDecay(spin,d1,d2);
00135 }

void EvtPartProp::setSpinType ( EvtSpinType::spintype  stype  )  [inline]

Definition at line 56 of file EvtPartProp.hh.

References _spintype.

Referenced by EvtPDL::readPDT().

00056 { _spintype=stype; }

void EvtPartProp::setStdHep ( int  stdhep  )  [inline]

Definition at line 68 of file EvtPartProp.hh.

References _stdhep.

Referenced by EvtPDL::readPDT().

00068 {_stdhep=stdhep;}


Member Data Documentation

int EvtPartProp::_chg3 [private]

Definition at line 105 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getChg3(), operator=(), and setChg3().

double EvtPartProp::_ctau [private]

Definition at line 101 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getctau(), operator=(), and setctau().

EvtId EvtPartProp::_id [private]

Definition at line 102 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getId(), and setId().

EvtId EvtPartProp::_idchgconj [private]

Definition at line 103 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getIdChgConj(), and setIdChgConj().

EvtAbsLineShape* EvtPartProp::_lineShape [private]

Definition at line 99 of file EvtPartProp.hh.

Referenced by addFactorPn(), EvtPartProp(), fixLSForSP8(), getLineShape(), getMass(), getMassMax(), getMassMin(), getMassProb(), getMaxRange(), getRandMass(), getWidth(), includeBirthFactor(), includeDecayFactor(), initLineShape(), newLineShape(), operator=(), reSetBlatt(), reSetMass(), reSetMassMax(), reSetMassMin(), reSetWidth(), rollMass(), setLineShape(), setPWForBirthL(), setPWForDecay(), and ~EvtPartProp().

int EvtPartProp::_lundkc [private]

Definition at line 107 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getLundKC(), and setLundKC().

std::string EvtPartProp::_name [private]

Definition at line 108 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getName(), operator=(), and setName().

EvtSpinType::spintype EvtPartProp::_spintype [private]

Definition at line 104 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getSpinType(), initLineShape(), operator=(), and setSpinType().

int EvtPartProp::_stdhep [private]

Definition at line 106 of file EvtPartProp.hh.

Referenced by EvtPartProp(), getStdHep(), and setStdHep().


Generated on Tue Nov 29 23:19:09 2016 for BOSS_7.0.2 by  doxygen 1.4.7