BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
minor.cpp File Reference
#include "minor.h"
#include "cache.h"

Go to the source code of this file.

Macros

#define k5s1   s12,p3,p4,p5,s45,s34,m2,m3,m4,m5
 
#define k5s2   p1,s23,p4,p5,s45,s15,m1,m3,m4,m5
 
#define k5s3   p1,p2,s34,p5,s12,s15,m1,m2,m4,m5
 
#define k5s4   p1,p2,p3,s45,s12,s23,m1,m2,m3,m5
 
#define k5s5   p2,p3,p4,s15,s23,s34,m2,m3,m4,m1
 
#define k5st12   s45,p4, p5, m3,m4,m5
 
#define k5st13   s12,s34,p5, m2,m4,m5
 
#define k5st14   s12,p3, s45,m2,m3,m5
 
#define k5st15   p3, p4, s34,m3,m4,m2
 
#define k5st23   p1, s15,p5, m1,m4,m5
 
#define k5st24   p1, s23,s45,m1,m3,m5
 
#define k5st25   s23,p4, s15,m3,m4,m1
 
#define k5st34   p1, p2, s12,m1,m2,m5
 
#define k5st35   p2, s34,s15,m2,m4,m1
 
#define k5st45   p2, p3, s23,m2,m3,m1
 
#define k5stu123   p5, m4, m5
 
#define k5stu124   s45, m3, m5
 
#define k5stu125   p4, m4, m3
 
#define k5stu134   s12, m2, m5
 
#define k5stu135   s34, m4, m2
 
#define k5stu145   p3, m3, m2
 
#define k5stu234   p1, m1, m5
 
#define k5stu235   s15, m4, m1
 
#define k5stu245   s23, m3, m1
 
#define k5stu345   p2, m2, m1
 
#define m5create4(s)
 
#define m5create3(s, t)
 
#define m5create2(s, t, u)
 
#define stepI4D(n, a, b)
 
#define stepI3D(n, a, b)
 
#define stepI4D(n, a, b)
 
#define stepI3D(n, a, b)
 
#define stepI4D(n, a, b)
 
#define stepI3D(n, a, b)
 
#define stepI4D(n, a, b)
 

Macro Definition Documentation

◆ k5s1

#define k5s1   s12,p3,p4,p5,s45,s34,m2,m3,m4,m5

Definition at line 226 of file eemmg-lib/src/minor.cpp.

◆ k5s2

#define k5s2   p1,s23,p4,p5,s45,s15,m1,m3,m4,m5

Definition at line 227 of file eemmg-lib/src/minor.cpp.

◆ k5s3

#define k5s3   p1,p2,s34,p5,s12,s15,m1,m2,m4,m5

Definition at line 228 of file eemmg-lib/src/minor.cpp.

◆ k5s4

#define k5s4   p1,p2,p3,s45,s12,s23,m1,m2,m3,m5

Definition at line 229 of file eemmg-lib/src/minor.cpp.

◆ k5s5

#define k5s5   p2,p3,p4,s15,s23,s34,m2,m3,m4,m1

Definition at line 230 of file eemmg-lib/src/minor.cpp.

◆ k5st12

#define k5st12   s45,p4, p5, m3,m4,m5

Definition at line 232 of file eemmg-lib/src/minor.cpp.

◆ k5st13

#define k5st13   s12,s34,p5, m2,m4,m5

Definition at line 233 of file eemmg-lib/src/minor.cpp.

◆ k5st14

#define k5st14   s12,p3, s45,m2,m3,m5

Definition at line 234 of file eemmg-lib/src/minor.cpp.

◆ k5st15

#define k5st15   p3, p4, s34,m3,m4,m2

Definition at line 235 of file eemmg-lib/src/minor.cpp.

◆ k5st23

#define k5st23   p1, s15,p5, m1,m4,m5

Definition at line 236 of file eemmg-lib/src/minor.cpp.

◆ k5st24

#define k5st24   p1, s23,s45,m1,m3,m5

Definition at line 237 of file eemmg-lib/src/minor.cpp.

◆ k5st25

#define k5st25   s23,p4, s15,m3,m4,m1

Definition at line 238 of file eemmg-lib/src/minor.cpp.

◆ k5st34

#define k5st34   p1, p2, s12,m1,m2,m5

Definition at line 239 of file eemmg-lib/src/minor.cpp.

◆ k5st35

#define k5st35   p2, s34,s15,m2,m4,m1

Definition at line 240 of file eemmg-lib/src/minor.cpp.

◆ k5st45

#define k5st45   p2, p3, s23,m2,m3,m1

Definition at line 241 of file eemmg-lib/src/minor.cpp.

◆ k5stu123

#define k5stu123   p5, m4, m5

Definition at line 243 of file eemmg-lib/src/minor.cpp.

◆ k5stu124

#define k5stu124   s45, m3, m5

Definition at line 244 of file eemmg-lib/src/minor.cpp.

◆ k5stu125

#define k5stu125   p4, m4, m3

Definition at line 245 of file eemmg-lib/src/minor.cpp.

◆ k5stu134

#define k5stu134   s12, m2, m5

Definition at line 246 of file eemmg-lib/src/minor.cpp.

◆ k5stu135

#define k5stu135   s34, m4, m2

