Skip to content

Commit

Permalink
Store FairRunInfo in some of the macros.
Browse files Browse the repository at this point in the history
Up to now the functionality was not tested at all.
  • Loading branch information
fuhlig1 authored and MohammadAlTurany committed Oct 20, 2017
1 parent e4ec481 commit 8b4c118
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/advanced/Tutorial3/macro/run_digi.C
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void run_digi( TString mcEngine="TGeant3" )
fRun->SetUseFairLinks(kTRUE);
FairLinkManager::Instance()->AddIncludeType(0);
// FairLinkManager::Instance()->AddIncludeType(1);

fRun->SetGenerateRunInfo(kTRUE); // Create FairRunInfo file

FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
FairParRootFileIo* parInput1 = new FairParRootFileIo();
Expand Down
1 change: 1 addition & 0 deletions examples/advanced/Tutorial3/macro/run_reco.C
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void run_reco( TString mcEngine="TGeant3" )
fRun->SetUseFairLinks(kTRUE);
FairLinkManager::Instance()->AddIncludeType(0);
// FairLinkManager::Instance()->AddIncludeType(1);
fRun->SetGenerateRunInfo(kTRUE); // Create FairRunInfo file


FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/Tutorial3/macro/run_sim.C
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void run_sim(Int_t nEvents=100, TString mcEngine="TGeant3")


fRun->SetOutputFile(outFile);

fRun->SetGenerateRunInfo(kTRUE); // Create FairRunInfo file

// ----- Magnetic field -------------------------------------------
// Constant Field
Expand Down

0 comments on commit 8b4c118

Please sign in to comment.