CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
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
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
Definition: EvtDIY.hh:29
void initProbMax()
Definition: EvtDIY.cc:70
void getName(std::string &name)
Definition: EvtDIY.cc:46
EvtVector4R GetDaugMomCM(int i)
Definition: EvtDIY.hh:49
double AmplitudeSquare()
Definition: UserDIY.cc:176
virtual ~EvtDIY()
Definition: EvtDIY.cc:44
int GetNdaug()
Definition: EvtDIY.hh:53
EvtDecayBase * clone()
Definition: EvtDIY.cc:52
void init()
Definition: EvtDIY.cc:59
EvtVector4R GetDaugMomHel(int i)
Definition: EvtDIY.hh:50
EvtDIY()
Definition: EvtDIY.hh:33
EvtVector4R GetDaugMomLab(int i)
Definition: EvtDIY.hh:48
void decay(EvtParticle *p)
Definition: EvtDIY.cc:79