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: G4EmQExtraPhysics 00031 // 00032 // Author: 16-Oct-2012 A. Ribon 00033 // Copied from the original G4EmExtraPhysics and renamed 00034 // 00035 // Modified: 00036 // 00037 //---------------------------------------------------------------------------- 00038 // 00039 00040 #ifndef G4EmQExtraPhysics_h 00041 #define G4EmQExtraPhysics_h 1 00042 00043 #include "G4VPhysicsConstructor.hh" 00044 #include "globals.hh" 00045 00046 #include "G4EmQMessenger.hh" 00047 00048 #include "G4SynchrotronRadiation.hh" 00049 #include "G4ElectroNuclearBuilder.hh" 00050 #include "G4MuonNuclearProcess.hh" 00051 #include "G4MuonVDNuclearModel.hh" 00052 00053 class G4EmQExtraPhysics : public G4VPhysicsConstructor 00054 { 00055 public: 00056 00057 G4EmQExtraPhysics(G4int ver = 1); 00058 00059 // obsolete 00060 G4EmQExtraPhysics(const G4String& name); 00061 00062 virtual ~G4EmQExtraPhysics(); 00063 00064 void ConstructParticle(); 00065 void ConstructProcess(); 00066 00067 void Synch(G4String & aState); 00068 void GammaNuclear(G4String & aState); 00069 void MuonNuclear(G4String & aState); 00070 00071 private: 00072 00073 void BuildSynch(); 00074 void BuildGammaNuclear(); 00075 void BuildMuonNuclear(); 00076 00077 G4bool wasBuilt; 00078 G4bool gnActivated; 00079 G4bool munActivated; 00080 G4bool synActivated; 00081 G4bool synchOn; 00082 G4bool gammNucOn; 00083 G4bool muNucOn; 00084 00085 G4EmQMessenger* theMessenger; 00086 G4SynchrotronRadiation* theElectronSynch; 00087 G4SynchrotronRadiation* thePositronSynch; 00088 G4ElectroNuclearBuilder* theGNPhysics; 00089 G4MuonNuclearProcess* muNucProcess; 00090 G4MuonVDNuclearModel* muNucModel; 00091 00092 G4int verbose; 00093 }; 00094 00095 #endif 00096 00097 00098 00099 00100