BOSS
8.0.0
BESIII Offline Software System
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 "
../src/EvtDecay.h
"
25
#include "
../src/EvtGen/EvtGen.hh
"
26
#include "
../src/EvtGen/EvtGenBase/EvtDecayTable.hh
"
27
#include "
../src/EvtGen/EvtGenBase/EvtEulerAngles.hh
"
28
#include "
../src/EvtGen/EvtGenBase/EvtHelSys.hh
"
29
#include "
../src/EvtGen/EvtGenBase/EvtParticle.hh
"
30
#include "
../src/EvtGen/EvtGenBase/EvtParticleFactory.hh
"
31
#include "
../src/EvtGen/EvtGenBase/EvtRandomEngine.hh
"
32
#include "
../src/EvtGen/EvtGenBase/EvtVector3R.hh
"
33
#include "
../src/EvtGen/EvtGenBase/EvtVector4R.hh
"
34
#include "
../src/EvtGen/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
double
EvtDecay::CalAmpsMDIY(
EvtParticle
* part ) {
46
double
amps = 0;
47
// #include "LcLc.C"
48
// #include "LcLc2.C"
49
// #include "LL.C"
50
// #include "Lenu.C"
51
// #include "etaphi.C"
52
// #include "omegapi0.C"
53
#include "jsi2getac2gLLb.C"
54
// std::cout<<"amps= "<<amps<<std::endl;
55
///////////======== don't touch follows =======================
56
if
( amps <= 0 )
57
{
58
report
(
INFO
,
"EvtGen"
)
59
<<
"Amplitude square of modified DIY should be positive, but found to be equal "
60
<< amps << endl;
61
abort();
62
}
63
else
{
return
amps; }
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:34
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
x86_64-el9-gcc13-dbg/Event/RootEventData/RootEventDataDict.cxx:101
8.0.0
BOSS_Gen
BesEvtGen
user
UsermDIY.cc
Generated by
1.16.1