Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:13

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //---------------------------------------------------------------------------
0028 //
0029 // ClassName:   G4EmMessenger
0030 //
0031 // Author: 2002 J.P. Wellisch
0032 //
0033 // Modified:
0034 // 09.11.2005 V.Ivanchenko edit to provide a standard
0035 // 19.06.2006 V.Ivanchenko add mu-nuclear process
0036 // 31.01.2018 V.Grichine, activation of neutrino-electron process
0037 // 03.10.2018 V Grichine activation of total nneutrino-electron process 
0038 //----------------------------------------------------------------------------
0039 //
0040 
0041 #ifndef G4EmMessenger_h
0042 #define G4EmMessenger_h 1
0043 
0044 class G4EmExtraPhysics;
0045 
0046 #include "G4UImessenger.hh"
0047 #include "G4UIdirectory.hh"
0048 #include "G4UIcmdWithABool.hh"
0049 #include "G4UIcmdWithADouble.hh"
0050 #include "G4UIcmdWithAString.hh"
0051 #include "G4UIcmdWithADoubleAndUnit.hh"
0052 
0053 //////////////////////////////////////
0054 
0055 class G4EmMessenger: public G4UImessenger
0056 {
0057 public:
0058   explicit G4EmMessenger(G4EmExtraPhysics* af);
0059   ~G4EmMessenger() override;
0060 
0061   void SetNewValue(G4UIcommand* aComm, G4String aS) override;
0062 
0063 private:
0064   G4EmExtraPhysics* theB;
0065 
0066   G4UIcmdWithABool* theSynch;
0067   G4UIcmdWithABool* theSynchAll;
0068   G4UIcmdWithABool* theGN;
0069   G4UIcmdWithABool* theGLENDN;
0070   G4UIcmdWithABool* theEN;
0071   G4UIcmdWithABool* theMUN;
0072   G4UIcmdWithABool* theGMM;
0073   G4UIcmdWithABool* theMMM;
0074   G4UIcmdWithABool* thePMM;
0075   G4UIcmdWithABool* thePH;
0076   G4UIcmdWithABool* theXS;
0077 
0078   G4UIcmdWithADouble* theGMM1;
0079   G4UIcmdWithADouble* thePMM1;
0080   G4UIcmdWithADouble* thePH1;
0081   G4UIcmdWithADoubleAndUnit* theGNlowe;
0082 
0083   G4UIdirectory* aDir1;
0084   G4UIdirectory* aDir2;
0085 };
0086 
0087 #endif