source: trunk/examples/advanced/medical_linac/include/ML2PrimaryGenerationActionMessenger.hh @ 1230

Last change on this file since 1230 was 1230, checked in by garnier, 14 years ago

update to geant4.9.3

  • Property svn:executable set to *
File size: 3.0 KB
Line 
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 ML2PrimaryGenerationActionMessengerH
41#define ML2PrimaryGenerationActionMessengerH
42
43
44#include "globals.hh"
45#include "G4UImessenger.hh"
46
47class CML2PrimaryGenerationAction;
48class G4UImessenger;
49class G4UIcmdWithAnInteger;
50class G4UIcmdWithAString;
51class G4UIcmdWithADoubleAndUnit;
52
53class CML2PrimaryGenerationActionMessenger : public G4UImessenger
54{
55public:
56        CML2PrimaryGenerationActionMessenger(CML2PrimaryGenerationAction *PML2PrimaryGenerationAction);
57        ~CML2PrimaryGenerationActionMessenger(void);
58        void SetNewValue(G4UIcommand* cmd, G4String newValue);
59
60private:
61        CML2PrimaryGenerationAction *pML2PrimaryGenerationAction;
62
63        G4UIcmdWithAnInteger *nIdenticalParticles, *nLoopsPhSpParticles;
64        G4UIcmdWithAnInteger *nMaxParticlesInRamPhaseSpace;
65        G4UIcmdWithADoubleAndUnit *GunMeanEnegy, *GunStdEnegy, *GunRadious;
66        G4UIcmdWithAString  *calculatedPhaseSpaceFileIN, *sourceTypeName;
67        G4UIcmdWithADoubleAndUnit *rotationX,  *rotationY,  *rotationZ;
68};
69
70#endif
71
Note: See TracBrowser for help on using the repository browser.