From e0263c65ad89a358891a153e297d5feb05e5e179 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Tue, 11 Mar 2025 13:13:10 +0100 Subject: [PATCH] Apply clang-format --- sim/transport/steer/CbmGeant4Settings.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sim/transport/steer/CbmGeant4Settings.h b/sim/transport/steer/CbmGeant4Settings.h index 9c1082df4..98b2e11c7 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); }; -- GitLab