6 TString InputFile =
"test_G4.root";
7 TString ParFile =
"params_G4.root";
11 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
13 gSystem->Load(
"libEve");
14 gSystem->Load(
"libEventDisplay");
18 FairRunAna *
fRun=
new FairRunAna();
19 fRun->SetInputFile(InputFile.Data());
20 fRun->SetOutputFile(
"evtdis.root");
22 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
23 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
24 parInput1->open(ParFile.Data());
25 rtdb->setFirstInput(parInput1);
27 FairEventManager *
fMan=
new FairEventManager();
30 FairMCTracks *
Track =
new FairMCTracks (
"Monte-Carlo Tracks");
31 FairMCPointDraw *LmdPoint =
new FairMCPointDraw (
"LumiPoint",kGreen, kFullSquare);
36 fMan->AddTask(LmdPoint);
FairParRootFileIo * parInput1