HerdSoftware  0.1.1
TopStkBuilder.h
Go to the documentation of this file.
1 /*
2  * TopStkBuilder.h
3  *
4  * Created on: 29 Mar 2018
5  * Author: Nicola Mori
6  */
7 
9 
12 #ifndef TOPSTKBUILDER_H_
13 #define TOPSTKBUILDER_H_
14 
15 class G4LogicalVolume;
16 
24 public:
26  TopStkBuilder(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 _cfhPlaneZ; // CarbonFiberHoneycombe thickness
50  float _topSiGap; // gap between silicon plane and CarbonFiberHoneycomb
51  float _siGap; // gap between silicon plane and CarbonFiberHoneycomb or TungestenPlane
52  float _topTrayGap; // gap between trays
53 
54  std::vector<float> normPos; // position of each layer along the normal
55 };
56 
57 #endif /* TOPSTKBUILDER_H_ */
Builder class for top STK.
Definition: TopStkBuilder.h:23
float _siWaferGap
Definition: TopStkBuilder.h:48
float _topTrayGap
Definition: TopStkBuilder.h:52
G4LogicalVolume * Build()
Builds the top STK.
Definition: TopStkBuilder.cpp:27
TopStkBuilder(STKOptions &options)
Constructor.
Definition: TopStkBuilder.cpp:23
float _siGap
Definition: TopStkBuilder.h:51
STKOptions & _options
Definition: TopStkBuilder.h:42
float _siWaferX
Definition: TopStkBuilder.h:45
std::vector< float > normPos
Definition: TopStkBuilder.h:54
std::vector< float > NormalPositions()
Get the normal positions of all layers.
Definition: TopStkBuilder.h:39
float _topSiGap
Definition: TopStkBuilder.h:50
float _cfhPlaneZ
Definition: TopStkBuilder.h:49
Definition: DetStructs.h:312
float _siWaferY
Definition: TopStkBuilder.h:46
float _siWaferZ
Definition: TopStkBuilder.h:47