/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/CustomPhysics/interface/CustomPhysicsList.h
33 строки
834 B
Vladimir
code-format
06 июл 2025, 15:06
06 июл 2025, 15:06
4a85dd5
Код
Авторство
О чём код?
#ifndef SimG4Core_CustomPhysics_CustomPhysicsList_H #define SimG4Core_CustomPhysics_CustomPhysicsList_H #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "G4VPhysicsConstructor.hh" #include <string> class CustomProcessHelper; class CustomParticleFactory; class CustomPhysicsList : public G4VPhysicsConstructor { public: CustomPhysicsList(const std::string& name, const edm::ParameterSet& p, bool useuni = false); ~CustomPhysicsList() override = default; void ConstructParticle() override; void ConstructProcess() override; private: static G4ThreadLocal CustomProcessHelper* myHelper; std::unique_ptr<CustomParticleFactory> fParticleFactory; bool fHadronicInteraction; edm::ParameterSet myConfig; std::string particleDefFilePath; std::string processDefFilePath; double dfactor; }; #endif