BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.3
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
▼
Generator
►
Babayaga
►
BabayagaNLO
►
BesBdkRc
▼
BesEvtGen
▼
BesEvtGen-00-04-30
►
EvtGen_i
►
src
▼
user
UserAngH2.cc
UserBody3.cc
►
UserDIY.cc
UserHAngSam3.cc
UserMassH1.cc
UserMassH2.cc
UserMBody3.cc
►
UsermDIY.cc
UsermH2.cc
►
BesGenInterface
►
BesGenModule
►
BesTwogam
►
Bhlumi
►
Bhwide
►
CosmicGenerator
►
Eepipi
►
EeTo4e
►
EeToeeV
►
Ekhara
►
GenAnalysisTools
►
GeneratorModule
►
GeneratorObject
►
GeneratorUtil
►
KKMC
►
McEventSelector
►
Mcgpj
►
Phokhara
►
SingleParticleGun
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
UsermDIY.cc
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
10
//
11
// Module: Modified DIY model, see EvtDeay.cc
12
//
13
// Description: Routine to sample the decays using the amplitude specified by users
14
// This model allow use to specify the intermediate states
15
//
16
// Modification history:
17
//
18
// Ping R.-G. 4-25, 2010 Module created
19
//
20
//------------------------------------------------------------------------
21
#ifndef EVTDECAY_H
22
#define EVTDECAY_H
23
24
#include "
EvtDecay.h
"
25
#include "
EvtGenBase/EvtVector4R.hh
"
26
#include "
EvtGenBase/EvtVector3R.hh
"
27
#include "
EvtGenBase/EvtHelSys.hh
"
28
#include "
EvtGenBase/EvtParticle.hh
"
29
#include "
EvtGenBase/EvtParticleFactory.hh
"
30
#include "
EvtGen.hh
"
31
#include "
EvtGenBase/EvtRandomEngine.hh
"
32
#include "
EvtGenBase/EvtDecayTable.hh
"
33
#include "
EvtGenBase/EvtEulerAngles.hh
"
34
#include "
EvtGenBase/EvtmyEulerAngles.hh
"
35
#include <stdlib.h>
36
#include <string.h>
37
using
std::cout;
38
using
std::endl;
39
using namespace
std
;
40
41
extern
"C"
{
42
extern
double
myamps_
(
double
*,
double
*,
double
*);
43
}
44
45
46
double
EvtDecay::CalAmpsMDIY(
EvtParticle
* part ){
47
double
amps=0;
48
//#include "LcLc.C"
49
//#include "LcLc2.C"
50
//#include "LL.C"
51
//#include "Lenu.C"
52
//#include "etaphi.C"
53
//#include "omegapi0.C"
54
#include "jsi2getac2gLLb.C"
55
//std::cout<<"amps= "<<amps<<std::endl;
56
///////////======== don't touch follows =======================
57
if
(amps <=0){
58
report
(
INFO
,
"EvtGen"
) <<
"Amplitude square of modified DIY should be positive, but found to be equal "
<<amps<<endl;
59
abort();
60
}
else
{
61
return
amps;
62
}
63
}
64
65
66
#endif
EvtDecayTable.hh
EvtDecay.h
EvtEulerAngles.hh
EvtGen.hh
EvtHelSys.hh
EvtParticleFactory.hh
EvtParticle.hh
EvtRandomEngine.hh
report
ostream & report(Severity severity, const char *facility)
Definition
EvtReport.cc:36
INFO
@ INFO
Definition
EvtReport.hh:52
EvtVector3R.hh
EvtVector4R.hh
EvtmyEulerAngles.hh
myamps_
double myamps_(double *, double *, double *)
EvtParticle
Definition
EvtParticle.hh:42
std
Definition
RootEventData/RootEventData_rootcint.cxx:38
7.1.3
Generator
BesEvtGen
BesEvtGen-00-04-30
user
UsermDIY.cc
Generated by
1.13.2