Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 #ifndef SimG4Core_Application_ParametrisedEMPhysics_H
0003 #define SimG4Core_Application_ParametrisedEMPhysics_H
0004 
0005 // Joanna Weng 08.2005
0006 // Physics process for Gflash parameterisation
0007 // modified by Soon Yung Jun, Dongwook Jang
0008 // V.Ivanchenko rename the class, cleanup, and move
0009 //              to SimG4Core/Application - 2012/08/14
0010 
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 #include "G4VPhysicsConstructor.hh"
0013 
0014 class G4ParticleDefinition;
0015 
0016 class ParametrisedEMPhysics : public G4VPhysicsConstructor {
0017 public:
0018   ParametrisedEMPhysics(const std::string& name, const edm::ParameterSet& p);
0019   ~ParametrisedEMPhysics() override;
0020 
0021   void ConstructParticle() override;
0022   void ConstructProcess() override;
0023 
0024 private:
0025   void ModifyTransportation(const G4ParticleDefinition*, int ntry, double th1, double th2);
0026 
0027   edm::ParameterSet theParSet;
0028 
0029   struct TLSmod;
0030   static G4ThreadLocal TLSmod* m_tpmod;
0031 };
0032 
0033 #endif