BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtDIY.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of models developed at BES collaboration
5// based on the EvtGen framework. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/BesCopyright
9// Copyright (A) 2006 Ping Rong-Gang @IHEP
10//
11// Module: EvtDIY.cc
12//
13// Description: Model provided by user, see the mannual
14//
15// Modification history:
16//
17// Ping R.-G. December, 2006 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTDIY_HH
22#define EVTDIY_HH
23
24#include "EvtGenBase/EvtDecayIncoherent.hh"
25#include "EvtGenBase/EvtVector4R.hh"
26
27class EvtParticle;
28
30
31public:
32
33 EvtDIY() {}
34 virtual ~EvtDIY();
35
36 void getName(std::string& name);
37
39
40 void initProbMax();
41
42 void init();
43
44 void decay(EvtParticle *p);
45
46 double AmplitudeSquare();
47
48 EvtVector4R GetDaugMomLab(int i){return _p4Lab[i];}
49 EvtVector4R GetDaugMomCM(int i){return _p4CM[i];}
50 EvtVector4R GetDaugMomHel(int i){return _p4Hel[i];}
51
52
53 int GetNdaug(){return _nd;}
54
55private:
56
57 EvtVector4R _p4Lab[10],_p4CM[10],_p4Hel[10];
58 int _nd;
59
60};
61
62
63#endif
64