8 {
9 int layerId,
bin,layId ;
11 double cons1,sigma1,cons2,sigma2,Sig,sigmaE;
12 double effi,m_nhit_Raw,m_nhit_Exp;
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 ifstream infpar6;
38 string logres_iEntr = path+"/data/logrVetr.dat";
39 infpar6.open(logres_iEntr.c_str());
40 if(!infpar6.good()){
41 std::cout<<" Error , mdc parameters file6 Data_res_iEnter not exist "<<std::endl;
42 exit (0);
43 }else{
44 std::cout<<" open mdc parameter file6 Data_res_iEnter "<<std::endl;
45 for(int lay =0;lay<43;lay++){
46 infpar6 >> lay;
47 for(int iEntr =0;iEntr<2;iEntr++){
48 infpar6 >> iEntr;
49 for(int dD =0;dD<18;dD++){
50 infpar6 >> dD >> sigmaE;
51 par_lay6[lay][iEntr][dD] = sigmaE;
52
53 }
54 }
55 }
56 }
57
58
59 ifstream infpar7;
60 string logres_M_iEntr = path + "/mc/logrVetr.dat";
61 infpar7.open(logres_M_iEntr.c_str());
62 if(!infpar7.good()){
63 std::cout<<"Error,mdc parameters file7 Mc_res_iEntr not exist"<<std::endl;
64 exit (0);
65 }else{
66 std::cout<<"open mdc parameters file7 Mc_res_iEntr "<<std::endl;
67 for(int lay =0;lay<43;lay++){
68 infpar7 >> lay;
69 for(int iEntr =0;iEntr<2;iEntr++){
70 infpar7 >> iEntr;
71 for(int dD =0;dD<18;dD++){
72 infpar7 >> dD >> sigmaE;
73 par_lay7[lay][iEntr][dD] = sigmaE;
74
75 }
76 }
77 }
78 }
79
80}
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin