BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPhokhara.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, Pang Cai-Ying@IHEP
10//
11// Module: EvtPhokhara.cc
12// the necessary file: jetset74.F,lund_crm1_evtgen.F
13// fist.inc,gen.inc mix.inc stdhep.inc
14// Description: Modified Lund model at tau-charm energy level, see
15// PHYSICAL REVIEW D, VOLUME 62, 034003
16// Modification history:
17//
18// Ping R.-G. Octo., 2007 Module created
19//
20//------------------------------------------------------------------------
21
22#ifndef EVTPHOKHARA_HH
23#define EVTPHOKHARA_HH
24
26
27class EvtParticle;
28
30
31#include <iosfwd>
32
34
35public:
36
38 virtual ~EvtPhokhara();
39
40 void getName(std::string& name);
42 void decay(EvtParticle *p);
43
44 std::string commandName();
45 void command(std::string cmd);
46
47 void init();
48 void init_mode(EvtParticle* p);
49 void init_evt(EvtParticle* p);
50
51 void initProbMax();
52 int getTotalEvt(){return nevt;}
53 void PhokharaInit(int dummy);
55private:
56
57 void store(EvtDecayBase* jsdecay);
58
59
60 static int nphokharadecays;
61 static EvtDecayBasePtr* phokharadecays;
62 static int ntable;
63
64 static int ncommand;
65 static int lcommand;
66 static std::string* commands;
67 static int nevt;
68// jobOption params
69
70 int m_nm; // # of events to determine the maximum
71 int m_nlo; // Born(0), NLO(1)
72 double m_w; // soft photon cutoff
73 int m_pion; // mu+mu-(0),pi+pi-(1),2pi0pi+pi-(2),2pi+2pi-(3),ppbar(4),nnbar(5),
74 // K+K-(6),K0K0bar(7),pi+pi-pi0(8), Lamb Lambbar->pi-pi+ppbar(9)
75 int m_fsr; // ISR only(0), ISR+FSR(1), ISR+INT+FSR(2)
76 int m_fsrnlo; // yes(1), no(0)
77 int m_ivac; // no(0), yes - Jegerlehner(1), yes - Teubner(2)
78 int m_tagged; // tagged photons(0), untagged photons(1)
79 int m_NarrowRes; // none(0), JPsi (1), Psip(2)
80 int m_FF_Kaon; // KaonFormFactor: constrained (0), unconstrained (1), Kuhn-Khodjamirian-Bruch (2)
81 int m_FF_Pion; // KS Pionformfactor(0), GS Pionformfactor old(1), GS Pionformfactor new(2)
82 int m_f0_model; // f0+f0(600): KK model(0), no structure(1), no f0+f0(600)(2), f0 KLOE(3)
83 double m_E; // CMS-energy
84 double m_q2min; // minimal hadrons(muons)-gamma-inv mass squared
85 double m_q2_min_c; // minimal inv. mass squared of the hadrons(muons)
86 double m_q2_max_c; // maximal inv. mass squared of the hadrons(muons)
87 double m_gmin; // minimal photon energy/missing energy
88 double m_phot1cut; // minimal photon angle/missing momentum angle
89 double m_phot2cut; // maximal photon angle/missing momentum angle
90 double m_pi1cut; // minimal hadrons(muons) angle
91 double m_pi2cut; // maximal hadrons(muons) angle
92
93 double qqmin,qqmax;
94 double cos1min,cos1max,cos2min,cos2max,cos3min,cos3max;
95 double dsigm1,dsigm2,sigma1,sigma2,sigma,dsigm,Ar[14],Ar_r[14];
96
97 int ievent;
98 long int m_initSeed;
99 std::vector<std::vector<double> > theMmax;
100 std::vector<int> nevtgen;
101 std::vector<std::string> Vfs;
102};
103
104#endif
105
106
107
108
EvtDecayBase * EvtDecayBasePtr
Definition: EvtPhokhara.hh:29
EvtDecayBase * clone()
Definition: EvtPhokhara.cc:142
void command(std::string cmd)
Definition: EvtPhokhara.cc:586
virtual ~EvtPhokhara()
Definition: EvtPhokhara.cc:67
void init_mode(EvtParticle *p)
Definition: EvtPhokhara.cc:156
int getTotalEvt()
Definition: EvtPhokhara.hh:52
void ExclusiveDecay(EvtParticle *p)
void decay(EvtParticle *p)
Definition: EvtPhokhara.cc:614
std::string commandName()
Definition: EvtPhokhara.cc:580
void init_evt(EvtParticle *p)
Definition: EvtPhokhara.cc:859
void PhokharaInit(int dummy)
Definition: EvtPhokhara.cc:846
void initProbMax()
Definition: EvtPhokhara.cc:149
void getName(std::string &name)
Definition: EvtPhokhara.cc:136