BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtEtap2pipieta Class Reference

#include <EvtEtap2pipieta.hh>

+ Inheritance diagram for EvtEtap2pipieta:

Public Member Functions

 EvtEtap2pipieta ()
 
virtual ~EvtEtap2pipieta ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void initProbMax ()
 
void decay (EvtParticle *p)
 
- Public Member Functions inherited from EvtDecayProb
void makeDecay (EvtParticle *p)
 
void setProb (double prob)
 
double getProb ()
 
void setWeight (double weight)
 
virtual ~EvtDecayProb ()
 
- Public Member Functions inherited from EvtDecayBase
virtual std::string commandName ()
 
virtual void command (std::string cmd)
 
double getProbMax (double prob)
 
double resetProbMax (double prob)
 
 EvtDecayBase ()
 
virtual ~EvtDecayBase ()
 
virtual bool matchingDecay (const EvtDecayBase &other) const
 
EvtId getParentId ()
 
double getBranchingFraction ()
 
void disableCheckQ ()
 
void checkQ ()
 
int getNDaug ()
 
EvtIdgetDaugs ()
 
EvtId getDaug (int i)
 
int getNArg ()
 
int getPHOTOS ()
 
void setPHOTOS ()
 
void setVerbose ()
 
void setSummary ()
 
double * getArgs ()
 
std::string * getArgsStr ()
 
double getArg (int j)
 
std::string getArgStr (int j)
 
std::string getModelName ()
 
int getDSum ()
 
int summary ()
 
int verbose ()
 
void saveDecayInfo (EvtId ipar, int ndaug, EvtId *daug, int narg, std::vector< std::string > &args, std::string name, double brfr)
 
void printSummary ()
 
void setProbMax (double prbmx)
 
void noProbMax ()
 
void checkNArg (int a1, int a2=-1, int a3=-1, int a4=-1)
 
void checkNDaug (int d1, int d2=-1)
 
void checkSpinParent (EvtSpinType::spintype sp)
 
void checkSpinDaughter (int d1, EvtSpinType::spintype sp)
 
virtual int nRealDaughters ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EvtDecayBase
static void findMasses (EvtParticle *p, int ndaugs, EvtId daugs[10], double masses[10])
 
static void findMass (EvtParticle *p)
 
static double findMaxMass (EvtParticle *p)
 
- Protected Member Functions inherited from EvtDecayBase
bool daugsDecayedByParentModel ()
 
- Protected Attributes inherited from EvtDecayBase
bool _daugsDecayedByParentModel
 

Detailed Description

Definition at line 8 of file EvtEtap2pipieta.hh.

Constructor & Destructor Documentation

◆ EvtEtap2pipieta()

EvtEtap2pipieta::EvtEtap2pipieta ( )
inline

Definition at line 12 of file EvtEtap2pipieta.hh.

12{}

Referenced by clone().

◆ ~EvtEtap2pipieta()

EvtEtap2pipieta::~EvtEtap2pipieta ( )
virtual

Definition at line 31 of file EvtEtap2pipieta.cc.

31{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtEtap2pipieta::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 37 of file EvtEtap2pipieta.cc.

37 {
38 return new EvtEtap2pipieta;
39}

◆ decay()

void EvtEtap2pipieta::decay ( EvtParticle * p)
virtual

Implements EvtDecayBase.

Definition at line 57 of file EvtEtap2pipieta.cc.

57 {
58/*
59 double maxprob = 0.0;
60 for(int ir=0;ir<=60000000;ir++){
61 p->initializePhaseSpace(getNDaug(),getDaugs());
62 _pd[0]=p->getDaug(0)->getP4();
63 _pd[1]=p->getDaug(1)->getP4();
64 _pd[2]=p->getDaug(2)->getP4();
65 double Prob = AMPsq();
66 if(Prob>maxprob) {
67 maxprob=Prob;
68 std::cout << "Max PDF = " << ir << " prob= " << Prob << std::endl;
69 }
70 }
71 std::cout << "Max!!!!!!!!!!! " << maxprob<< std::endl;
72*/
74 _pd[0]=p->getDaug(0)->getP4();
75 _pd[1]=p->getDaug(1)->getP4();
76 _pd[2]=p->getDaug(2)->getP4();
77 double prob = AMPsq();
78 setProb(prob);
79 return;
80}
EvtId * getDaugs()
void setProb(double prob)
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)

◆ getName()

void EvtEtap2pipieta::getName ( std::string & name)
virtual

Implements EvtDecayBase.

Definition at line 33 of file EvtEtap2pipieta.cc.

33 {
34 model_name="Etap2pipieta";
35}

◆ init()

void EvtEtap2pipieta::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 41 of file EvtEtap2pipieta.cc.

41 {
42 checkNDaug(3);
45 m_MetaOverMpip = 0.547862/0.13957018; // m_Meta/m_Mpi
46 m_sqrt3=sqrt(3.0);
47 par[0]=-0.127;
48 par[1]=-0.106;
49 par[2]=1.5e-03;
50 par[3]=-0.082;
51}
void checkSpinParent(EvtSpinType::spintype sp)
EvtId getParentId()
void checkNDaug(int d1, int d2=-1)
static EvtSpinType::spintype getSpinType(EvtId i)
Definition EvtPDL.hh:61

◆ initProbMax()

void EvtEtap2pipieta::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 53 of file EvtEtap2pipieta.cc.

53 {
54 setProbMax(1.03805);
55}
void setProbMax(double prbmx)

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