///////////////////////////////////////////////////////////////////////// // G4Tutorial: // // PhysicsEMElectronEEDL.hh // // Assembling electromagnetic physics processes for electrons. // ///////////////////////////////////////////////////////////////////////// #ifndef PHYSICSEMELECTRONEEDL_HH #define PHYSICSEMELECTRONEEDL_HH #include "G4VPhysicsConstructor.hh" #include "globals.hh" // G4VPhysicsConstructor is the abstract base class for physics constructors: class PhysicsEMElectronEEDL : public G4VPhysicsConstructor { public: PhysicsEMElectronEEDL(const G4String& name = "Electron-EEDL") : G4VPhysicsConstructor(name) { } virtual ~PhysicsEMElectronEEDL() { } protected: // G4VPhysicsConstructor has two pure virtual methods which must be // implemented by the user: ConstructParticle and ConstructProcess. // Since only physics processes are dealt with here, ConstructParticle // is irrelevant and performs no action. ConstructProcess is used to // instantiate all physics processes relevant for the considered particle // and type of interaction. void ConstructParticle() { }; void ConstructProcess(); }; #endif // PHYSICSEMELECTRONEEDL_HH