Skip to content
Snippets Groups Projects
Commit ee2219ba authored by Administrator's avatar Administrator
Browse files

Apply clang-format

parent d38b06f3
No related branches found
No related tags found
1 merge request!2034Fix Geant4 configuration
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
class TVirtualMC; class TVirtualMC;
class CbmGeant4Settings : public CbmVMCSettings { class CbmGeant4Settings : public CbmVMCSettings {
public: public:
CbmGeant4Settings() = default; CbmGeant4Settings() = default;
~CbmGeant4Settings() = default; ~CbmGeant4Settings() = default;
CbmGeant4Settings(const CbmGeant4Settings&) = delete; CbmGeant4Settings(const CbmGeant4Settings&) = delete;
...@@ -94,25 +94,25 @@ public: ...@@ -94,25 +94,25 @@ public:
**/ **/
Int_t GetMaximumNumberOfSteps() { return fMaxNumSteps; } Int_t GetMaximumNumberOfSteps() { return fMaxNumSteps; }
private: private:
std::array<std::string, 3> fG4RunConfig {{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts"}}; std::array<std::string, 3> fG4RunConfig{{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts"}};
/* /*
See https://redmine.cbm.gsi.de/issues/2913 See https://redmine.cbm.gsi.de/issues/2913
As of Geant4-10.5 these commands were changed. As of Geant4-10.5 these commands were changed.
Tested for Geant4-11 Tested for Geant4-11
*/ */
std::vector<std::string> fG4Commands {"/process/optical/verbose 0", std::vector<std::string> fG4Commands{"/process/optical/verbose 0",
"/process/optical/cerenkov/setMaxPhotons 20", "/process/optical/cerenkov/setMaxPhotons 20",
"/process/optical/cerenkov/setMaxBetaChange 0.1", "/process/optical/cerenkov/setMaxBetaChange 0.1",
"/process/optical/cerenkov/setTrackSecondariesFirst true", "/process/optical/cerenkov/setTrackSecondariesFirst true",
"/process/optical/processActivation Cerenkov true", "/process/optical/processActivation Cerenkov true",
"/process/optical/processActivation OpAbsorption true", "/process/optical/processActivation OpAbsorption true",
"/process/optical/processActivation OpBoundary 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); ClassDef(CbmGeant4Settings, 4);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment