Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJManagementEventActionMessenger.hh

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------//
00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
00003 //                                                                           //
00004 //                         MAJORANA Simulation                               //
00005 //                                                                           //
00006 //      This code implementation is the intellectual property of the         //
00007 //      MAJORANA Collaboration. It is based on Geant4, an intellectual       //
00008 //      property of the RD44 GEANT4 collaboration.                           //
00009 //                                                                           //
00010 //                        *********************                              //
00011 //                                                                           //
00012 //    Neither the authors of this software system, nor their employing       //
00013 //    institutes, nor the agencies providing financial support for this      //
00014 //    work  make  any representation or  warranty, express or implied,       //
00015 //    regarding this software system or assume any liability for its use.    //
00016 //    By copying, distributing or modifying the Program (or any work based   //
00017 //    on on the Program) you indicate your acceptance of this statement,     //
00018 //    and all its terms.                                                     //
00019 //                                                                           //
00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
00021 //---------------------------------------------------------------------------//
00032 // Begin description of class here
00039 // End class description
00040 //
00045 // 
00046 // --------------------------------------------------------------------------//
00062 // --------------------------------------------------------------------------//
00063 
00064 #ifndef _MJMANAGEMENTEVENTACTIONMESSENGER_HH
00065 #define _MJMANAGEMENTEVENTACTIONMESSENGER_HH
00066 
00067 //---------------------------------------------------------------------------//
00068 
00069 #include "globals.hh"
00070 #include "G4UImessenger.hh"
00071 #include "management/MJManagementEventAction.hh"
00072 
00073 //---------------------------------------------------------------------------//
00074 
00075 class G4UIcmdWithAnInteger;
00076 class G4UIcmdWithAString;
00077 class G4UIcmdWithoutParameter;
00078 class G4UIcommand;
00079 class G4UIdirectory;
00080 
00081 //---------------------------------------------------------------------------//
00082 
00083 class MJManagementEventActionMessenger: public G4UImessenger 
00084 {
00085 public:
00086 
00087   //default constructor
00088   MJManagementEventActionMessenger(MJManagementEventAction *eventaction);
00089 
00090   //copy constructor
00091   MJManagementEventActionMessenger(const MJManagementEventActionMessenger &);
00092 
00093   //destructor
00094   ~MJManagementEventActionMessenger();
00095 
00096   //public interface
00097   void SetNewValue(G4UIcommand *command, G4String newValues);
00098   G4String GetCurrentValue(G4UIcommand *command);
00099 
00100   //protected members
00101 protected:
00102 
00103 
00104   //private  members
00105 private:
00106 
00108   MJManagementEventAction *fEventAction;
00109 
00110   G4UIdirectory           *fEventDirectory;       
00111   // /MJ/management/eventaction
00112 
00113   // Commands
00114   // --------
00115 
00116   // /MJ/eventaction/getoutputschema
00117    G4UIcmdWithoutParameter *fGetOutputSchemaCmd;
00118 
00119   // /MJ/eventaction/rootfilename
00120   G4UIcmdWithAString      *fSetFileNameCmd;   
00121 
00122   // /MJ/eventaction/rootschema
00123   G4UIcmdWithAString      *fSetSchemaCmd;   
00124 
00125   // /MJ/eventaction/reportingfrequency
00126   G4UIcmdWithAnInteger    *fSetReportingFrequencyCmd;
00127 };
00128 #endif

Generated on Mon Nov 29 16:58:52 2004 for Majorana Simulation by  doxygen 1.3.9.1