Files
geant4/examples/extended/electromagnetic/TestEm5/include/Em5PrimaryGeneratorMessenger.hh
T
2016-06-08 16:57:27 +02:00

62 lines
2.4 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: Em5PrimaryGeneratorMessenger.hh,v 1.6 2002/06/05 15:43:42 urban Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef Em5PrimaryGeneratorMessenger_h
#define Em5PrimaryGeneratorMessenger_h 1
#include "G4UImessenger.hh"
#include "globals.hh"
class Em5PrimaryGeneratorAction;
class G4UIcmdWithoutParameter;
class G4UIcmdWithADouble;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class Em5PrimaryGeneratorMessenger: public G4UImessenger
{
public:
Em5PrimaryGeneratorMessenger(Em5PrimaryGeneratorAction*);
~Em5PrimaryGeneratorMessenger();
void SetNewValue(G4UIcommand*, G4String);
private:
Em5PrimaryGeneratorAction* Em5Action;
G4UIcmdWithoutParameter* DefaultCmd;
G4UIcmdWithADouble* RndmCmd;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif