Files
geant4/examples/extended/electromagnetic/TestEm3/include/Em3DetectorMessenger.hh
T
2016-06-08 15:34:16 +02:00

54 lines
1.4 KiB
C++

// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: Em3DetectorMessenger.hh,v 1.2 1999/12/15 14:49:01 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef Em3DetectorMessenger_h
#define Em3DetectorMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class Em3DetectorConstruction;
class G4UIdirectory;
class G4UIcommand;
class G4UIcmdWithAnInteger;
class G4UIcmdWithADoubleAndUnit;
class G4UIcmdWithoutParameter;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class Em3DetectorMessenger: public G4UImessenger
{
public:
Em3DetectorMessenger(Em3DetectorConstruction* );
~Em3DetectorMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
Em3DetectorConstruction* Em3Detector;
G4UIdirectory* Em3detDir;
G4UIcmdWithADoubleAndUnit* SizeYZCmd;
G4UIcmdWithAnInteger* NbLayersCmd;
G4UIcmdWithAnInteger* NbAbsorCmd;
G4UIcommand* AbsorCmd;
G4UIcmdWithADoubleAndUnit* MagFieldCmd;
G4UIcmdWithoutParameter* UpdateCmd;
};
#endif