diff --git a/sim/transport/steer/CbmGeant4Settings.h b/sim/transport/steer/CbmGeant4Settings.h index 9c1082df41432964f1b6b6fb791b892cdfb6cb8e..98b2e11c7d0396ae9f9fd6f8c94ef65a43994ad7 100644 --- a/sim/transport/steer/CbmGeant4Settings.h +++ b/sim/transport/steer/CbmGeant4Settings.h @@ -25,7 +25,7 @@ class TVirtualMC; class CbmGeant4Settings : public CbmVMCSettings { -public: + public: CbmGeant4Settings() = default; ~CbmGeant4Settings() = default; CbmGeant4Settings(const CbmGeant4Settings&) = delete; @@ -94,25 +94,25 @@ public: **/ Int_t GetMaximumNumberOfSteps() { return fMaxNumSteps; } -private: - std::array<std::string, 3> fG4RunConfig {{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts"}}; + private: + std::array<std::string, 3> fG4RunConfig{{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts"}}; /* See https://redmine.cbm.gsi.de/issues/2913 As of Geant4-10.5 these commands were changed. Tested for Geant4-11 */ - std::vector<std::string> fG4Commands {"/process/optical/verbose 0", - "/process/optical/cerenkov/setMaxPhotons 20", - "/process/optical/cerenkov/setMaxBetaChange 0.1", - "/process/optical/cerenkov/setTrackSecondariesFirst true", - "/process/optical/processActivation Cerenkov true", - "/process/optical/processActivation OpAbsorption true", - "/process/optical/processActivation OpBoundary true"}; + std::vector<std::string> fG4Commands{"/process/optical/verbose 0", + "/process/optical/cerenkov/setMaxPhotons 20", + "/process/optical/cerenkov/setMaxBetaChange 0.1", + "/process/optical/cerenkov/setTrackSecondariesFirst true", + "/process/optical/processActivation Cerenkov true", + "/process/optical/processActivation OpAbsorption true", + "/process/optical/processActivation OpBoundary true"}; - Int_t fMaxNumSteps {10000}; + Int_t fMaxNumSteps{10000}; - Int_t fRandomSeed {0}; + Int_t fRandomSeed{0}; ClassDef(CbmGeant4Settings, 4); };