00001 // 00002 // ******************************************************************** 00003 // * DISCLAIMER * 00004 // * * 00005 // * The following disclaimer summarizes all the specific disclaimers * 00006 // * of contributors to this software. The specific disclaimers,which * 00007 // * govern, are listed with their locations in: * 00008 // * http://cern.ch/geant4/license * 00009 // * * 00010 // * Neither the authors of this software system, nor their employing * 00011 // * institutes,nor the agencies providing financial support for this * 00012 // * work make any representation or warranty, express or implied, * 00013 // * regarding this software system or assume any liability for its * 00014 // * use. * 00015 // * * 00016 // * This code implementation is the intellectual property of the * 00017 // * GEANT4 collaboration. * 00018 // * By copying, distributing or modifying the Program (or any work * 00019 // * based on the Program) you indicate your acceptance of this * 00020 // * statement, and all its terms. * 00021 // ******************************************************************** 00022 // 00023 // 00024 // $Id: ExN04GeneralPhysics.hh,v 1.1.1.1 2004/09/28 05:16:53 liwd Exp $ 00025 // GEANT4 tag $Name: G4Svc-00-01-52 $ 00026 // 00027 // 00028 // ------------------------------------------------------------ 00029 // GEANT 4 class header file 00030 // Class Description: 00031 // This class is an derived class of G4VPhysicsConstructor 00032 // 00033 // ------------------------------------------- 00034 // History 00035 // first version 12 Nov. 2000 by H.Kurashige 00036 // ------------------------------------------------------------ 00037 #ifndef ExN04GeneralPhysics_h 00038 #define ExN04GeneralPhysics_h 1 00039 00040 #include "globals.hh" 00041 #include "G4ios.hh" 00042 00043 #include "G4VPhysicsConstructor.hh" 00044 00045 00046 #include "G4Decay.hh" 00047 00048 class ExN04GeneralPhysics : public G4VPhysicsConstructor 00049 { 00050 public: 00051 ExN04GeneralPhysics(const G4String& name = "general"); 00052 virtual ~ExN04GeneralPhysics(); 00053 00054 public: 00055 // This method will be invoked in the Construct() method. 00056 // each particle type will be instantiated 00057 virtual void ConstructParticle(); 00058 00059 // This method will be invoked in the Construct() method. 00060 // each physics process will be instantiated and 00061 // registered to the process manager of each particle type 00062 virtual void ConstructProcess(); 00063 00064 protected: 00065 G4Decay fDecayProcess; 00066 }; 00067 00068 00069 #endif 00070 00071 00072 00073 00074 00075 00076 00077