Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_Tpc_Combiner.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4All_Tpc_Combiner.C
7 
8 #include <phool/recoConsts.h>
9 
10 #include <ffarawmodules/TpcCheck.h>
11 
12 R__LOAD_LIBRARY(libfun4all.so)
13 R__LOAD_LIBRARY(libfun4allraw.so)
14 R__LOAD_LIBRARY(libffarawmodules.so)
15 
17  const string &input_file00 = "tpc00.list",
18  const string &input_file01 = "tpc01.list",
19  const string &input_file02 = "tpc02.list",
20  const string &input_file03 = "tpc03.list",
21  const string &input_file04 = "tpc04.list",
22  const string &input_file05 = "tpc05.list",
23  const string &input_file06 = "tpc06.list",
24  const string &input_file07 = "tpc07.list",
25  const string &input_file08 = "tpc08.list",
26  const string &input_file09 = "tpc09.list",
27  const string &input_file10 = "tpc10.list",
28  const string &input_file11 = "tpc11.list",
29  const string &input_file12 = "tpc12.list",
30  const string &input_file13 = "tpc13.list",
31  const string &input_file14 = "tpc14.list",
32  const string &input_file15 = "tpc15.list",
33  const string &input_file16 = "tpc16.list",
34  const string &input_file17 = "tpc17.list",
35  const string &input_file18 = "tpc18.list",
36  const string &input_file19 = "tpc19.list",
37  const string &input_file20 = "tpc20.list",
38  const string &input_file21 = "tpc21.list",
39  const string &input_file22 = "tpc22.list",
40  const string &input_file23 = "tpc23.list"
41 )
42 {
43  vector<string> infile;
44  infile.push_back(input_file00);
45  infile.push_back(input_file01);
46  infile.push_back(input_file02);
47  infile.push_back(input_file03);
48  infile.push_back(input_file04);
49  infile.push_back(input_file05);
50  infile.push_back(input_file06);
51  infile.push_back(input_file07);
52  infile.push_back(input_file08);
53  infile.push_back(input_file09);
54  infile.push_back(input_file10);
55  infile.push_back(input_file11);
56  infile.push_back(input_file12);
57  infile.push_back(input_file13);
58  infile.push_back(input_file14);
59  infile.push_back(input_file15);
60  infile.push_back(input_file16);
61  infile.push_back(input_file17);
62  infile.push_back(input_file18);
63  infile.push_back(input_file19);
64  infile.push_back(input_file20);
65  infile.push_back(input_file21);
66  infile.push_back(input_file22);
67  infile.push_back(input_file23);
68 
70  se->Verbosity(1);
72 //rc->set_IntFlag("RUNNUMBER",20445);
74 // in->Verbosity(10);
75  int i=0;
76  for (auto iter : infile)
77  {
79 // sngl->Verbosity(3);
80  sngl->SetBcoRange(130);
81  sngl->AddListFile(iter);
83  i++;
84  }
85  se->registerInputManager(in);
86 
87  // TpcCheck *tpccheck = new TpcCheck();
88  // tpccheck->Verbosity(3);
89  // tpccheck->SetBcoRange(130);
90  // se->registerSubsystem(tpccheck);
91 
92  // Fun4AllOutputManager *out = new Fun4AllDstOutputManager("out","tpc.root");
93  // se->registerOutputManager(out);
94 
95  se->run(nEvents);
96 
97  se->End();
98  delete se;
99  gSystem->Exit(0);
100 }