StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtSLPole.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/EvtSLPole.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 EVTSLPOLE_HH
22 #define EVTSLPOLE_HH
23 
24 #include "EvtGenBase/EvtDecayAmp.hh"
25 #include "EvtGenBase/EvtSemiLeptonicFF.hh"
26 #include "EvtGenBase/EvtSemiLeptonicAmp.hh"
27 
28 class Evtparticle;
29 
30 class EvtSLPole:public EvtDecayAmp {
31 
32 public:
33 
34  EvtSLPole() {}
35  virtual ~EvtSLPole();
36 
37  std::string getName();
38  EvtDecayBase* clone();
39 
40  void decay(EvtParticle *p);
41  void initProbMax();
42  void init();
43 
44 private:
45  EvtSemiLeptonicFF *SLPoleffmodel;
46  EvtSemiLeptonicAmp *calcamp;
47  //special case - reset the daughter masses
48  bool _resetDaughterTree;
49 
50 };
51 
52 #endif
53