-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetectormessenger.hh
executable file
·43 lines (31 loc) · 1.19 KB
/
detectormessenger.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef detectormessenger_h
#define detectormessenger_h
#include "G4UImessenger.hh"
#include "globals.hh"
#include "detectorconstruction.hh"
#include "G4UIcmdWith3VectorAndUnit.hh"
#include "G4UIcommand.hh"
#include "G4UIcmdWithADoubleAndUnit.hh"
#include "G4UIcmdWithABool.hh"
class detectorconstruction;
// hola mi primer cambio
/// Detector construction class to define materials and geometry.
class detectormessenger : public G4UImessenger
{
public:
detectormessenger(detectorconstruction* detector_);
virtual ~detectormessenger();
virtual void SetNewValue(G4UIcommand*, G4String);
private:
G4UIdirectory *fDetectorDir1, *fDetectorDir2, *fDetectorDir3, *fDetectorDir4, *UIfpipe, *UIKofPipe;
G4UIcmdWith3VectorAndUnit *pos_NaI1, *pos_NaI2, *pos_NaI3, *pos_NaI4;
G4UIcmdWith3VectorAndUnit *fpipe_cyl,*fpipe_box;
G4UIcmdWithADoubleAndUnit *angdet1, *angdet2, *angdet3, *angdet4;
G4UIcmdWithABool *isBox, *isCyl;
G4UIcmdWithABool *isRotx1, *isRoty1,*isRotz1;
G4UIcmdWithABool *isRotx2, *isRoty2,*isRotz2;
G4UIcmdWithABool *isRotx3, *isRoty3,*isRotz3;
G4UIcmdWithABool *isRotx4, *isRoty4,*isRotz4;
detectorconstruction *f_det;
};
#endif