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 option4 Geant4 EM and called EMN
0005 //                         several simlifications to original option4
0006 //                         are added
0007 //
0008 //--------------------------------------------------------------------
0009 
0010 #ifndef SimG4Core_PhysicsLists_CMSEmStandardPhysicsXS_h
0011 #define SimG4Core_PhysicsLists_CMSEmStandardPhysicsXS_h
0012 
0013 #include "G4VPhysicsConstructor.hh"
0014 #include "globals.hh"
0015 #include "G4MscStepLimitType.hh"
0016 
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 
0019 class CMSEmStandardPhysicsXS : public G4VPhysicsConstructor {
0020 public:
0021   CMSEmStandardPhysicsXS(G4int ver, const edm::ParameterSet& p);
0022   ~CMSEmStandardPhysicsXS() override = default;
0023 
0024   void ConstructParticle() override;
0025   void ConstructProcess() override;
0026 
0027 private:
0028   G4double fRangeFactor;
0029   G4double fGeomFactor;
0030   G4double fSafetyFactor;
0031   G4double fLambdaLimit;
0032   G4MscStepLimitType fStepLimitType;
0033   bool fG4HepEmActive;
0034 };
0035 
0036 #endif