Commit 54df0e6d authored by David Emschermann's avatar David Emschermann
Browse files

fix eventDisplay files in the macro/run directory based on experience with mCBM

parent e833d186
...@@ -22,7 +22,11 @@ void eventDisplay(TString dataset = "test") ...@@ -22,7 +22,11 @@ void eventDisplay(TString dataset = "test")
rtdb->setFirstInput(parInput1); rtdb->setFirstInput(parInput1);
FairEventManager* fMan = new FairEventManager(); FairEventManager* fMan = new FairEventManager();
FairMCTracks* Track = new FairMCTracks("Monte-Carlo Tracks"); // for fairroot > v18.6.x
FairGeoTracksDraw* Track = new FairGeoTracksDraw();
// // FairMCTracksDraw *Track = new FairMCTracksDraw();
// for fairroot < v18.6.x
// FairMCTracks* Track = new FairMCTracks("Monte-Carlo Tracks");
FairMCPointDraw* MvdPoint = new FairMCPointDraw("MvdPoint", kBlack, kFullSquare); FairMCPointDraw* MvdPoint = new FairMCPointDraw("MvdPoint", kBlack, kFullSquare);
FairMCPointDraw* StsPoint = new FairMCPointDraw("StsPoint", kBlue, kFullSquare); FairMCPointDraw* StsPoint = new FairMCPointDraw("StsPoint", kBlue, kFullSquare);
......
...@@ -90,6 +90,7 @@ void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron", ...@@ -90,6 +90,7 @@ void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron",
run.SetTarget("Gold", 0.025, 2.5); run.SetTarget("Gold", 0.025, 2.5);
run.SetBeamPosition(0., 0., 0.1, 0.1); run.SetBeamPosition(0., 0., 0.1, 0.1);
run.SetRandomEventPlane(); run.SetRandomEventPlane();
// run.StoreTrajectories();
run.Run(nEvents); run.Run(nEvents);
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment