BOSS 8.0.0
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
29class EvtDIY : public EvtDecayIncoherent {
30
31public:
32 EvtDIY() {}
33 virtual ~EvtDIY();
34
35 void getName( std::string& name );
36
38
39 void initProbMax();
40
41 void init();
42
43 void decay( EvtParticle* p );
44
45 double AmplitudeSquare();
46
47 EvtVector4R GetDaugMomLab( int i ) { return _p4Lab[i]; }
48 EvtVector4R GetDaugMomCM( int i ) { return _p4CM[i]; }
49 EvtVector4R GetDaugMomHel( int i ) { return _p4Hel[i]; }
50
51 int GetNdaug() { return _nd; }
52
53private:
54 EvtVector4R _p4Lab[10], _p4CM[10], _p4Hel[10];
55 int _nd;
56};
57
58#endif
EvtVector4R GetDaugMomCM(int i)
Definition EvtDIY.hh:48
double AmplitudeSquare()
Definition UserDIY.cc:182
int GetNdaug()
Definition EvtDIY.hh:51
EvtVector4R GetDaugMomHel(int i)
Definition EvtDIY.hh:49
EvtDIY()
Definition EvtDIY.hh:32
EvtVector4R GetDaugMomLab(int i)
Definition EvtDIY.hh:47