G4QMessenger.hh

Go to the documentation of this file.
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:   G4QMessenger
00031 //
00032 // Author: 2009 M. V. Kossov
00033 //
00034 // Modified:
00035 //
00036 //----------------------------------------------------------------------------
00037 //
00038 
00039 #ifndef G4QMessenger_h
00040 #define G4QMessenger_h 1
00041 
00042 class G4EmExtraPhysics;
00043 
00044 #include "G4UImessenger.hh"
00045 #include "G4UIdirectory.hh"
00046 #include "G4UIcmdWithAString.hh"
00047 #include "G4UIcmdWithABool.hh"
00048 #include "G4UIcmdWithADouble.hh"
00049 #include "G4UIcmdWithAnInteger.hh"
00050 #include "G4UIcmdWithADoubleAndUnit.hh"
00051 
00052 class G4QNeutrinoPhysics;
00053 class G4QPhotoNuclearPhysics;
00054 
00055 class G4QMessenger: public G4UImessenger
00056 {
00057   G4QMessenger();
00058 
00059 public:
00060   ~G4QMessenger();
00061 
00062   static G4QMessenger* GetPointer(); // Gives a pointer to this singletone
00063 
00064   void Add(G4QNeutrinoPhysics* weak);
00065   void Add(G4QPhotoNuclearPhysics* photo);
00066 
00067   void SetNewValue(G4UIcommand* aComm, G4String aS);
00068   G4String GetCurrentValue(G4UIcommand* aComm);
00069 
00070 private:
00071   G4UIdirectory*         rootDir;
00072 
00073   G4UIdirectory*         weakDir;
00074   G4QNeutrinoPhysics*    theWeak;
00075   G4UIcmdWithAString* theNuElN;
00076   G4UIcmdWithAString* theNuMuN;
00077   G4UIcmdWithAString* theNuTaN;
00078   G4UIcmdWithADouble* biasNuNuc;
00079 
00080   G4UIdirectory*          photoDir;
00081   G4QPhotoNuclearPhysics* thePhoto;
00082   G4UIcmdWithAString* theSynchR;
00083   G4UIcmdWithADouble* minGamSR;
00084   G4UIcmdWithAString* theGamN;
00085   G4UIcmdWithAString* theEleN;
00086   G4UIcmdWithAString* theMuoN;
00087   G4UIcmdWithAString* theTauN;
00088   G4UIcmdWithADouble* biasPhotoN;
00089 
00090 };
00091 
00092 #endif

Generated on Mon May 27 17:49:37 2013 for Geant4 by  doxygen 1.4.7