FEDRA emulsion software from the OPERA Collaboration
Draw__SYSTEMATICS_ALLCOMBINED_Electron.C File Reference
#include <iomanip.h>
Include dependency graph for Draw__SYSTEMATICS_ALLCOMBINED_Electron.C:

Functions

void Draw__SYSTEMATICS_ALLCOMBINED_Electron ()
 

Variables

Int_t PARTICLE_TYPE =0
 
Int_t TRAIN_TYPE =0
 

Function Documentation

◆ Draw__SYSTEMATICS_ALLCOMBINED_Electron()

void Draw__SYSTEMATICS_ALLCOMBINED_Electron ( )


5  {
6  gROOT->SetStyle("Pub");
7 
8 // Just read the final combined table and plot the values....:
9 // be in directory /home/meisel/fedra_svn_XXX/src/libShower/tables
10 /*
11 meisel@lheppc87:\ w$ cat libShower_Energy_Systematics_Electron.txt
12 10 0.487087 0.268673 0.251139 0.392944 0.578185 0.938788 1.1368 1.38043 1.52797 2.1963 1.6 1.8
13 12 0.613404 0.326983 0.236053 0.399411 0.743169 1.1208 1.53704 1.74958 2.14625 3.3622 1.9 2
14 14 0.436089 0.255157 0.182932 0.306581 0.592368 0.998098 1.4699 1.75716 2.17982 3.35874 1.7 1.6
15 16 0.352786 0.190076 0.180189 0.262015 0.481161 0.884421 1.28573 1.73485 2.02485 2.99823 1.9 1.7
16 18 0.303112 0.180964 0.162963 0.212751 0.387164 0.765904 1.17881 1.71155 1.96478 3.0471 1.9 1.6
17 20 0.272523 0.135122 0.154926 0.204074 0.330928 0.654695 1.06094 1.58079 1.94743 3.01188 2 1.4
18 23 0.244422 0.157274 0.146185 0.18524 0.285288 0.564008 0.947304 1.49379 1.89982 2.89843 2.3 1.8
19 26 0.253945 0.166703 0.160981 0.205353 0.270174 0.498645 0.854425 1.45537 1.84654 2.75398 1.8 1.1
20 29 0.27287 0.162324 0.16428 0.179237 0.262875 0.456495 0.786588 1.34062 1.88284 2.67105 2 1.2
21 32 0.2726 0.163444 0.159981 0.187163 0.264464 0.450378 0.771966 1.3237 1.85959 2.48608 2.2 1.8
22 35 0.26658 0.149793 0.164912 0.191953 0.254888 0.442164 0.71815 1.3068 1.84922 2.40437 2.2 1.5
23 40 0.261101 0.155412 0.161152 0.171272 0.249347 0.417975 0.717652 1.26137 1.78077 2.32406 2.3 1.2
24 45 0.242131 0.136081 0.151822 0.174786 0.258639 0.420054 0.696882 1.23248 1.70424 2.22336 2.1 1.5
25 */
26 
27 // // // // // // // // // // // // // // // // // // //
28 
29 Int_t dummy;
30 Int_t plateArray[13]={10,12,14,16,18,20,23,26,29,32,35,40,45};
31 Float_t dummyf;
32 
33 // // // // // // // // // // // // // // // // // // //
34 Double_t E[12] = {0.5,1.0,2.0, 4.0, 0.75, 1.5, 3.0, 6.0, 8.0, 16.0, 32.0 ,64.0};
35 Int_t E_ASCEND[12] = {0,4,1,5,2,6,3,7,8,9,10,11};
36 Int_t NPL[13]= {10,12,14,16,18,20,23,26,29,32,35,40,45};
37 //
38 Int_t N_E=12; N_E=12;
39 Int_t N_NPL=13; N_NPL=13;
40 // // // // // // // // // // // // // // // // // // //
41 TGraph* graph_MeanEnergy__vs__Energy[13]; //N_NPL
42 TGraph* graph_MeanEnergy__vs__Npl[12]; //N_E
43 TGraph* graph_RMSEnergy__vs__Energy[13]; //N_NPL
44 TGraph* graph_RMSEnergy__vs__Npl[12]; //N_E
45 
46 TGraph* graph_MeanEnergyOverE__vs__Energy[13]; //N_NPL
47 TGraph* graph_MeanEnergyOverE__vs__Npl[12]; //N_E
48 TGraph* graph_RMSEnergyOverE__vs__Energy[13]; //N_NPL
49 TGraph* graph_RMSEnergyOverE__vs__Npl[12]; //N_E
50 
51 TGraph* graph_MeanEnergyRelativeOverE__vs__Energy[13]; //N_NPL
52 TGraph* graph_MeanEnergyRelativeOverE__vs__Npl[12]; //N_E
53 TGraph* graph_RMSEnergyRelativeOverE__vs__Energy[13]; //N_NPL
54 TGraph* graph_RMSEnergyRelativeOverE__vs__Npl[12]; //N_E
55 
56 TGraph* graph_MeanEnergyMinusNominalE__vs__Energy[13]; //N_NPL
57 TGraph* graph_MeanEnergyMinusNominalE__vs__Npl[12]; //N_E
58 
59 for (int loop_E=0; loop_E<N_E; loop_E++) {
60  graph_MeanEnergy__vs__Npl[loop_E] = new TGraph(N_NPL); // THIS NUMERB SHOULD BE EQUI TO N_E
61  graph_RMSEnergy__vs__Npl[loop_E] = new TGraph(N_NPL);
62  graph_MeanEnergyOverE__vs__Npl[loop_E] = new TGraph(N_NPL);
63  graph_RMSEnergyOverE__vs__Npl[loop_E] = new TGraph(N_NPL);
64  graph_MeanEnergyRelativeOverE__vs__Npl[loop_E] = new TGraph(N_NPL);
65  graph_RMSEnergyRelativeOverE__vs__Npl[loop_E] = new TGraph(N_NPL);
66  graph_MeanEnergyMinusNominalE__vs__Npl[loop_E] = new TGraph(N_NPL);
67 }
68 for (int loop_NPL=0; loop_NPL<N_NPL; loop_NPL++) {
69  graph_MeanEnergy__vs__Energy[loop_NPL] = new TGraph(N_E);
70  graph_RMSEnergy__vs__Energy[loop_NPL] = new TGraph(N_E);
71  graph_MeanEnergyOverE__vs__Energy[loop_NPL] = new TGraph(N_E);
72  graph_RMSEnergyOverE__vs__Energy[loop_NPL] = new TGraph(N_E);
73  graph_MeanEnergyRelativeOverE__vs__Energy[loop_NPL] = new TGraph(N_E);
74  graph_RMSEnergyRelativeOverE__vs__Energy[loop_NPL] = new TGraph(N_E);
75  graph_MeanEnergyMinusNominalE__vs__Energy[loop_NPL] = new TGraph(N_E);
76 }
77 // Set Titles, Markers, Colors.... for the Graphs...
78 for (int loop_NPL=0; loop_NPL<N_NPL; loop_NPL++) {
79  graph_MeanEnergy__vs__Energy[loop_NPL]->SetTitle("MeanEnergy__vs__Energy");
80  graph_RMSEnergy__vs__Energy[loop_NPL]->SetTitle("RMSEnergy__vs__Energy");
81 
82  graph_MeanEnergyOverE__vs__Energy[loop_NPL]->SetTitle("graph_MeanEnergyOverE__vs__Energy");
83  graph_RMSEnergyOverE__vs__Energy[loop_NPL]->SetTitle("graph_RMSEnergyOverE__vs__Energy");
84 
85  graph_MeanEnergyRelativeOverE__vs__Energy[loop_NPL]->SetTitle("graph_MeanEnergyRelativeOverE__vs__Energy");
86  graph_RMSEnergyRelativeOverE__vs__Energy[loop_NPL]->SetTitle("graph_RMSEnergyRelativeOverE__vs__Energy");
87 
88  graph_MeanEnergyMinusNominalE__vs__Energy[loop_NPL]->SetTitle("graph_MeanEnergyMinusNominalE__vs__Energy");
89 }
90 
91 
92 
93 
95  const char* name = "libShower_Energy_Systematics_Electron.txt";
96  pFile = fopen (name,"r");
97  for (int i=0;i<13;i++) {
98  loop_NPL=i;
99  cout << loop_NPL << "---------------------------------" << endl;
100  fscanf (pFile,"%d",&dummy);
101  for (int j=0;j<12;j++) {
102  fscanf (pFile," %f ", &dummyf); cout << dummyf<< endl;
103 
104  graph_RMSEnergy__vs__Energy[loop_NPL]->SetPoint(j,E[E_ASCEND[j]],dummyf);
105  graph_RMSEnergyRelativeOverE__vs__Energy[loop_NPL]->SetPoint(j,E[E_ASCEND[j]],dummyf/E[E_ASCEND[j]]);
106 
107  }
108  }
109  fclose (pFile);
111 
112 
113 
114 // _SYSTEMATICS_ALLCOMBINED
115 
116 
117 // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
118 
119 TCanvas* Canv_RMSEnergyOverE__vs__Energy = new TCanvas("Canv_RMSEnergyOverE__vs__Energy_SYSTEMATICS_ALLCOMBINED","Canv_RMSEnergyOverE__vs__Energy_SYSTEMATICS_ALLCOMBINED",1050,750);
120 
121 // NPL=20
122 graph_RMSEnergyRelativeOverE__vs__Energy[5]->Draw("APLS");
123 graph_RMSEnergyRelativeOverE__vs__Energy[5]->SetTitle("Electron"); // For the nice title...
124 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetXaxis()->SetTitle("Energy [GeV]");
125 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetYaxis()->SetTitle("#sigma (E) / E (\% /100) Syst. Result");
126 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetYaxis()->SetTitleOffset(1.2);
127 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetXaxis()->SetTitleColor(1);
128 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetYaxis()->SetTitleColor(1);
129 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetXaxis()->CenterTitle();
130 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetYaxis()->CenterTitle();
131 // graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetYaxis()->SetRangeUser(0,0.1);
132 graph_RMSEnergyRelativeOverE__vs__Energy[5]->GetXaxis()->SetRangeUser(0,17); // skip 32 and 64 GeV for plot.
133 
134 
135 // NPL=10
136 graph_RMSEnergyRelativeOverE__vs__Energy[0]->Draw("LSsame");
137 graph_RMSEnergyRelativeOverE__vs__Energy[0]->SetLineStyle(2);
138 
139 // NPL=32
140 graph_RMSEnergyRelativeOverE__vs__Energy[9]->Draw("LSsame");
141 graph_RMSEnergyRelativeOverE__vs__Energy[9]->SetLineStyle(5);
142 
143 // NPL=40
144 graph_RMSEnergyRelativeOverE__vs__Energy[11]->Draw("LSsame");
145 graph_RMSEnergyRelativeOverE__vs__Energy[11]->SetLineStyle(3);
146 
147 
148 TLegend* leg_selected= new TLegend(0.65,0.55,0.95,0.85,NULL,"brNDC");
149 leg_selected->AddEntry(graph_RMSEnergyRelativeOverE__vs__Energy[0],"NPl=10","L");
150 leg_selected->AddEntry(graph_RMSEnergyRelativeOverE__vs__Energy[5],"NPl=20","L");
151 leg_selected->AddEntry(graph_RMSEnergyRelativeOverE__vs__Energy[9],"NPl=32","L");
152 leg_selected->AddEntry(graph_RMSEnergyRelativeOverE__vs__Energy[11],"NPl=40","L");
153 leg_selected->SetFillStyle(0);
154 leg_selected->SetBorderSize(0);
155 leg_selected->Draw();
156 
157 TPaveText* pt = new TPaveText(0.8,0.93,0.98,0.98,"brNDC");
158 if (PARTICLE_TYPE==0) pt->AddText("Electron");
159 if (PARTICLE_TYPE==1) pt->AddText("Gamma");
160 pt->SetFillStyle(0);
161 pt->SetFillColor(0);
162 pt->SetBorderSize(0);
163 pt->Draw("same");
164 
165 
166 TString canvname;
167 if (PARTICLE_TYPE==0) canvname=TString(Form("Canv_SYSTEMATICS_ALLCOMBINED__RMSEnergyOverE__vs__Energy__ELECTRON",0));
168 if (PARTICLE_TYPE==1) canvname=TString(Form("Canv_SYSTEMATICS_ALLCOMBINED__RMSEnergyOverE__vs__Energy__GAMMA",0));
169 Canv_RMSEnergyOverE__vs__Energy->Print(canvname+".C");
170 Canv_RMSEnergyOverE__vs__Energy->Print(canvname+".pdf");
171 Canv_RMSEnergyOverE__vs__Energy->Print(canvname+".eps");
172 Canv_RMSEnergyOverE__vs__Energy->Print(canvname+".png");
173 
174 // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
175 
176 TCanvas* Canv_RMSEnergy__vs__Energy = new TCanvas("Canv_RMSEnergy__vs__Energy","Canv_RMSEnergy__vs__Energy",1050,750);
177 
178 // NPL=20
179 graph_RMSEnergy__vs__Energy[5]->Draw("APLS");
180 graph_RMSEnergy__vs__Energy[5]->SetTitle("Electron"); // For the nice title...
181 graph_RMSEnergy__vs__Energy[5]->GetXaxis()->SetTitle("Energy [GeV]");
182 graph_RMSEnergy__vs__Energy[5]->GetYaxis()->SetTitle("#sigma (E) [GeV] Syst. Result");
183 graph_RMSEnergy__vs__Energy[5]->GetYaxis()->SetTitleOffset(1.2);
184 graph_RMSEnergy__vs__Energy[5]->GetXaxis()->SetTitleColor(1);
185 graph_RMSEnergy__vs__Energy[5]->GetYaxis()->SetTitleColor(1);
186 graph_RMSEnergy__vs__Energy[5]->GetXaxis()->CenterTitle();
187 graph_RMSEnergy__vs__Energy[5]->GetYaxis()->CenterTitle();
188 // graph_RMSEnergy__vs__Energy[5]->GetYaxis()->SetRangeUser(0,0.6);
189 graph_RMSEnergy__vs__Energy[5]->GetXaxis()->SetRangeUser(0,17); // skip 32 and 64 GeV for plot.
190 
191 // NPL=10
192 graph_RMSEnergy__vs__Energy[0]->Draw("LSsame");
193 graph_RMSEnergy__vs__Energy[0]->SetLineStyle(2);
194 
195 // NPL=32
196 graph_RMSEnergy__vs__Energy[9]->Draw("LSsame");
197 graph_RMSEnergy__vs__Energy[9]->SetLineStyle(5);
198 
199 // NPL=40
200 graph_RMSEnergy__vs__Energy[11]->Draw("LSsame");
201 graph_RMSEnergy__vs__Energy[11]->SetLineStyle(3);
202 
203 
204 TLegend* leg_selected= new TLegend(0.18,0.55,0.5,0.85,NULL,"brNDC");
205 leg_selected->AddEntry(graph_RMSEnergy__vs__Energy[0],"NPl=10","L");
206 leg_selected->AddEntry(graph_RMSEnergy__vs__Energy[5],"NPl=20","L");
207 leg_selected->AddEntry(graph_RMSEnergy__vs__Energy[9],"NPl=32","L");
208 leg_selected->AddEntry(graph_RMSEnergy__vs__Energy[11],"NPl=40","L");
209 leg_selected->SetFillStyle(0);
210 leg_selected->SetBorderSize(0);
211 leg_selected->Draw();
212 
213 pt->Draw("same");
214 
215 if (PARTICLE_TYPE==0) canvname=TString(Form("Canv_SYSTEMATICS_ALLCOMBINED__RMSEnergy__vs__Energy__ELECTRON",0));
216 if (PARTICLE_TYPE==1) canvname=TString(Form("Canv_SYSTEMATICS_ALLCOMBINED__RMSEnergy__vs__Energy__GAMMA",0));
217 Canv_RMSEnergy__vs__Energy->Print(canvname+".C");
218 Canv_RMSEnergy__vs__Energy->Print(canvname+".pdf");
219 Canv_RMSEnergy__vs__Energy->Print(canvname+".eps");
220 Canv_RMSEnergy__vs__Energy->Print(canvname+".png");
221 // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
222 
223 
224 
225 
226 // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
227 //
228 //
229 //
230 // PLOT LATEX TABLE
231 //
232 //
233 // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
234 
235 Double_t x,y;
236 TString latexname;
237 const char* filename;
238 //
239 //
240 //
241 if (PARTICLE_TYPE==0) latexname=TString(Form("table__SYSTEMATICS_ALLCOMBINED__RMSEnergyRelativeOverE__vs__Energy__ELECTRON_ALLPLATES.tex",NULL));
242 if (PARTICLE_TYPE==1) latexname=TString(Form("table__SYSTEMATICS_ALLCOMBINED__RMSEnergyRelativeOverE__vs__Energy__GAMMA_ALLPLATES.tex",NULL));
243 cout << endl << endl << latexname << endl << endl;
244 
245 filename=latexname.Data();
246 ofstream stream(filename);
247 // // // // // // // // // // // // // // // // // // // // // // // //
248 for (int p=0;p<80; p++) cout << "-";
249 cout << endl;
250 for (int p=0;p<80; p++) cout << "-";
251 cout << endl;
252 cout << setw(6) << setprecision(2) << " E\Npl ";
253 for (int p=0;p<N_E; p++) cout << setw(6) << setprecision(2) << E[E_ASCEND[p]] << " ";
254 cout << endl;
255 for (int o=0;o<N_NPL; o++) {
256 cout << setw(6) << setprecision(2) << NPL[o];
257 for (int p=0;p<N_E; p++) {
258  graph_RMSEnergyRelativeOverE__vs__Energy[o]->GetPoint(p,x,y);
259  cout << setw(6) << setprecision(2) << y << " ";
260 }
261 cout << endl;
262 }
263 for (int p=0;p<80; p++) cout << "-";
264 cout << endl;
265 for (int p=0;p<80; p++) cout << "-";
266 cout << endl;
267 // // // // // // // // // // // // // // // // // // // // // // // //
268 cout << "\\begin{tabular}{c c c c c c c c c c c c c}" << endl;
269 cout << "\\hline" << endl;
270 cout << "\\hline" << endl;
271 cout << " Energy/NPl & ";
272 for (int p=0;p<N_E-1; p++) cout << setw(6) << setprecision(2) << E[E_ASCEND[p]] << " & ";
273 cout << setw(6) << setprecision(2) << E[E_ASCEND[N_E-1]] << " ";
274 cout << "\\\\ " << endl;
275 cout << "\\hline" << endl;
276 for (int o=0;o<N_NPL; o++) {
277 cout << setw(6) << setprecision(2) << NPL[o] << " ";
278 for (int p=0;p<N_E; p++) {
279  cout << " & ";
280  graph_RMSEnergyRelativeOverE__vs__Energy[o]->GetPoint(p,x,y);
281  cout << setw(6) << setprecision(2) << y << " ";
282 }
283 cout << " \\\\" << endl;
284 }
285 cout << "\\hline" << endl;
286 cout << "\\hline" << endl;
287 cout << "\\end{tabular}" << endl;
288 // // // // // // // // // // // // // // // // // // // // // // // // // //
289 // // // // // // // // // // // // // // // // // // // // // // // //
290 stream << "\\begin{tabular}{c c c c c c c c c c c c c}" << endl;
291 stream << "\\hline" << endl;
292 stream << "\\hline" << endl;
293 stream << " Energy/NPl & ";
294 for (int p=0;p<N_E-1; p++) stream << setw(6) << setprecision(2) << E[E_ASCEND[p]] << " & ";
295 stream << setw(6) << setprecision(2) << E[E_ASCEND[N_E-1]] << " ";
296 stream << "\\\\ " << endl;
297 stream << "\\hline" << endl;
298 for (int o=0;o<N_NPL; o++) {
299 stream << setw(6) << setprecision(2) << NPL[o] << " ";
300 for (int p=0;p<N_E; p++) {
301  stream << " & ";
302  graph_RMSEnergyRelativeOverE__vs__Energy[o]->GetPoint(p,x,y);
303  stream << setw(6) << setprecision(2) << y << " ";
304 }
305 stream << " \\\\" << endl;
306 }
307 stream << "\\hline" << endl;
308 stream << "\\hline" << endl;
309 stream << "\\end{tabular}" << endl;
310 // // // // // // // // // // // // // // // // // // // // // // // // // //
311 
312 
313 graph_RMSEnergyRelativeOverE__vs__Energy[0]->Print();
314 
315 // return;
316 
317 //
318 //
319 if (PARTICLE_TYPE==0) latexname=TString(Form("table__SYSTEMATICS_ALLCOMBINED__RMSEnergy__vs__Energy__ELECTRON_ALLPLATES.tex",NULL));
320 if (PARTICLE_TYPE==1) latexname=TString(Form("table__SYSTEMATICS_ALLCOMBINED__RMSEnergy__vs__Energy__GAMMA_ALLPLATES.tex",NULL));
321 cout << endl << endl << latexname << endl << endl;
322 filename=latexname.Data();
323 ofstream stream(filename);
324 // // // // // // // // // // // // // // // // // // // // // // // //
325 for (int p=0;p<80; p++) cout << "-";
326 cout << endl;
327 for (int p=0;p<80; p++) cout << "-";
328 cout << endl;
329 cout << setw(6) << setprecision(2) << " E\Npl ";
330 for (int p=0;p<N_E; p++) cout << setw(6) << setprecision(2) << E[E_ASCEND[p]] << " ";
331 cout << endl;
332 for (int o=0;o<N_NPL; o++) {
333 cout << setw(6) << setprecision(2) << NPL[o];
334 for (int p=0;p<N_E; p++) {
335  graph_RMSEnergy__vs__Energy[o]->GetPoint(p,x,y);
336  cout << setw(6) << setprecision(2) << y << " ";
337 }
338 cout << endl;
339 }
340 for (int p=0;p<80; p++) cout << "-";
341 cout << endl;
342 for (int p=0;p<80; p++) cout << "-";
343 cout << endl;
344 // // // // // // // // // // // // // // // // // // // // // // // //
345 cout << "\\begin{tabular}{c c c c c c c c c c c c c}" << endl;
346 cout << "\\hline" << endl;
347 cout << "\\hline" << endl;
348 cout << " Energy/NPl & ";
349 for (int p=0;p<N_E-1; p++) cout << setw(6) << setprecision(2) << E[E_ASCEND[p]] << " & ";
350 cout << setw(6) << setprecision(2) << E[E_ASCEND[N_E-1]] << " ";
351 cout << "\\\\ " << endl;
352 cout << "\\hline" << endl;
353 for (int o=0;o<N_NPL; o++) {
354 cout << setw(6) << setprecision(2) << NPL[o] << " ";
355 for (int p=0;p<N_E; p++) {
356  cout << " & ";
357  graph_RMSEnergy__vs__Energy[o]->GetPoint(p,x,y);
358  cout << setw(6) << setprecision(2) << y << " ";
359 }
360 cout << " \\\\" << endl;
361 }
362 cout << "\\hline" << endl;
363 cout << "\\hline" << endl;
364 cout << "\\end{tabular}" << endl;
365 // // // // // // // // // // // // // // // // // // // // // // // // // //
366 // // // // // // // // // // // // // // // // // // // // // // // //
367 stream << "\\begin{tabular}{c c c c c c c c c c c c c}" << endl;
368 stream << "\\hline" << endl;
369 stream << "\\hline" << endl;
370 stream << " Energy/NPl & ";
371 for (int p=0;p<N_E-1; p++) stream << setw(6) << setprecision(2) << E[E_ASCEND[p]] << " & ";
372 stream << setw(6) << setprecision(2) << E[E_ASCEND[N_E-1]] << " ";
373 stream << "\\\\ " << endl;
374 stream << "\\hline" << endl;
375 for (int o=0;o<N_NPL; o++) {
376 stream << setw(6) << setprecision(2) << NPL[o] << " ";
377 for (int p=0;p<N_E; p++) {
378  stream << " & ";
379  graph_RMSEnergy__vs__Energy[o]->GetPoint(p,x,y);
380  stream << setw(6) << setprecision(2) << y << " ";
381 }
382 stream << " \\\\" << endl;
383 }
384 stream << "\\hline" << endl;
385 stream << "\\hline" << endl;
386 stream << "\\end{tabular}" << endl;
387 // // // // // // // // // // // // // // // // // // // // // // // // // //
388 // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
389 
390 gSystem->Exec("cp -v table__SYSTEMATICS_ALLCOMBINED__RMSEnergyRelativeOverE__vs__Energy__ELECTRON_ALLPLATES.tex /home/meisel/opus/tables/.");
391 gSystem->Exec("cp -v table__SYSTEMATICS_ALLCOMBINED__RMSEnergy__vs__Energy__ELECTRON_ALLPLATES.tex /home/meisel/opus/tables/.");
392 
393 
394 gSystem->Exec("cp -v Canv_SYSTEMATICS_ALLCOMBINED__*.png /home/meisel/opus/plotsHIGHRES_png/.");
395 gSystem->Exec("cp -v Canv_SYSTEMATICS_ALLCOMBINED__*.eps /home/meisel/opus/plotsHIGHRES_eps/.");
396 }
TPaveText * pt
Definition: Canv_SYSTEMATICS_ALLCOMBINED__RMSEnergy__vs__Energy__ELECTRON.C:160
Int_t PARTICLE_TYPE
Definition: Draw__SYSTEMATICS_ALLCOMBINED_Electron.C:2
string filename
Definition: emthickness.cpp:34
AcqOdyssey * o
Definition: hwinit.C:2
Int_t dummy
Definition: merge_Energy_SytematicSources_Electron.C:7
fclose(pFile)
pFile
Definition: merge_Energy_SytematicSources_Electron.C:25
Int_t plateArray[13]
Definition: merge_Energy_SytematicSources_Electron.C:8
Float_t dummyf
Definition: merge_Energy_SytematicSources_Electron.C:9
const char * name
Definition: merge_Energy_SytematicSources_Electron.C:24
#define NULL
Definition: nidaqmx.h:84
p
Definition: testBGReduction_AllMethods.C:8
new TCanvas()

Variable Documentation

◆ PARTICLE_TYPE

Int_t PARTICLE_TYPE =0

◆ TRAIN_TYPE

Int_t TRAIN_TYPE =0