-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadMultiMain.C
More file actions
50 lines (40 loc) · 2.64 KB
/
readMultiMain.C
File metadata and controls
50 lines (40 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
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
38
39
40
41
42
43
44
45
46
47
48
49
50
#include <cmath>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "readTreeSim.C"
int readMultiMain(long nevents = -1);
int main(int argc, char **argv)
{
readMultiMain();
return 1;
}
int readMultiMain(long nevents)
{
readTreeSim("data/files_neutron_E0.3GeV.list", "output/output_depthStudy_neutron_E0.3GeV.root", nevents);
readTreeSim("data/files_neutron_E0.4GeV.list", "output/output_depthStudy_neutron_E0.4GeV.root", nevents);
readTreeSim("data/files_neutron_E0.5GeV.list", "output/output_depthStudy_neutron_E0.5GeV.root", nevents);
readTreeSim("data/files_neutron_E0.7GeV.list", "output/output_depthStudy_neutron_E0.7GeV.root", nevents);
readTreeSim("data/files_neutron_E1.0GeV.list", "output/output_depthStudy_neutron_E1.0GeV.root", nevents);
readTreeSim("data/files_neutron_E2.0GeV.list", "output/output_depthStudy_neutron_E2.0GeV.root", nevents);
readTreeSim("data/files_neutron_E5.0GeV.list", "output/output_depthStudy_neutron_E5.0GeV.root", nevents);
readTreeSim("data/files_neutron_E10.0GeV.list", "output/output_depthStudy_neutron_E10.0GeV.root", nevents);
readTreeSim("data/files_p+_E0.3GeV.list", "output/output_depthStudy_p+_E0.3GeV.root", nevents);
readTreeSim("data/files_p+_E0.4GeV.list", "output/output_depthStudy_p+_E0.4GeV.root", nevents);
readTreeSim("data/files_p+_E0.5GeV.list", "output/output_depthStudy_p+_E0.5GeV.root", nevents);
readTreeSim("data/files_p+_E0.7GeV.list", "output/output_depthStudy_p+_E0.7GeV.root", nevents);
readTreeSim("data/files_p+_E1.0GeV.list", "output/output_depthStudy_p+_E1.0GeV.root", nevents);
readTreeSim("data/files_p+_E2.0GeV.list", "output/output_depthStudy_p+_E2.0GeV.root", nevents);
readTreeSim("data/files_p+_E5.0GeV.list", "output/output_depthStudy_p+_E5.0GeV.root", nevents);
readTreeSim("data/files_p+_E10.0GeV.list", "output/output_depthStudy_p+_E10.0GeV.root", nevents);
readTreeSim("data/files_pi+_E0.3GeV.list", "output/output_depthStudy_pi+_E0.3GeV.root", nevents);
readTreeSim("data/files_pi+_E0.4GeV.list", "output/output_depthStudy_pi+_E0.4GeV.root", nevents);
readTreeSim("data/files_pi+_E0.5GeV.list", "output/output_depthStudy_pi+_E0.5GeV.root", nevents);
readTreeSim("data/files_pi+_E0.7GeV.list", "output/output_depthStudy_pi+_E0.7GeV.root", nevents);
readTreeSim("data/files_pi+_E1.0GeV.list", "output/output_depthStudy_pi+_E1.0GeV.root", nevents);
readTreeSim("data/files_pi+_E2.0GeV.list", "output/output_depthStudy_pi+_E2.0GeV.root", nevents);
readTreeSim("data/files_pi+_E5.0GeV.list", "output/output_depthStudy_pi+_E5.0GeV.root", nevents);
readTreeSim("data/files_pi+_E10.0GeV.list", "output/output_depthStudy_pi+_E10.0GeV.root", nevents);
return 1;
}