64 {
65
66
67
68
69
70
71
72
74 int i;
77
80 }
81
84
86
87
88
90
91 double xbox, ybox, min, max,hichfit;
92 min=0.493;
93 max=4.3;
96
97
98
99
100 double par[6];
101 if ((Xscode == 30343) || (Xscode == -30343) ||
102 (Xscode == 30353) || (Xscode == -30353)) {
103 min=0.6373;
104
105
106 par[0]=2.36816;
107
108 par[1]=0.62325725;
109
110 par[2]=2.2;
111
112 par[3]=-0.2109375;
113
114 par[4]=2.7;
115
116 par[5]=0.54;
117
118
119
120
121
122
123
124
125
126
127
128
129 } else {
130 report(
DEBUG,
"EvtGen") <<
"In EvtBtoXsEtap: Particle with id " << Xscode <<
" is not a Xsd/u particle"<<endl;
131 return;
132 }
133
134 double boxheight=par[5];
135 double boxwidth=max-min;
136
138 while ((
mass[0] > max) || (
mass[0] < min)){
141 if (xbox<par[2]) {
142
143 hichfit=(1/sqrt(TwoPi*par[1]))*
exp(-0.5*pow((xbox-par[0])/par[1],2));
144
145
146
147
148
149 } else {
150 hichfit=par[3]*pow((xbox-par[4]),2)+par[5];
151
152 }
153 if (ybox>hichfit) {
155 } else {
157 }
158 }
159
160
161
163
166 }
167
168 return ;
169}
EvtComplex exp(const EvtComplex &c)
ostream & report(Severity severity, const char *facility)
*********DOUBLE PRECISION m_pi INTEGER m_lenwt !max no of aux weights INTEGER m_phmax !maximum photon multiplicity ISR FSR *DOUBLE COMPLEX m_Pauli4 DOUBLE COMPLEX m_AmpBorn DOUBLE COMPLEX m_AmpBoxy DOUBLE COMPLEX m_AmpBorn1 DOUBLE COMPLEX m_AmpBorn2 DOUBLE COMPLEX m_AmpExpo2p DOUBLE COMPLEX m_Rmat DOUBLE COMPLEX m_BoxGZut !DOUBLE COMPLEX m_F1finPair2 !DOUBLE PRECISION m_Vcut DOUBLE PRECISION m_Alfinv DOUBLE PRECISION m_Lorin1 DOUBLE PRECISION m_Lorin2 DOUBLE PRECISION m_b
static const double twoPi
static double PhaseSpace(int ndaug, double mass[30], EvtVector4R p4[30], double mp)
static int getStdHep(EvtId id)
static double getMass(EvtId i)
void makeDaughters(int ndaug, EvtId *id)
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
EvtParticle * getDaug(int i)