Skip to content

Commit

Permalink
DO-NOT-MERGE Trying to fix this error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTackeGSI committed Jul 21, 2023
1 parent 6cc6863 commit 454fe8b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/MQ/pixelDetector/macros/run_sim.C
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void run_sim(Int_t nEvents = 10, TString mcEngine = "TGeant3", Int_t fileId = 0,
// ------------------------------------------------------------------------

// ----- Create simulation run ----------------------------------------
auto run = std::make_unique<FairExampleRunSim>(mcEngine);
auto run = std::make_unique<FairExampleRunSim>(mcEngine.Data());
run->SetIsMT(isMT); // Multi-threading mode (Geant4 only)
run->SetSink(std::make_unique<FairRootFileSink>(outFile));
FairRuntimeDb* rtdb = run->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 @@ -32,7 +32,7 @@ void run_sim(Int_t nEvents = 100, TString mcEngine = "TGeant4")
gSystem->Setenv("CONFIG_DIR", tut_configdir.Data());

// create Instance of Run Manager class
FairExampleRunSim run{mcEngine};
FairExampleRunSim run{mcEngine.Data()};
run.SetUseFairLinks(kTRUE);
// FairLinkManager::Instance()->AddIncludeType(0);
// set the MC version used
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/propagator/macros/runMC.C
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int runMC(Int_t nEvents = 1000, TString mcEngine = "TGeant4", Bool_t isMT = fals
// ------------------------------------------------------------------------

// ----- Create simulation run ----------------------------------------
FairExampleRunSim run{mcEngine};
FairExampleRunSim run{mcEngine.Data()};
// run.SetSimulationConfig(new FairVMCConfig());
run.SetIsMT(isMT); // Multi-threading mode (Geant4 only)
run.SetSink(std::make_unique<FairRootFileSink>(outFile));
Expand Down
2 changes: 1 addition & 1 deletion examples/common/mcstack/FairExampleRunSim.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class FairExampleRunSim : public FairRunSim
{
public:
explicit FairExampleRunSim(const char* mcEngine);
FairExampleRunSim(const char* mcEngine);
~FairExampleRunSim() override = default;
ClassDefOverride(FairExampleRunSim, 0);
};
Expand Down
2 changes: 1 addition & 1 deletion examples/simulation/Tutorial4/macros/run_tutorial4.C
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void run_tutorial4(Int_t nEvents = 10, TString mcEngine = "TGeant3", Bool_t doAl
// gLogger->SetLogScreenLevel("INFO");

// ----- Create simulation run ----------------------------------------
FairExampleRunSim run{mcEngine};
FairExampleRunSim run{mcEngine.Data()};
run.SetIsMT(isMT); // Multi-threading mode (Geant4 only)
run.SetSink(std::make_unique<FairRootFileSink>(outFile));
FairRuntimeDb* rtdb = run.GetRuntimeDb();
Expand Down

0 comments on commit 454fe8b

Please sign in to comment.