| 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * DISCLAIMER *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The following disclaimer summarizes all the specific disclaimers *
|
|---|
| 6 | // * of contributors to this software. The specific disclaimers,which *
|
|---|
| 7 | // * govern, are listed with their locations in: *
|
|---|
| 8 | // * http://cern.ch/geant4/license *
|
|---|
| 9 | // * *
|
|---|
| 10 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 11 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 12 | // * work make any representation or warranty, express or implied, *
|
|---|
| 13 | // * regarding this software system or assume any liability for its *
|
|---|
| 14 | // * use. *
|
|---|
| 15 | // * *
|
|---|
| 16 | // * This code implementation is the intellectual property of the *
|
|---|
| 17 | // * GEANT4 collaboration. *
|
|---|
| 18 | // * By copying, distributing or modifying the Program (or any work *
|
|---|
| 19 | // * based on the Program) you indicate your acceptance of this *
|
|---|
| 20 | // * statement, and all its terms. *
|
|---|
| 21 | // ********************************************************************
|
|---|
| 22 | //
|
|---|
| 23 | // The code was written by :
|
|---|
| 24 | // ^Claudio Andenna claudio.andenna@iss.infn.it, claudio.andenna@ispesl.it
|
|---|
| 25 | // *Barbara Caccia barbara.caccia@iss.it
|
|---|
| 26 | // with the support of Pablo Cirrone (LNS, INFN Catania Italy)
|
|---|
| 27 | //
|
|---|
| 28 | // ^ISPESL and INFN Roma, gruppo collegato Sanità , Italy
|
|---|
| 29 | // *Istituto Superiore di Sanità and INFN Roma, gruppo collegato Sanità , Italy
|
|---|
| 30 | // Viale Regina Elena 299, 00161 Roma (Italy)
|
|---|
| 31 | // tel (39) 06 49902246
|
|---|
| 32 | // fax (39) 06 49387075
|
|---|
| 33 | //
|
|---|
| 34 | // more information:
|
|---|
| 35 | // http://g4advancedexamples.lngs.infn.it/Examples/medical-linac
|
|---|
| 36 | //
|
|---|
| 37 | //*******************************************************//
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 | #ifndef CML2MainMessengerH
|
|---|
| 41 | #define CML2MainMessengerH
|
|---|
| 42 |
|
|---|
| 43 | #include "ML2Main.hh"
|
|---|
| 44 | #include "G4UImessenger.hh"
|
|---|
| 45 | #include "G4UIcmdWithABool.hh"
|
|---|
| 46 | #include "G4UIcmdWithAString.hh"
|
|---|
| 47 | #include "G4UIcmdWithADouble.hh"
|
|---|
| 48 | #include "G4UIcmdWith3VectorAndUnit.hh"
|
|---|
| 49 | #include "G4UIcmdWithADoubleAndUnit.hh"
|
|---|
| 50 | #include "G4UIcmdWith3Vector.hh"
|
|---|
| 51 | #include "G4UIcmdWithAnInteger.hh"
|
|---|
| 52 |
|
|---|
| 53 | #include "ML2CInputData.hh"
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | class CML2Main;
|
|---|
| 57 | class CML2CInputData;
|
|---|
| 58 | class G4UIcmdWithADouble;
|
|---|
| 59 | class G4UIcmdWithABool;
|
|---|
| 60 | class G4UIcmdWithAString;
|
|---|
| 61 | class G4UIcmdWith3VectorAndUnit;
|
|---|
| 62 | class G4UIcmdWithADoubleAndUnit;
|
|---|
| 63 | class G4UIcmdWith3Vector;
|
|---|
| 64 | class G4UIcmdWithAInteger;
|
|---|
| 65 |
|
|---|
| 66 | class CML2MainMessenger : public G4UImessenger
|
|---|
| 67 | {
|
|---|
| 68 | public:
|
|---|
| 69 | CML2MainMessenger(CML2CInputData *CInputData);
|
|---|
| 70 | ~CML2MainMessenger(void);
|
|---|
| 71 | void SetNewValueOLD(G4UIcommand* cmd, G4String newValue);
|
|---|
| 72 | void SetNewValue(G4UIcommand* cmd, G4String newValue);
|
|---|
| 73 |
|
|---|
| 74 | private:
|
|---|
| 75 |
|
|---|
| 76 | CML2CInputData *CInputData;
|
|---|
| 77 | CML2Main *ML2Main;
|
|---|
| 78 |
|
|---|
| 79 | G4UIcmdWith3VectorAndUnit *phaseSpaceCentre, *phaseSpaceHalfSize;
|
|---|
| 80 | G4UIcmdWithAString *phaseSPaceOutFile, *ROGOutFile;
|
|---|
| 81 | G4UIcmdWithABool *bSavePhaseSpace, *bStopAtPhaseSpace, *bSaveROG;
|
|---|
| 82 |
|
|---|
| 83 | G4UIcmdWithAnInteger *nBeam, *nMaxParticlesInRamPlanePhaseSpace, *minNumberOfEvents;
|
|---|
| 84 | G4UIcmdWithABool *bCompareExp, *bOnlyVisio;
|
|---|
| 85 | G4UIcmdWithAString * fileExperimentalData;
|
|---|
| 86 | G4UIcmdWithAnInteger *saving_in_Selected_Voxels_every_events;
|
|---|
| 87 | G4UIcmdWithAnInteger *saving_in_ROG_Voxels_every_events;
|
|---|
| 88 | G4UIcmdWithAnInteger *max_N_particles_in_PhSp_File;
|
|---|
| 89 | };
|
|---|
| 90 |
|
|---|
| 91 | #endif
|
|---|