Definition at line 247 of file eemmg-lib/src/minor.cpp.

◆ k5stu145

#define k5stu145   p3, m3, m2

Definition at line 248 of file eemmg-lib/src/minor.cpp.

◆ k5stu234

#define k5stu234   p1, m1, m5

Definition at line 249 of file eemmg-lib/src/minor.cpp.

◆ k5stu235

#define k5stu235   s15, m4, m1

Definition at line 250 of file eemmg-lib/src/minor.cpp.

◆ k5stu245

#define k5stu245   s23, m3, m1

Definition at line 251 of file eemmg-lib/src/minor.cpp.

◆ k5stu345

#define k5stu345   p2, m2, m1

Definition at line 252 of file eemmg-lib/src/minor.cpp.

◆ m5create2

#define m5create2 ( s,
t,
u )
Value:
{ \
Kinem2 k2=Kinem2(k5stu##s##t##u); \
Minor2::Ptr minor=Minor2::create(k2,self,s,t,u, offs); \
MCache::INSERTMINOR2(k2,minor); \
}
XmlRpcServer s
TTree * t
Definition binning.cxx:23
static Ptr create(const Kinem2 &k, Minor5::Ptr mptr5, int s, int t, int u, int is)

Definition at line 268 of file eemmg-lib/src/minor.cpp.

268#define m5create2(s,t,u) \
269{ \
270 Kinem2 k2=Kinem2(k5stu##s##t##u); \
271 Minor2::Ptr minor=Minor2::create(k2,self,s,t,u, offs); \
272 MCache::INSERTMINOR2(k2,minor); \
273}

◆ m5create3

#define m5create3 ( s,
t )
Value:
{ \
Kinem3 k3=Kinem3(k5st##s##t); \
Minor3::Ptr minor=Minor3::create(k3,self,s,t, offs); \
MCache::INSERTMINOR3(k3,minor); \
}
static Ptr create(const Kinem3 &k, Minor5::Ptr mptr5, int s, int t, int is)

Definition at line 261 of file eemmg-lib/src/minor.cpp.

261#define m5create3(s,t) \
262{ \
263 Kinem3 k3=Kinem3(k5st##s##t); \
264 Minor3::Ptr minor=Minor3::create(k3,self,s,t, offs); \
265 MCache::INSERTMINOR3(k3,minor); \
266}

◆ m5create4

#define m5create4 ( s)
Value:
{ \
Kinem4 k4=Kinem4(k5s##s); \
Minor4::Ptr minor=Minor4::create(k4,self,s, offs); \
MCache::insertMinor4(k4,minor); \
}
static Ptr create(const Kinem4 &k, Minor5::Ptr mptr5, int s, int is)

Definition at line 254 of file eemmg-lib/src/minor.cpp.

254#define m5create4(s) \
255{ \
256 Kinem4 k4=Kinem4(k5s##s); \
257 Minor4::Ptr minor=Minor4::create(k4,self,s, offs); \
258 MCache::insertMinor4(k4,minor); \
259}

◆ stepI3D [1/3]

#define stepI3D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int u=1; u<=5; u++) { \
if (u==t || u==s) continue; \
dv+=dstust0[u]*(a*I2D##n##stu(0, s, t, u) - b*I2D##n##stu(1, s, t, u)); \
} \
dv*=xn; \
sum1+=dv;
const Int_t n
Double_t x[10]
const double b
Definition slope.cxx:9

◆ stepI3D [2/3]

#define stepI3D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int u=1; u<=5; u++) { \
if (u==t || u==s) continue; \
dv+=dstust0[u]*(a*I2D##n##stu(0, s, t, u) - b*I2D##n##stu(1, s, t, u)); \
} \
dv*=xn; \
sum1+=dv;

◆ stepI3D [3/3]

#define stepI3D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int u=1; u<=5; u++) { \
if (u==t || u==s) continue; \
dv+=dstust0[u]*(a*I2D##n##stu(0, s, t, u) - b*I2D##n##stu(1, s, t, u)); \
} \
dv*=xn; \
sum1+=dv;

◆ stepI4D [1/4]

#define stepI4D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int t=1; t<=5; t++) { \
if (t==s) continue; \
dv+=dsts0[t]*(a*I3D##n##st(0, s, t) - b*I3D##n##st(1, s, t)); \
} \
dv*=xn; \
sum1+=dv;

◆ stepI4D [2/4]

#define stepI4D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int t=1; t<=5; t++) { \
if (t==s) continue; \
dv+=dsts0[t]*(a*I3D##n##st(0, s, t) - b*I3D##n##st(1, s, t)); \
} \
dv*=xn; \
sum1+=dv;

◆ stepI4D [3/4]

#define stepI4D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int t=1; t<=5; t++) { \
if (t==s) continue; \
dv+=dsts0[t]*(a*I3D##n##st(0, s, t) - b*I3D##n##st(1, s, t)); \
} \
dv*=xn; \
sum1+=dv;

◆ stepI4D [4/4]

#define stepI4D ( n,
a,
b )
Value:
xn*=x; \
dv=0; \
for (int t=1; t<=5; t++) { \
if (t==s) continue; \
dv+=dsts0[t]*(a*I3D##n##st(0, s, t) - b*I3D##n##st(1, s, t)); \
} \
dv*=xn; \
sum1+=dv;