BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtFlatLineShape Class Reference

#include <EvtFlatLineShape.hh>

+ Inheritance diagram for EvtFlatLineShape:

Public Member Functions

 EvtFlatLineShape ()
 
 EvtFlatLineShape (double mass, double width, double maxRange, EvtSpinType::spintype sp)
 
 ~EvtFlatLineShape ()
 
EvtFlatLineShapeoperator= (const EvtFlatLineShape &x)
 
 EvtFlatLineShape (const EvtFlatLineShape &x)
 
EvtAbsLineShapeclone ()
 
double getMassProb (double mass, double massPar, int nDaug, double *massDau)
 
double getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
 
 EvtFlatLineShape ()
 
 EvtFlatLineShape (double mass, double width, double maxRange, EvtSpinType::spintype sp)
 
 ~EvtFlatLineShape ()
 
EvtFlatLineShapeoperator= (const EvtFlatLineShape &x)
 
 EvtFlatLineShape (const EvtFlatLineShape &x)
 
EvtAbsLineShapeclone ()
 
double getMassProb (double mass, double massPar, int nDaug, double *massDau)
 
double getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
 
- Public Member Functions inherited from EvtAbsLineShape
 EvtAbsLineShape ()
 
 EvtAbsLineShape (double mass, double width, double maxRange, EvtSpinType::spintype sp)
 
virtual ~EvtAbsLineShape ()
 
EvtAbsLineShapeoperator= (const EvtAbsLineShape &x)
 
 EvtAbsLineShape (const EvtAbsLineShape &x)
 
double getMass ()
 
double getMassMin ()
 
double getMassMax ()
 
double getMaxRange ()
 
double getWidth ()
 
EvtSpinType::spintype getSpinType ()
 
virtual double rollMass ()
 
virtual EvtAbsLineShapeclone ()
 
void reSetMass (double mass)
 
void reSetWidth (double width)
 
void reSetMassMin (double mass)
 
void reSetMassMax (double mass)
 
virtual void reSetBlatt (double blatt)
 
void includeBirthFactor (bool yesno)
 
void addFactorPn (double factor=0.)
 
void includeDecayFactor (bool yesno)
 
void setPWForDecay (int spin, EvtId d1, EvtId d2)
 
void setPWForBirthL (int spin, EvtId par, EvtId othD)
 
virtual double getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
 
virtual double getMassProb (double mass, double massPar, int nDaug, double *massDau)
 
void fixForSP8 ()
 
 EvtAbsLineShape ()
 
 EvtAbsLineShape (double mass, double width, double maxRange, EvtSpinType::spintype sp)
 
virtual ~EvtAbsLineShape ()
 
EvtAbsLineShapeoperator= (const EvtAbsLineShape &x)
 
 EvtAbsLineShape (const EvtAbsLineShape &x)
 
double getMass ()
 
double getMassMin ()
 
double getMassMax ()
 
double getMaxRange ()
 
double getWidth ()
 
EvtSpinType::spintype getSpinType ()
 
virtual double rollMass ()
 
virtual EvtAbsLineShapeclone ()
 
void reSetMass (double mass)
 
void reSetWidth (double width)
 
void reSetMassMin (double mass)
 
void reSetMassMax (double mass)
 
virtual void reSetBlatt (double blatt)
 
void includeBirthFactor (bool yesno)
 
void addFactorPn (double factor=0.)
 
void includeDecayFactor (bool yesno)
 
void setPWForDecay (int spin, EvtId d1, EvtId d2)
 
void setPWForBirthL (int spin, EvtId par, EvtId othD)
 
virtual double getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
 
virtual double getMassProb (double mass, double massPar, int nDaug, double *massDau)
 
void fixForSP8 ()
 

Additional Inherited Members

- Protected Attributes inherited from EvtAbsLineShape
bool _includeDecayFact
 
bool _includeBirthFact
 
double _addFactorPn
 
double _mass
 
