6 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
8 gSystem->Load(
"libEve");
9 gSystem->Load(
"libEventDisplay");
10 gSystem->Load(
"libHypGe");
16 FairRunAna *
fRun=
new FairRunAna();
19 TString Path= gSystem->Getenv(
"SIMDATADIR");
22 InputFile+= InputSubDir;
24 InputFile += InputFileExt;
25 cout << InputFile << endl;
26 fRun->SetInputFile(InputFile.Data());
30 fRun->SetOutputFile(
"test.root");
34 if (ParFile.EndsWith(
".root"))
35 ParFile.ReplaceAll(
".root",
"__Simparams.root");
37 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
38 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
40 parInput1->open(ParFile.Data());
43 rtdb->setFirstInput(parInput1);
47 FairEventManager *
fMan=
new FairEventManager();
48 FairMCTracks *
Track =
new FairMCTracks (
"Monte-Carlo Tracks");
53 FairMCPointDraw *MuoPoint =
new FairMCPointDraw (
"HypGePoint",kAzure, kFullSquare);
66 fMan->AddTask( MuoPoint);
TGeoManager * gGeoManager
FairParRootFileIo * parInput1
eventDisplay(TString InputFileExt="TripleBall40Offset20STT_4MeV_100Evts_ST1__0.root", TString InputSubDir="Gamma")