Files
geant4/examples/novice/N05/include/ExN05DetectorMessenger.hh
T
2016-06-08 15:55:53 +02:00

45 lines
1.1 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: ExN05DetectorMessenger.hh,v 1.2 1999/12/15 14:49:27 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
#ifndef ExN05DetectorMessenger_h
#define ExN05DetectorMessenger_h 1
#include "globals.hh"
#include "G4UImessenger.hh"
class ExN05DetectorConstruction;
class G4UIdirectory;
class G4UIcmdWithAString;
class G4UIcmdWithADoubleAndUnit;
class ExN05DetectorMessenger: public G4UImessenger
{
public:
ExN05DetectorMessenger(ExN05DetectorConstruction * myDet);
~ExN05DetectorMessenger();
void SetNewValue(G4UIcommand * command,G4String newValues);
G4String GetCurrentValue(G4UIcommand * command);
private:
ExN05DetectorConstruction* myDetector;
G4UIdirectory* mydetDir;
G4UIcmdWithAString* SwitchCmd;
G4UIcmdWithADoubleAndUnit* TmaxCmd;
G4UIcmdWithADoubleAndUnit* EminCmd;
G4UIcmdWithADoubleAndUnit* RminCmd;
};
#endif