00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 //--------------------------------------------------------------------------- 00029 // 00030 // ClassName: G4EmExtraPhysics 00031 // 00032 // Author: 2002 J.P. Wellisch 00033 // 00034 // Modified: 00035 // 10.11.2005 V.Ivanchenko edit to provide a standard 00036 // 19.06.2006 V.Ivanchenko add mu-nuclear process 00037 // 16.10.2012 A.Ribon: renamed G4EmExtraBertiniPhysics as G4EmExtraPhysics 00038 // 00039 //---------------------------------------------------------------------------- 00040 // 00041 00042 #ifndef G4EmExtraPhysics_h 00043 #define G4EmExtraPhysics_h 1 00044 00045 #include "G4VPhysicsConstructor.hh" 00046 #include "globals.hh" 00047 00048 #include "G4EmMessenger.hh" 00049 00050 #include "G4SynchrotronRadiation.hh" 00051 #include "G4BertiniElectroNuclearBuilder.hh" 00052 #include "G4MuonNuclearProcess.hh" 00053 #include "G4MuonVDNuclearModel.hh" 00054 00055 class G4EmExtraPhysics : public G4VPhysicsConstructor 00056 { 00057 public: 00058 00059 G4EmExtraPhysics(G4int ver = 1); 00060 00061 // obsolete 00062 G4EmExtraPhysics(const G4String& name); 00063 00064 virtual ~G4EmExtraPhysics(); 00065 00066 void ConstructParticle(); 00067 void ConstructProcess(); 00068 00069 void Synch(G4String & aState); 00070 void GammaNuclear(G4String & aState); 00071 void MuonNuclear(G4String & aState); 00072 00073 private: 00074 00075 void BuildSynch(); 00076 void BuildGammaNuclear(); 00077 void BuildMuonNuclear(); 00078 00079 G4bool wasBuilt; 00080 G4bool gnActivated; 00081 G4bool munActivated; 00082 G4bool synActivated; 00083 G4bool synchOn; 00084 G4bool gammNucOn; 00085 G4bool muNucOn; 00086 00087 G4EmMessenger* theMessenger; 00088 G4SynchrotronRadiation* theElectronSynch; 00089 G4SynchrotronRadiation* thePositronSynch; 00090 G4BertiniElectroNuclearBuilder* theGNPhysics; 00091 G4MuonNuclearProcess* muNucProcess; 00092 G4MuonVDNuclearModel* muNucModel; 00093 00094 G4int verbose; 00095 }; 00096 00097 #endif 00098 00099 00100 00101 00102