/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/Application/interface/GFlashEMShowerModel.h
55 строк
1 KB
Vladimir
Fixed static Analysis warnings in SimG4Core
01 дек 2021, 14:58
01 дек 2021, 14:58
c3d2a32
Код
Авторство
О чём код?
// //--------------------------------------------------------------- // // GFlashEMShowerModel // // Class description: // // GFlash parameterisation shower model. // Authors: E.Barberio & Joanna Weng - 9.11.04 // other authors : Soon Yung Jun & Dongwook Jang - 2007/12/07 // V.Ivanchenko rename the class and move // to SimG4Core/Application - 2012/08/14 //--------------------------------------------------------------- #ifndef GFlashEMShowerModel_h #define GFlashEMShowerModel_h #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "G4VFastSimulationModel.hh" #include "G4TouchableHandle.hh" #include "G4Navigator.hh" #include "G4Step.hh" class GflashEMShowerProfile; class G4Region; class GFlashEMShowerModel : public G4VFastSimulationModel { public: GFlashEMShowerModel(const G4String& name, G4Envelope* env, const edm::ParameterSet& parSet); ~GFlashEMShowerModel() override; G4bool ModelTrigger(const G4FastTrack&) override; G4bool IsApplicable(const G4ParticleDefinition&) override; void DoIt(const G4FastTrack&, G4FastStep&) override; private: G4bool excludeDetectorRegion(const G4FastTrack& fastTrack); void makeHits(const G4FastTrack& fastTrack); void updateGflashStep(const G4ThreeVector& position, G4double time); // edm::ParameterSet theParSet; bool theWatcherOn; GflashEMShowerProfile* theProfile; G4Region* theRegion; G4Step* theGflashStep; G4Navigator* theGflashNavigator; G4TouchableHandle theGflashTouchableHandle; }; #endif