StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtVectorIsr.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/EvtVectorIsr2.hh
12 //
13 // Description:
14 // This is a special decay model to generate e+e- -> phi gamma + soft gammas
15 // using soft collinear ISR calculation from AfkQed
16 // This is implemented as a decay of the VPHO.
17 //
18 // Modification history:
19 //
20 // Joe Izen Oct, 2005 Soft Colinear Photons (secondary ISR) ported from AfkQed
21 // Joe Izen Dec 16, 2002 Fix cos_theta distribution - prevents boom at cos_theta=+/-1
22 // RYD/Adriano June 16, 1998 Module created
23 //
24 //------------------------------------------------------------------------
25 
26 #ifndef EVTVECTORISR_HH
27 #define EVTVECTORISR_HH
28 
29 #include "EvtGenBase/EvtDecayIncoherent.hh"
30 
31 class EvtParticle;
32 
33 
35 
36 public:
37 
38  EvtVectorIsr() {}
39  virtual ~EvtVectorIsr();
40 
41 
42  std::string getName();
43 
44  EvtDecayBase* clone();
45 
46  void decay(EvtParticle *p);
47 
48  void init();
49 
50  void initProbMax();
51 
52  double ckhrad1(double xx, double a, double b);
53 
54  void ckhrad(const double& e_beam,const double& q2_min,double& e01,double& e02,double& f);
55 
56 
57 private:
58 
59  double csfrmn,csbkmn;
60  double fmax;
61  bool firstorder;
62 };
63 
64 #endif
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75