EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtFlatLineShape Class Reference

#include <EvtGenBase/EvtFlatLineShape.hh>

Inheritance diagram for EvtFlatLineShape:
EvtAbsLineShape

Public Member Functions

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

Additional Inherited Members

Protected Attributes inherited from EvtAbsLineShape
bool m_includeDecayFact
bool m_includeBirthFact
double m_mass
double m_massMin
double m_massMax
double m_width
double m_maxRange
std::vector< EvtIdm_userSetPWD1
std::vector< EvtIdm_userSetPWD2
std::vector< int > m_userSetPW
std::vector< EvtIdm_userSetBirthPar
std::vector< EvtIdm_userSetBirthOthD
std::vector< int > m_userSetBirthPW
EvtSpinType::spintype m_spin

Detailed Description

Definition at line 26 of file EvtFlatLineShape.hh.

Constructor & Destructor Documentation

◆ EvtFlatLineShape() [1/3]

EvtFlatLineShape::EvtFlatLineShape ( )
default

◆ EvtFlatLineShape() [2/3]

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

Definition at line 31 of file EvtFlatLineShape.cpp.

◆ EvtFlatLineShape() [3/3]

EvtFlatLineShape::EvtFlatLineShape ( const EvtFlatLineShape & x)

Definition at line 48 of file EvtFlatLineShape.cpp.

Member Function Documentation

◆ clone()

EvtAbsLineShape * EvtFlatLineShape::clone ( )
overridevirtual

Reimplemented from EvtAbsLineShape.

Definition at line 70 of file EvtFlatLineShape.cpp.

◆ getMassProb()

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

Reimplemented from EvtAbsLineShape.

Definition at line 75 of file EvtFlatLineShape.cpp.

◆ getRandMass()

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

Reimplemented from EvtAbsLineShape.

Definition at line 95 of file EvtFlatLineShape.cpp.

◆ operator=()

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

Definition at line 59 of file EvtFlatLineShape.cpp.


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