StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtPropSLPole.hh
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/EvtPropSLPole.hh
12 //
13 // Description:Semileptonic decays with pole form form factors
14 //
15 // Modification history:
16 //
17 // DJL April 23, 1998 Module created
18 //
19 //------------------------------------------------------------------------
20 
21 #ifndef EVTPROPSLPOLE_HH
22 #define EVTPROPSLPOLE_HH
23 
24 #include "EvtGenBase/EvtDecayAmp.hh"
25 #include "EvtGenBase/EvtSemiLeptonicFF.hh"
26 #include "EvtGenBase/EvtSemiLeptonicAmp.hh"
27 #include "EvtGenBase/EvtPoint1D.hh"
28 
29 class Evtparticle;
30 
31 class EvtPropSLPole:public EvtDecayAmp {
32 
33 public:
34 
35  EvtPropSLPole() {}
36  virtual ~EvtPropSLPole();
37 
38  std::string getName();
39  EvtDecayBase* clone();
40 
41  void decay(EvtParticle *p);
42  void initProbMax();
43  void init();
44 
45  double calBreitWigner(EvtParticle *pmeson, EvtPoint1D point);
46  double calBreitWignerBasic(double maxMass);
47 
48  double calcMaxProb( EvtId parent, EvtId meson, EvtId lepton, EvtId nudaug, EvtSemiLeptonicFF *FormFactors );
49 
50 private:
51 
52  bool _includeDecayFact;
53  bool _includeBirthFact;
54  double _mass;
55  double _massMin;
56  double _massMax;
57  double _width;
58  double _maxRange;
59  EvtSpinType::spintype _spin;
60 
61  double _blatt;
62  bool _isProbMaxSet;
63 
64  EvtSemiLeptonicFF *SLPoleffmodel;
65  EvtSemiLeptonicAmp *calcamp;
66 };
67 
68 #endif
69 
Definition: EvtId.hh:27