/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/CustomPhysics/interface/APrimePhysics.h
40 строк
838 B
Vladimir
rename G4 -> CMS
06 июл 2025, 14:31
06 июл 2025, 14:31
6987118
Код
Авторство
О чём код?
#ifndef SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H #define SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H // Geant4 #include "G4VPhysicsConstructor.hh" class APrimePhysics : public G4VPhysicsConstructor { public: /** * Class constructor. * @param name The name of the physics. */ APrimePhysics(double APMass, const G4String& scalefile, const G4double cxBias, const G4String& name = "APrime"); /** * Class destructor. */ ~APrimePhysics() override = default; /** * Construct particles. */ void ConstructParticle() override; /** * Construct the process. */ void ConstructProcess() override; private: /** * Definition of the APrime particle. */ G4ParticleDefinition* aprimeDef_; double apmass; G4String mgfile; G4double biasFactor; }; #endif