Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:14

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 //  Gorad (Geant4 Open-source Radiation Analysis and Design)
0027 //
0028 //  Author : Makoto Asai (SLAC National Accelerator Laboratory)
0029 //
0030 //  Development of Gorad is funded by NASA Johnson Space Center (JSC)
0031 //  under the contract NNJ15HK11B.
0032 //
0033 // ********************************************************************
0034 //
0035 // GRDetectorConstructionMessenger.hh
0036 //   Headter file of a messenger class that handles geometry configuration.
0037 //
0038 // History
0039 //   September 8th, 2020 : first implementation
0040 //
0041 // ********************************************************************
0042 
0043 #ifndef GRDetectorConstructionMessenger_H
0044 #define GRDetectorConstructionMessenger_H 1
0045 
0046 #include "G4UImessenger.hh"
0047 #include "globals.hh"
0048 
0049 class GRDetectorConstruction;
0050 class G4UIdirectory;
0051 class G4UIcommand;
0052 class G4UIcmdWithAString;
0053 class G4UIcmdWithAnInteger;
0054 class G4UIcmdWithoutParameter;
0055 
0056 class GRDetectorConstructionMessenger: public G4UImessenger
0057 {
0058   public:
0059     GRDetectorConstructionMessenger(GRDetectorConstruction*);
0060     virtual ~GRDetectorConstructionMessenger();
0061     virtual void SetNewValue(G4UIcommand*,G4String);
0062     virtual G4String GetCurrentValue(G4UIcommand*);
0063 
0064   private:
0065     GRDetectorConstruction* pDC;
0066 
0067     G4UIdirectory*      geomDir;
0068     G4UIcmdWithAString*     selectCmd;
0069     G4UIcmdWithAnInteger*   listSolidCmd;
0070     G4UIcmdWithAnInteger*   listLogVolCmd;
0071     G4UIcmdWithAnInteger*   listPhysVolCmd;
0072     G4UIcmdWithAnInteger*   listRegionCmd;
0073     G4UIcommand*                createRegionCmd;
0074     ////G4UIcommand*                checkOverlapCmd;
0075 
0076     G4UIdirectory*              materialDir;
0077     G4UIcmdWithAString*         listMatCmd;
0078     G4UIcmdWithoutParameter*    dumpMatCmd;
0079     G4UIcmdWithAString*         createMatCmd;
0080     G4UIcmdWithAString*         getMatCmd;
0081     G4UIcommand*                setMatCmd;
0082 
0083 };
0084 
0085 #endif
0086