Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MakeShowerSize.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MakeShowerSize.C
1 void MakeShowerSize(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  ShowerSize *tt = new ShowerSize("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 }