QwGeant4
QweakSimLeadGlass.hh
Go to the documentation of this file.
1 
2 // QweakSimLeadGlass.hh
3 // Fang Guo
4 // 2012/07/31
5 
6 /////// --------------------------------------------------------------------
7 
8 #ifndef QweakSimLeadGlass_h
9 #define QweakSimLeadGlass_h 1
10 
11 /////// --------------------------------------------------------------------
12 
13 //--- geant4 includes
14 #include "G4LogicalVolume.hh"
15 
16 //--- user includes
17 #include "QweakSimSolids.hh"
18 #include "QweakSimMaterial.hh"
20 
21 /////// --------------------------------------------------------------------
22 
23 //--- user classes
24 class QweakSimMaterial;
26 
27 /////// --------------------------------------------------------------------
28 
30 {
31 
32 public:
33 
36 
37  void ConstructComponent(G4VPhysicalVolume* MotherVolume);
38  void DestroyComponent();
39 
40  void SetLeadGlass_Material(G4String);
41 
42  void SetLeadGlass_CenterPositionInX(G4double xPos);
43  void SetLeadGlass_CenterPositionInY(G4double yPos);
44  void SetLeadGlass_CenterPositionInZ(G4double zPos);
48 
55 
56  void SetLeadGlass_TiltAngleInX(G4double xTiltAngle);
57  void SetLeadGlass_TiltAngleInY(G4double yTiltAngle);
58  void SetLeadGlass_TiltAngleInZ(G4double zTiltAngle);
62 
63  void SetLeadGlass_Enabled();
64  void SetLeadGlass_Disabled();
65 
66  G4LogicalVolume* GetLeadGlass_LogicalVolume() {return LeadGlass_Logical;}
67  G4VPhysicalVolume* GetLeadGlass_PhysicalVolume() {return LeadGlass_Physical;}
68 
69 private:
70 
72 
74 
76  G4LogicalVolume* LeadGlass_Logical;
77  G4VPhysicalVolume* LeadGlass_Physical;
78 
79  G4Material* LeadGlass_Material;
80 
81  G4VisAttributes* LeadGlass_VisAtt;
82 
83  //--- LeadGlass geometry
87 
88  //--- LeadGlass position
92 
96  G4ThreeVector LeadGlass_CenterPosition;
97 
98  //--- LeadGlass rotation
102  G4RotationMatrix* LeadGlass_RotationMatrix;
103 
104  //--- LeadGlass sensitive detector
105  G4VSensitiveDetector* LeadGlassSD;
106 
107 };
108 
109 
110 
111 /////// --------------------------------------------------------------------
112 
113 #endif
114 
115 /////// --------------------------------------------------------------------
116 
G4RotationMatrix * LeadGlass_RotationMatrix
G4VSensitiveDetector * LeadGlassSD
G4double GetLeadGlass_FullLengthInY()
G4double LeadGlass_TiltAngle_X
G4double GetLeadGlass_FullLengthInZ()
G4VisAttributes * LeadGlass_VisAtt
void SetLeadGlass_TiltAngleInZ(G4double zTiltAngle)
G4LogicalVolume * GetLeadGlass_LogicalVolume()
void SetLeadGlass_CenterPositionInY(G4double yPos)
G4double GetLeadGlass_CenterPositionInX()
void SetLeadGlass_FullLengthInZ(G4double dim)
void ConstructComponent(G4VPhysicalVolume *MotherVolume)
G4double GetLeadGlass_FullLengthInX()
void SetLeadGlass_Material(G4String)
G4double LeadGlass_FullLength_Z
Definition of elements and materials.
G4ThreeVector LeadGlass_CenterPosition
QweakSimLeadGlassMessenger * LeadGlassMessenger
G4double GetLeadGlass_CenterPositionInY()
G4VPhysicalVolume * GetLeadGlass_PhysicalVolume()
void SetLeadGlass_TiltAngleInX(G4double xTiltAngle)
G4VPhysicalVolume * LeadGlass_Physical
G4double LeadGlass_FullLength_Y
void SetLeadGlass_CenterPositionInX(G4double xPos)
void SetLeadGlass_CenterPositionInZ(G4double zPos)
G4double LeadGlass_CenterPosition_Y
void SetLeadGlass_FullLengthInY(G4double dim)
G4double GetLeadGlass_CenterPositionInZ()
G4double GetLeadGlass_TiltAngleInX()
G4double LeadGlass_CenterPosition_Z
G4LogicalVolume * LeadGlass_Logical
G4Material * LeadGlass_Material
void SetLeadGlass_FullLengthInX(G4double dim)
G4double GetLeadGlass_TiltAngleInZ()
void SetLeadGlass_TiltAngleInY(G4double yTiltAngle)
G4double LeadGlass_FullLength_X
G4double LeadGlass_CenterPosition_X
G4double GetLeadGlass_TiltAngleInY()
QweakSimMaterial * pMaterial