Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MakeTimingNtuple.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MakeTimingNtuple.C
1 void MakeTimingNtuple(const char *infile, const char *outfile, const int nevnt=0)
2 {
3  gSystem->Load("libfun4all.so");
4  gSystem->Load("libg4dst.so");
5  gSystem->Load("libantisigma");
7  TimingNtuple *tt = new TimingNtuple("JADEs Input",outfile);
8  se->registerSubsystem(tt);
10  in->fileopen(infile);
11  se->registerInputManager(in);
12  // Fun4AllOutputManager *out = new Fun4AllDstOutputManager("DSTout",outfile);
13  // out->AddNode(outnode);
14  // se->registerOutputManager(out);
15 
16  se->run(nevnt);
17  se->End();
18  delete se;
19 }