Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_Intt_Combiner.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4All_Intt_Combiner.C
7 
8 #include <phool/recoConsts.h>
9 
11 
12 R__LOAD_LIBRARY(libfun4all.so)
13 R__LOAD_LIBRARY(libfun4allraw.so)
14 R__LOAD_LIBRARY(libffarawmodules.so)
15 
17 
19  const string &input_file00 = "intt0.list",
20  const string &input_file01 = "intt1.list",
21  const string &input_file02 = "intt2.list",
22  const string &input_file03 = "intt3.list",
23  const string &input_file04 = "intt4.list",
24  const string &input_file05 = "intt5.list",
25  const string &input_file06 = "intt6.list",
26  const string &input_file07 = "intt7.list")
27 {
28  vector<string> infile;
29  infile.push_back(input_file00);
30  infile.push_back(input_file01);
31  infile.push_back(input_file02);
32  infile.push_back(input_file03);
33  infile.push_back(input_file04);
34  infile.push_back(input_file05);
35  infile.push_back(input_file06);
36  infile.push_back(input_file07);
37 
39  se->Verbosity(1);
42  // in->Verbosity(10);
43  int i = 0;
44  for (auto iter : infile)
45  {
47  // sngl->Verbosity(3);
48  sngl->AddListFile(iter);
49  sngl->SetNegativeBco(1);
50  sngl->SetBcoRange(2);
52  i++;
53  }
54 
55  se->registerInputManager(in);
56 
57  // InttCheck *inttcheck = new InttCheck();
58  // inttcheck->Verbosity(3);
59  // se->registerSubsystem(inttcheck);
60 
61  Fun4AllOutputManager *out = new Fun4AllDstOutputManager("out", "intt-00020445.root");
62  se->registerOutputManager(out);
63 
64  se->run(nEvents);
65 
66  se->End();
67  delete se;
68  gSystem->Exit(0);
69 }