BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDecayProb.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtDecayProb.hh
12//
13// Description:
14//
15// Modification history:
16//
17// DJL/RYD August 11, 1998 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EvtDecayProb_HH
22#define EvtDecayProb_HH
23
24#include "EvtVector4R.hh"
25#include "TComplex.h"
26#include <complex>
27#include <vector>
28using std::complex;
29using std::vector;
30
31#include "EvtDecayBase.hh"
32
33class EvtParticle;
34
35class EvtDecayProb : public EvtDecayBase {
36
37public:
38 void makeDecay( EvtParticle* p );
39
40 void setProb( double prob ) { _prob = prob; }
41 double getProb() { return _prob; }
42 inline void setWeight( double weight ) { _weight = weight; }
43
44 virtual ~EvtDecayProb() {}
45
46private:
47 double _prob;
48 double _weight;
49};
50
51#endif
*********Class see also m_nmax DOUBLE PRECISION m_MasPhot DOUBLE PRECISION m_phsu DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_r2 DOUBLE PRECISION m_WtMass INTEGER m_nmax INTEGER m_Nevgen INTEGER m_IsFSR INTEGER m_MarTot *COMMON c_KarFin $ !Output file $ !Event serial number $ !alpha QED at Thomson limit $ !minimum energy at CMS for remooval $ !infrared dimensionless $ !dummy photon IR regulator $ !crude photon multiplicity enhancement factor *EVENT $ !MC crude volume of PhhSpace *Sfactors $ !YFS formfactor IR part only $ !YFS formfactor non IR finite part $ !mass weight
Definition KarFin.h:34
virtual ~EvtDecayProb()
void setProb(double prob)
void makeDecay(EvtParticle *p)
double getProb()
void setWeight(double weight)