Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
int_run.C
Go to the documentation of this file.
1 void int_run() {
2  gROOT->ProcessLine(".x Fun4HodoAccGap.C\(-1\)");
3  gROOT->ProcessLine(".L DisplayOn.C");
4  PHG4Reco* g4 = DisplayOn();
6  //g4->ApplyCommand("/vis/viewer/set/viewpointThetaPhi 90 91");
7  se->run(1);
8 
9  //g4->ApplyCommand("/vis/viewer/panTo 2000 0 cm");
10  //g4->ApplyCommand("/vis/viewer/zoom 4");
11 
12  //g4->ApplyCommand("/vis/viewer/zoom 0.5");
13  //g4->ApplyCommand("/vis/viewer/set/background white");
14  //g4->ApplyCommand("/vis/scene/add/axes 0 0 0 14. cm");
15  //g4->ApplyCommand("/vis/modeling/trajectories/generic-0/default/setAuxPtsVisible true");
16  //g4->ApplyCommand("/tracking/verbose 100");
17  se->End();
18 }
virtual int End()
Runs G4 as a subsystem.
Definition: PHG4Reco.h:38
void int_run()
Definition: int_run.C:1
static Fun4AllServer * instance()
Fun4AllServer * se
PHG4Reco * DisplayOn(const char *mac="vis.mac")
Definition: DisplayOn.C:9
int run(const int nevnts=0, const bool require_nevents=false)
run n events (0 means up to end of file)