12 |
|
|
13 |
idrun = 0; |
idrun = 0; |
14 |
dbg_mode.SetNone(); |
dbg_mode.SetNone(); |
15 |
get1 = 0; |
get1 = 0; |
16 |
geth = 0; |
full1 = 0; |
17 |
get2 = 1; |
geth = 0; |
18 |
|
get2 = 1; |
19 |
standalone = false; |
standalone = false; |
20 |
frame2 = "root"; |
frame2 = "root"; |
21 |
frame1 = "root"; |
frame1 = "root"; |
48 |
// DEBUG = false; |
// DEBUG = false; |
49 |
// VERBOSE = false; |
// VERBOSE = false; |
50 |
dbg_mode.SetWarning(); |
dbg_mode.SetWarning(); |
51 |
get1 = 0; |
get1 = 0; |
52 |
|
full1 = 0; |
53 |
get2 = 1; |
get2 = 1; |
54 |
geth = 0; |
geth = 0; |
55 |
standalone = false; |
standalone = false; |
96 |
} |
} |
97 |
// -----------------------------------------------------// |
// -----------------------------------------------------// |
98 |
if (!strcmp(vcustom[i], "--get1") || !strcmp(vcustom[i], "--get-level1") ){ |
if (!strcmp(vcustom[i], "--get1") || !strcmp(vcustom[i], "--get-level1") ){ |
99 |
get1 = 1; |
get1 = 1; |
100 |
|
full1 = 0; |
101 |
|
continue; |
102 |
|
} |
103 |
|
// -----------------------------------------------------// |
104 |
|
if (!strcmp(vcustom[i], "--get1-full") || !strcmp(vcustom[i], "--get-level1-full") ){ |
105 |
|
get1 = 1; |
106 |
|
full1 = 1; |
107 |
continue; |
continue; |
108 |
} |
} |
109 |
// -----------------------------------------------------// |
// -----------------------------------------------------// |
168 |
else if (!frameh.CompareTo("hbook", TString::kIgnoreCase)) ifrooth =false; |
else if (!frameh.CompareTo("hbook", TString::kIgnoreCase)) ifrooth =false; |
169 |
else throw -201; |
else throw -201; |
170 |
|
|
171 |
|
if(get1 && !get2)full1=true; |
172 |
|
|
173 |
ostatus = 0; |
ostatus = 0; |
174 |
|
|
175 |
}; |
}; |
189 |
// |
// |
190 |
reductionflight_(&F77err); |
reductionflight_(&F77err); |
191 |
if(F77err < 0)throw F77err; |
if(F77err < 0)throw F77err; |
|
// else if(F77err > 0 && WarningMode())cout<<" WARNING ("<<F77err<<") - TrkCore - Level1 reduction (CN computation failure, ...)"<<endl; |
|
192 |
// |
// |
193 |
if(get2) analysisflight_(); |
if(get2) analysisflight_(); |
|
// if(F77err < 0)throw F77err; |
|
|
// else if(F77err > 0 && WarningMode())cout<<" WARNING ("<<F77err<<") - TrkCore - @ Level2 reduction "<<endl; |
|
194 |
// |
// |
195 |
ostatus = F77err; |
ostatus = F77err; |
196 |
|
|
201 |
cout <<endl<< "Tracker process parameters: "<< endl; |
cout <<endl<< "Tracker process parameters: "<< endl; |
202 |
cout << " idRun " << idrun << endl; |
cout << " idRun " << idrun << endl; |
203 |
cout << " get level1 " << get1 << endl; |
cout << " get level1 " << get1 << endl; |
204 |
|
cout << " full level1 " << full1 << endl; |
205 |
cout << " get level2 " << get2 << endl; |
cout << " get level2 " << get2 << endl; |
206 |
cout << " get hough " << geth << endl; |
cout << " get hough " << geth << endl; |
207 |
cout << " frame1 " << frame1 << endl; |
cout << " frame1 " << frame1 << endl; |