Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:27

0001 //--------------------------------------------------------------------
0002 //
0003 // 15.04.2021 V.Ivanchenko EM physics of CMS mirgrated to Geant4 10.7
0004 //                         based on option1 Geant4 EM and called EMM
0005 //
0006 //--------------------------------------------------------------------
0007 
0008 #ifndef SimG4Core_PhysicsLists_CMSEmStandardPhysics_h
0009 #define SimG4Core_PhysicsLists_CMSEmStandardPhysics_h
0010 
0011 #include "G4VPhysicsConstructor.hh"
0012 #include "globals.hh"
0013 #include "G4MscStepLimitType.hh"
0014 
0015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0016 
0017 class CMSEmStandardPhysics : public G4VPhysicsConstructor {
0018 public:
0019   CMSEmStandardPhysics(G4int ver, const edm::ParameterSet& p);
0020   ~CMSEmStandardPhysics() override = default;
0021 
0022   void ConstructParticle() override;
0023   void ConstructProcess() override;
0024 
0025 private:
0026   G4double fRangeFactor;
0027   G4double fGeomFactor;
0028   G4double fSafetyFactor;
0029   G4double fLambdaLimit;
0030   G4MscStepLimitType fStepLimitType;
0031   bool fG4HepEmActive;
0032 };
0033 
0034 #endif