Line data Source code
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 : //
10 : // Module: EvtSVPCP.cc
11 : //
12 : // Description: Routine to decay scalar -> vectors+photon
13 : // including CP violation effects
14 : //
15 : // Modification history:
16 : //
17 : // Maurizio pierini Nov 11, 2003 Module created
18 : //
19 : //------------------------------------------------------------------------
20 : //
21 :
22 : #ifndef EVTSVPCP_HH
23 : #define EVTSVPCP_HH
24 :
25 : #include "EvtGenBase/EvtDecayAmp.hh"
26 :
27 : class EvtParticle;
28 :
29 : //Class to handle decays of the form SCALAR ->VECTOR PHOTON
30 : //where the helicity amplitudes must be specified. The
31 : //first and third arguements are the magnetudes of the H+
32 : //and H- helicity amplitudes respectively. The second and
33 : //fourth arguements are the phases.
34 : //Calls EvtSVPHel.
35 :
36 : class EvtSVPCP:public EvtDecayAmp {
37 :
38 : public:
39 :
40 0 : EvtSVPCP() {}
41 : virtual ~EvtSVPCP();
42 :
43 : std::string getName();
44 : EvtDecayBase* clone();
45 :
46 : void init();
47 : void initProbMax();
48 : void decay(EvtParticle *p);
49 : static void SVPHel(EvtParticle *parent,EvtAmp& amp,EvtId n_v1,EvtId n_v2,
50 : const EvtComplex& hp,const EvtComplex& hm);
51 :
52 : std::string getParamName(int i);
53 : std::string getParamDefault(int i);
54 : };
55 :
56 : #endif
|