double _massMin
 
double _massMax
 
double _width
 
double _maxRange
 
std::vector< EvtId_userSetPWD1
 
std::vector< EvtId_userSetPWD2
 
std::vector< int > _userSetPW
 
std::vector< EvtId_userSetBirthPar
 
std::vector< EvtId_userSetBirthOthD
 
std::vector< int > _userSetBirthPW
 
EvtSpinType::spintype _spin
 
bool _applyFixForSP8
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtFlatLineShape() [1/6]

EvtFlatLineShape::EvtFlatLineShape ( )

Definition at line 33 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtFlatLineShape.cc.

33 {
34
35}

Referenced by clone().

◆ EvtFlatLineShape() [2/6]

◆ ~EvtFlatLineShape() [1/2]

EvtFlatLineShape::~EvtFlatLineShape ( )

◆ EvtFlatLineShape() [3/6]

EvtFlatLineShape::EvtFlatLineShape ( const EvtFlatLineShape x)

Definition at line 56 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtFlatLineShape.cc.

56 {
57 _mass=x._mass;
58 _width=x._width;
59 _spin=x._spin;
60 _massMax=x._massMax;
61 _massMin=x._massMin;
62 _maxRange=x._maxRange;
63
64}
Double_t x[10]

◆ EvtFlatLineShape() [4/6]

EvtFlatLineShape::EvtFlatLineShape ( )

◆ EvtFlatLineShape() [5/6]

EvtFlatLineShape::EvtFlatLineShape ( double  mass,
double  width,
double  maxRange,
EvtSpinType::spintype  sp 
)

◆ ~EvtFlatLineShape() [2/2]

EvtFlatLineShape::~EvtFlatLineShape ( )

◆ EvtFlatLineShape() [6/6]

EvtFlatLineShape::EvtFlatLineShape ( const EvtFlatLineShape x)

Member Function Documentation

◆ clone() [1/2]

EvtAbsLineShape * EvtFlatLineShape::clone ( )
virtual

◆ clone() [2/2]

EvtAbsLineShape * EvtFlatLineShape::clone ( )
virtual

Reimplemented from EvtAbsLineShape.

◆ getMassProb() [1/2]

double EvtFlatLineShape::getMassProb ( double  mass,
double  massPar,
int  nDaug,
double *  massDau 
)
virtual

Reimplemented from EvtAbsLineShape.

Definition at line 83 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtFlatLineShape.cc.

83 {
84
85
86 double dTotMass=0.;
87
88 int i;
89 for (i=0; i<nDaug; i++) {
90 dTotMass+=massDau[i];
91 }
92 if ( (mass<dTotMass) ) return 0.;
93
94 if ( massPar>0.0000000001 ) {
95 if ( mass > massPar) return 0.;
96 }
97
98 return 1.;
99}

◆ getMassProb() [2/2]

double EvtFlatLineShape::getMassProb ( double  mass,
double  massPar,
int  nDaug,
double *  massDau 
)
virtual

Reimplemented from EvtAbsLineShape.

◆ getRandMass() [1/2]

double EvtFlatLineShape::getRandMass ( EvtId parId,
int  nDaug,
EvtId dauId,
EvtId othDaugId,
double  maxMass,
double *  dauMasses 
)
virtual

◆ getRandMass() [2/2]

double EvtFlatLineShape::getRandMass ( EvtId parId,
int  nDaug,
EvtId dauId,
EvtId othDaugId,
double  maxMass,
double *  dauMasses 
)
virtual

Reimplemented from EvtAbsLineShape.

◆ operator=() [1/2]

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

Definition at line 66 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtFlatLineShape.cc.

66 {
67 _mass=x._mass;
68 _massMax=x._massMax;
69 _massMin=x._massMin;
70 _width=x._width;
71 _maxRange=x._maxRange;
72 _spin=x._spin;
73 return *this;
74
75}

◆ operator=() [2/2]

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

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