HerdSoftware  0.1.1
SideStkBuilder.h
Go to the documentation of this file.
1 /*
2  * SideStkBuilder.h
3  *
4  * Created on: 30 Mar 2018
5  * Author: Nicola Mori
6  */
7 
10 #ifndef SIDESTKBUILDER_H_
11 #define SIDESTKBUILDER_H_
12 
14 
15 class G4LogicalVolume;
16 
24 public:
26  SideStkBuilder(STKOptions &options);
27 
32  G4LogicalVolume *Build();
33 
39  std::vector<float> NormalPositions() { return normPos; };
40 
41 private:
43 
44  // Internal parameters
45  float _siWaferX;
46  float _siWaferY;
47  float _siWaferZ;
48  float _siWaferGap; // gap between wafers in both view (wafer in a ladder and between ladders)
49  float _wPlaneZ; // tungstenMat thickness
50  float _cfhPlaneZ; // CarbonFiberHoneycombe thickness
51  float _sideSiGap; // gap between silicon plane and CarbonFiberHoneycomb
52  float _siGap; // gap between silicon plane and CarbonFiberHoneycomb or TungestenPlane
53  float _sideTrayGap; // gap between trays
54 
55  std::vector<float> normPos; // position of each layer along the normal
56 };
57 
58 #endif /* SIDESTKBUILDER_H_ */
float _siWaferZ
Definition: SideStkBuilder.h:47
float _siWaferX
Definition: SideStkBuilder.h:45
std::vector< float > normPos
Definition: SideStkBuilder.h:55
G4LogicalVolume * Build()
Builds the side STK.
Definition: SideStkBuilder.cpp:27
float _sideSiGap
Definition: SideStkBuilder.h:51
SideStkBuilder(STKOptions &options)
Constructor.
Definition: SideStkBuilder.cpp:23
float _siWaferGap
Definition: SideStkBuilder.h:48
STKOptions & _options
Definition: SideStkBuilder.h:39
float _siGap
Definition: SideStkBuilder.h:52
std::vector< float > NormalPositions()
Get the normal positions of all layers.
Definition: SideStkBuilder.h:39
float _wPlaneZ
Definition: SideStkBuilder.h:49
float _cfhPlaneZ
Definition: SideStkBuilder.h:50
Definition: DetStructs.h:312
float _sideTrayGap
Definition: SideStkBuilder.h:53
Builder class for side STK.
Definition: SideStkBuilder.h:23
float _siWaferY
Definition: SideStkBuilder.h:46