evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtPartProp.hh>

Public Member Functions

 EvtPartProp ()
 
 EvtPartProp (const EvtPartProp &x)
 
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::string & getName ()
 
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 reSetBlattBirth (double blatt)
 
void includeBirthFactor (bool yesno)
 
void includeDecayFactor (bool yesno)
 
void newLineShape (std::string type)
 
void setPWForDecay (int spin, EvtId d1, EvtId d2)
 
void setPWForBirthL (int spin, EvtId par, EvtId othD)
 

Private Attributes

std::unique_ptr< 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() [1/2]

EvtPartProp::EvtPartProp ( )

Definition at line 36 of file EvtPartProp.cpp.

◆ EvtPartProp() [2/2]

EvtPartProp::EvtPartProp ( const EvtPartProp x)

Definition at line 44 of file EvtPartProp.cpp.

Member Function Documentation

◆ getChg3()

int EvtPartProp::getChg3 ( )
inline

Definition at line 56 of file EvtPartProp.hh.

◆ getctau()

double EvtPartProp::getctau ( )
inline

Definition at line 53 of file EvtPartProp.hh.

◆ getId()

EvtId EvtPartProp::getId ( )
inline

Definition at line 65 of file EvtPartProp.hh.

◆ getIdChgConj()

EvtId EvtPartProp::getIdChgConj ( )
inline

Definition at line 68 of file EvtPartProp.hh.

◆ getLineShape()

EvtAbsLineShape* EvtPartProp::getLineShape ( )
inline

Definition at line 77 of file EvtPartProp.hh.

◆ getLundKC()

int EvtPartProp::getLundKC ( )
inline

Definition at line 74 of file EvtPartProp.hh.

◆ getMass()

double EvtPartProp::getMass ( )
inline

Definition at line 36 of file EvtPartProp.hh.

◆ getMassMax()

double EvtPartProp::getMassMax ( )
inline

Definition at line 38 of file EvtPartProp.hh.

◆ getMassMin()

double EvtPartProp::getMassMin ( )
inline

Definition at line 37 of file EvtPartProp.hh.

◆ getMassProb()

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

Definition at line 48 of file EvtPartProp.hh.

◆ getMaxRange()

double EvtPartProp::getMaxRange ( )
inline

Definition at line 39 of file EvtPartProp.hh.

◆ getName()

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

Definition at line 62 of file EvtPartProp.hh.

◆ getRandMass()

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

Definition at line 42 of file EvtPartProp.hh.

◆ getSpinType()

EvtSpinType::spintype EvtPartProp::getSpinType ( )
inline

Definition at line 59 of file EvtPartProp.hh.

◆ getStdHep()

int EvtPartProp::getStdHep ( )
inline

Definition at line 71 of file EvtPartProp.hh.

◆ getWidth()

double EvtPartProp::getWidth ( )
inline

Definition at line 40 of file EvtPartProp.hh.

◆ includeBirthFactor()

void EvtPartProp::includeBirthFactor ( bool  yesno)

Definition at line 151 of file EvtPartProp.cpp.

◆ includeDecayFactor()

void EvtPartProp::includeDecayFactor ( bool  yesno)

Definition at line 157 of file EvtPartProp.cpp.

◆ initLineShape()

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

Definition at line 73 of file EvtPartProp.cpp.

◆ newLineShape()

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

Definition at line 80 of file EvtPartProp.cpp.

◆ operator=()

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

Definition at line 62 of file EvtPartProp.cpp.

◆ reSetBlatt()

void EvtPartProp::reSetBlatt ( double  blatt)

Definition at line 139 of file EvtPartProp.cpp.

◆ reSetBlattBirth()

void EvtPartProp::reSetBlattBirth ( double  blatt)

Definition at line 145 of file EvtPartProp.cpp.

◆ reSetMass()

void EvtPartProp::reSetMass ( double  mass)

Definition at line 100 of file EvtPartProp.cpp.

◆ reSetMassMax()

void EvtPartProp::reSetMassMax ( double  mass)

Definition at line 133 of file EvtPartProp.cpp.

◆ reSetMassMin()

void EvtPartProp::reSetMassMin ( double  mass)

Definition at line 127 of file EvtPartProp.cpp.

◆ reSetWidth()

void EvtPartProp::reSetWidth ( double  width)

Definition at line 106 of file EvtPartProp.cpp.

◆ rollMass()

double EvtPartProp::rollMass ( )
inline

Definition at line 83 of file EvtPartProp.hh.

◆ setChg3()

void EvtPartProp::setChg3 ( int  c3)
inline

Definition at line 57 of file EvtPartProp.hh.

◆ setctau()

void EvtPartProp::setctau ( double  tau)
inline

Definition at line 54 of file EvtPartProp.hh.

◆ setId()

void EvtPartProp::setId ( EvtId  id)
inline

Definition at line 66 of file EvtPartProp.hh.

◆ setIdChgConj()

void EvtPartProp::setIdChgConj ( EvtId  idchgconj)
inline

Definition at line 69 of file EvtPartProp.hh.

◆ setLineShape()

void EvtPartProp::setLineShape ( EvtAbsLineShape l)
inline

Definition at line 82 of file EvtPartProp.hh.

◆ setLundKC()

void EvtPartProp::setLundKC ( int  lundkc)
inline

Definition at line 75 of file EvtPartProp.hh.

◆ setName()

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

Definition at line 57 of file EvtPartProp.cpp.

◆ setPWForBirthL()

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

Definition at line 120 of file EvtPartProp.cpp.

◆ setPWForDecay()

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

Definition at line 113 of file EvtPartProp.cpp.

◆ setSpinType()

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

Definition at line 60 of file EvtPartProp.hh.

◆ setStdHep()

void EvtPartProp::setStdHep ( int  stdhep)
inline

Definition at line 72 of file EvtPartProp.hh.

Member Data Documentation

◆ _chg3

int EvtPartProp::_chg3
private

Definition at line 107 of file EvtPartProp.hh.

◆ _ctau

double EvtPartProp::_ctau
private

Definition at line 103 of file EvtPartProp.hh.

◆ _id

EvtId EvtPartProp::_id
private

Definition at line 104 of file EvtPartProp.hh.

◆ _idchgconj

EvtId EvtPartProp::_idchgconj
private

Definition at line 105 of file EvtPartProp.hh.

◆ _lineShape

std::unique_ptr<EvtAbsLineShape> EvtPartProp::_lineShape
private

Definition at line 101 of file EvtPartProp.hh.

◆ _lundkc

int EvtPartProp::_lundkc
private

Definition at line 109 of file EvtPartProp.hh.

◆ _name

std::string EvtPartProp::_name
private

Definition at line 110 of file EvtPartProp.hh.

◆ _spintype

EvtSpinType::spintype EvtPartProp::_spintype
private

Definition at line 106 of file EvtPartProp.hh.

◆ _stdhep

int EvtPartProp::_stdhep
private

Definition at line 108 of file EvtPartProp.hh.


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