78 lines
2.8 KiB
C++
78 lines
2.8 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * 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: GFlashShowerModelMessenger.hh,v 1.3 2005/10/04 09:08:33 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-08-00 $
|
|
//
|
|
//
|
|
//---------------------------------------------------------------
|
|
// GEANT 4 class header file
|
|
//
|
|
// GFlashShowerModelMessenger
|
|
//
|
|
// Class description:
|
|
//
|
|
// Messenger for the GFlash parameterisation shower model control.
|
|
|
|
//
|
|
// Author: Joanna Weng - 9.11.04
|
|
//---------------------------------------------------------------
|
|
|
|
#ifndef GFlashShowerModelMessenger_h
|
|
#define GFlashShowerModelMessenger_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4UImessenger.hh"
|
|
|
|
class GFlashShowerModel;
|
|
class G4UIdirectory;
|
|
class G4UIcmdWithAString;
|
|
class G4UIcmdWithAnInteger;
|
|
class G4UIcmdWithADoubleAndUnit;
|
|
class G4UIcmdWithADouble;
|
|
|
|
class GFlashShowerModelMessenger: public G4UImessenger
|
|
{
|
|
public:
|
|
|
|
GFlashShowerModelMessenger(GFlashShowerModel * myModel);
|
|
~GFlashShowerModelMessenger();
|
|
|
|
void SetNewValue(G4UIcommand * command,G4String newValues);
|
|
G4String GetCurrentValue(G4UIcommand * command);
|
|
|
|
private:
|
|
|
|
GFlashShowerModel* myModel;
|
|
G4UIdirectory* myParaDir;
|
|
G4UIcmdWithAString* SwitchCmd;
|
|
G4UIcmdWithAnInteger* FlagCmd;
|
|
G4UIcmdWithAnInteger* ContCmd; // Containment Check
|
|
G4UIcmdWithADouble* StepInX0Cmd;
|
|
G4UIcmdWithADoubleAndUnit* EmaxCmd;
|
|
G4UIcmdWithADoubleAndUnit* EminCmd;
|
|
G4UIcmdWithADoubleAndUnit* EkillCmd;
|
|
};
|
|
|
|
#endif
|