QwGeant4
QweakSimWShutters.hh
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // File QweakSimWShutters.hh
4 // Revision 1.0
5 // Date 02/06/2012
6 // Author Kurtis Bartlett
7 //
8 //=============================================================================
9 
10 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
11 
12 
13 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
14 
15 #ifndef QweakSimWShutters_h
16 #define QweakSimWShutters_h 1
17 
18 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
19 
20 // geant4 includes
21 #include "G4LogicalVolume.hh"
22 
23 // user includes
24 #include "QweakSimSolids.hh"
25 #include "QweakSimMaterial.hh"
27 
28 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
29 
30 // user classes
32 class QweakSimMaterial;
33 
34 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
36 {
37 
38  private:
39 
40  G4int WShutterNum;
42 
43  G4LogicalVolume* WShutters_Logical;
44  G4VPhysicalVolume* WShutters_Physical;
45  G4Box* WShutters_Box;
46  G4Trap* WShutters_Trap;
47  G4VSolid* WShutters_Solid;
48  //G4Box* WShutters_Solid;
49  G4Material* WShutters_Material;
50  G4VisAttributes* WShutters_VisAtt;
51 
52  G4RotationMatrix* Rot;
53  G4RotationMatrix* WRot;
54 
55 
56  QweakSimWShuttersMessenger* WShutters_Messenger; // pointer to the Messenger
57 
61 
62  // G4double MD7_CenterYPosition;
63  // G4double MD7_CenterZPosition;
64 
68 
69  public:
70 
71  //!Constructor
72  QweakSimWShutters(G4int n);
73 
74  //!Destructor
76 
77  void ConstructWShutters(G4VPhysicalVolume*);
78 
79  void DestroyComponent();
80 
81  void SetWShutters_CenterPositionInX(G4double xPos);
82  void SetWShutters_CenterPositionInY(G4double yPos);
83  void SetWShutters_CenterPositionInZ(G4double zPos);
84 
88 
89  void SetWShuttersMaterial(G4String);
90 
91  void SetWShutters_LengthInX(G4double dim) {WShutters_Length_X = dim;}
92  void SetWShutters_LengthInY(G4double dim) {WShutters_Length_Y = dim;}
93  void SetWShutters_LengthInZ(G4double dim) {WShutters_Length_Z = dim;}
94 
98 
99  //G4LogicalVolume* getWShuttersLogicalVolume() {return WShutters_Logical;}
100  //G4VPhysicalVolume* getWShuttersPhysicalVolume() {return WShutters_Physical;}
101 
102  void SetWShuttersNumber(G4int n) { WShutterNum = n;}
103  G4int GetWShuttersNumber() {return WShutterNum;}
104 
105  void SetEnabled();
106  void SetDisabled();
107 
108  void SetWShutters_Material(G4String);
109 
110  };
111 
112  //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
113 
114  #endif
115 
116  //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
117 
G4VPhysicalVolume * WShutters_Physical
G4LogicalVolume * WShutters_Logical
QweakSimWShuttersMessenger * WShutters_Messenger
G4double WShutters_CenterXPosition
G4double GetWShutters_CenterPositionInZ()
G4VSolid * WShutters_Solid
G4RotationMatrix * WRot
void SetWShutters_CenterPositionInX(G4double xPos)
G4double WShutters_CenterZPosition
QweakSimMaterial * pMaterial
void SetWShuttersNumber(G4int n)
Definition of elements and materials.
~QweakSimWShutters()
Destructor.
G4RotationMatrix * Rot
G4double GetWShutters_LengthInY()
G4double GetWShutters_LengthInX()
void ConstructWShutters(G4VPhysicalVolume *)
G4double GetWShutters_LengthInZ()
G4double WShutters_CenterYPosition
G4Material * WShutters_Material
void SetWShutters_LengthInX(G4double dim)
void SetWShutters_CenterPositionInY(G4double yPos)
void SetWShutters_LengthInZ(G4double dim)
void SetWShutters_CenterPositionInZ(G4double zPos)
G4double GetWShutters_CenterPositionInY()
G4double GetWShutters_CenterPositionInX()
QweakSimWShutters(G4int n)
Constructor.
G4VisAttributes * WShutters_VisAtt
void SetWShuttersMaterial(G4String)
void SetWShutters_Material(G4String)
void SetWShutters_LengthInY(G4double dim)