QwGeant4
QweakSimTriggerScintillator.hh
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // ---------------------------
4 // | Doxygen File Information |
5 // ---------------------------
6 /**
7 
8  \file QweakSimTriggerScintillator.hh
9  $Revision: 1.2 $
10  $Date: 2005/12/27 19:27:45 $
11  \author Klaus Hans Grimm
12 
13 */
14 //=============================================================================
15 //
16 //=============================================================================
17 //
18 // ---------------------------
19 // | Doxygen Class Information |
20 // ---------------------------
21 /**
22  \class QweakSimTriggerScintillator
23 
24  \brief Definition of the Trigger Scintillator detector
25 
26  Placeholder for a long explaination
27 
28  */
29 //=============================================================================
30 //
31 //=============================================================================
32 // -----------------------
33 // | CVS File Information |
34 // -----------------------
35 //
36 // Last Update: $Author: grimm $
37 // Update Date: $Date: 2005/12/27 19:27:45 $
38 // CVS/RCS Revision: $Revision: 1.2 $
39 // Status: $State: Exp $
40 //
41 // ===================================
42 // CVS Revision Log at end of file !!
43 // ===================================
44 //
45 //=============================================================================
46 
47 #ifndef QweakSimTriggerScintillator_h
48 #define QweakSimTriggerScintillator_h
49 
50 // geant4 includes
51 #include "G4LogicalVolume.hh"
52 
53 // user classes
54 class QweakSimMaterial;
56 
58 {
59 public:
62 
63  void ConstructComponent(G4VPhysicalVolume* MotherVolume);
65  void DestroyComponent();
66  void SetTriggerScintillatorMaterial(G4String materialName);
67 
68  void SetTriggerScintillatorCenterPositionInX(G4double xPos, G4int pkg = 0);
69  void SetTriggerScintillatorCenterPositionInY(G4double yPos, G4int pkg = 0);
70  void SetTriggerScintillatorCenterPositionInZ(G4double zPos, G4int pkg = 0);
71  void SetTriggerScintillatorTiltAngle(G4double tiltangle);
72  void SetTriggerScintillatorPhiAngle(G4double phiangle);
73  void SetTriggerScintillatorThickness(G4double thickness);
74 
75 
78 
79 private:
80 
83 
85 
87 
88  G4VPhysicalVolume* theMotherPV; // pointer to the Mother Volume
89 
91  std::vector<G4VPhysicalVolume*> TriggerScintillatorContainer_Physical;
93 
94  G4LogicalVolume* TriggerScintillator_Logical;
95  G4VPhysicalVolume* TriggerScintillator_Physical;
97 
101 
105 
107 
108 
109  G4double Tilting_Angle; // total tilting angle towards mean track
110  G4double Phi_Angle; //Phi angle of Trigger Scintillator of package 1
111  G4double Thickness;
112 
113 
114  // placing the container
116  std::vector<G4RotationMatrix*> Rotation_TriggerScintillatorContainer;
117 
118  // placing the right SingleBar
120 
121  // pointer to the sensitive detector
122  G4VSensitiveDetector* TriggerScintillatorSD;
123 
127 
128 
129 };
130 
131 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
132 
133 #endif
134 
135 //=======================================================================================
136 // -----------------------
137 // | CVS File Information |
138 // -----------------------
139 //
140 // $Revisions$
141 // $Log: QweakSimTriggerScintillator.hh,v $
142 // Revision 1.2 2005/12/27 19:27:45 grimm
143 // - Redesign of Doxygen header containing CVS info like revision and date
144 // - Added CVS revision log at the end of file
145 //
146 //
G4VPhysicalVolume * GetTriggerScintillator_PhysicalVolume()
G4VSensitiveDetector * TriggerScintillatorSD
std::vector< G4RotationMatrix * > Rotation_TriggerScintillatorContainer
std::vector< G4double > Position_TriggerScintillatorContainer_Z
void SetTriggerScintillatorCenterPositionInY(G4double yPos, G4int pkg=0)
void SetTriggerScintillatorTiltAngle(G4double tiltangle)
void SetTriggerScintillatorMaterial(G4String materialName)
void SetTriggerScintillatorPhiAngle(G4double phiangle)
void SetTriggerScintillatorCenterPositionInZ(G4double zPos, G4int pkg=0)
G4VPhysicalVolume * TriggerScintillator_Physical
Definition of elements and materials.
void ConstructComponent(G4VPhysicalVolume *MotherVolume)
std::vector< G4VPhysicalVolume * > TriggerScintillatorContainer_Physical
G4LogicalVolume * TriggerScintillatorContainer_Logical
std::vector< G4double > Position_TriggerScintillatorContainer_X
void SetTriggerScintillatorThickness(G4double thickness)
std::vector< G4double > Position_TriggerScintillatorContainer_Y
QweakSimTriggerScintillatorMessenger * TriggerScintillatorMessenger
void SetTriggerScintillatorCenterPositionInX(G4double xPos, G4int pkg=0)
Definition of the Trigger Scintillator detector.
G4LogicalVolume * GetTriggerScintillator_LogicalVolume()
Scans the input file for /Scintillator/xyz commands.