File indexing completed on 2024-04-06 12:29:06
0001 #ifndef global_h
0002 #define global_h
0003 #include <TROOT.h>
0004 #include <math.h>
0005
0006
0007
0008 const Double_t sqrt2 = sqrt(2.0);
0009 const Double_t sqrt2pi = 2.5066282746;
0010
0011 const int dim = 11;
0012
0013 const int Par_Z0 = 0;
0014 const int Par_Sigma = 1;
0015
0016 const int Par_x0 = 2;
0017 const int Par_y0 = 3;
0018 const int Par_dxdz = 4;
0019 const int Par_dydz = 5;
0020 const int Par_Sigbeam = 6;
0021
0022 const int Par_c0 = 7;
0023 const int Par_c1 = 8;
0024
0025 const int Par_eps = 9;
0026 const int Par_beta = 10;
0027
0028 struct data {
0029 double Z, SigZ, D, SigD, Phi, Pt, weight2;
0030 data(double z, double sigz, double d, double sigd, double phi, double pt, double weight2)
0031 : Z(z), SigZ(sigz), D(d), SigD(sigd), Phi(phi), Pt(pt), weight2(1) {}
0032 };
0033 typedef std::vector<::data> zData;
0034 typedef zData::const_iterator zDataConstIter;
0035 typedef zData::iterator zDataIter;
0036
0037 #endif