BOSS
7.0.3
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
24
#include "
EvtGenBase/EvtDecayIncoherent.hh
"
25
#include "
EvtGenBase/EvtVector4R.hh
"
26
27
class
EvtParticle
;
28
29
class
EvtDIY
:
public
EvtDecayIncoherent
{
30
31
public
:
32
33
EvtDIY
() {}
34
virtual
~EvtDIY
();
35
36
void
getName
(std::string& name);
37
38
EvtDecayBase
*
clone
();
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
55
private
:
56
57
EvtVector4R
_p4Lab[10],_p4CM[10],_p4Hel[10];
58
int
_nd;
59
60
};
61
62
63
#endif
64
EvtDecayIncoherent.hh
EvtVector4R.hh
EvtDIY
Definition:
EvtDIY.hh:29
EvtDIY::initProbMax
void initProbMax()
Definition:
EvtDIY.cc:70
EvtDIY::getName
void getName(std::string &name)
Definition:
EvtDIY.cc:46
EvtDIY::GetDaugMomCM
EvtVector4R GetDaugMomCM(int i)
Definition:
EvtDIY.hh:49
EvtDIY::AmplitudeSquare
double AmplitudeSquare()
Definition:
UserDIY.cc:176
EvtDIY::~EvtDIY
virtual ~EvtDIY()
Definition:
EvtDIY.cc:44
EvtDIY::GetNdaug
int GetNdaug()
Definition:
EvtDIY.hh:53
EvtDIY::clone
EvtDecayBase * clone()
Definition:
EvtDIY.cc:52
EvtDIY::init
void init()
Definition:
EvtDIY.cc:59
EvtDIY::GetDaugMomHel
EvtVector4R GetDaugMomHel(int i)
Definition:
EvtDIY.hh:50
EvtDIY::EvtDIY
EvtDIY()
Definition:
EvtDIY.hh:33
EvtDIY::GetDaugMomLab
EvtVector4R GetDaugMomLab(int i)
Definition:
EvtDIY.hh:48
EvtDIY::decay
void decay(EvtParticle *p)
Definition:
EvtDIY.cc:79
EvtDecayBase
Definition:
EvtDecayBase.hh:33
EvtDecayIncoherent
Definition:
EvtDecayIncoherent.hh:28
EvtParticle
Definition:
EvtParticle.hh:42
EvtVector4R
Definition:
EvtVector4R.hh:29
source
Generator
BesEvtGen
BesEvtGen-00-03-90
src
EvtGen
EvtGenModels
EvtDIY.hh
Generated by
1.9.6