/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/MagneticField/interface/FieldStepper.h
35 строк
916 B
Vladimir
attempt to fix build
05 авг 2025, 12:31
05 авг 2025, 12:31
d049a42
Код
Авторство
О чём код?
#ifndef SimG4Core_MagneticField_FieldStepper_H #define SimG4Core_MagneticField_FieldStepper_H #include "G4MagIntegratorStepper.hh" #include "G4Version.hh" #if G4VERSION_NUMBER >= 1132 #include "G4FieldParameters.hh" #endif class G4Mag_UsualEqRhs; class FieldStepper : public G4MagIntegratorStepper { public: explicit FieldStepper(G4Mag_UsualEqRhs *eq, double del, const std::string &name); ~FieldStepper() override; // Geant4 virtual methods void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) override; G4double DistChord() const override; G4int IntegratorOrder() const override; #if G4VERSION_NUMBER >= 1132 G4StepperType StepperType() const override { return kTDormandPrince45; }; #endif private: void selectStepper(const std::string &); G4MagIntegratorStepper *theStepper; G4Mag_UsualEqRhs *theEquation; double theDelta; }; #endif