HerdSoftware  0.1.1
SideScdBuilder.h
Go to the documentation of this file.
1 /*
2  * SideScdBuilder.h
3  *
4  * Created on: 10 September 2019
5  * Author: Lorenzo Pacini
6  */
7 
10 #ifndef SIDESCDBUILDER_H_
11 #define SIDESCDBUILDER_H_
12 
14 
15 class G4LogicalVolume;
16 
23 public:
25  SideScdBuilder(SCDOptions &options);
26 
31  G4LogicalVolume *Build();
32 
38  std::vector<float> NormalPositions() { return normPos; }
39 
40 private:
42 
43  // Internal parameters
44  float _siWaferX;
45  float _siWaferY;
46  float _siWaferZ;
47  float _siWaferGap;
48  float _cfhPlaneZ;
49  float _siXYGap;
50  float _siCfGap;
51  float _trayGap;
52 
53  std::vector<float> normPos;
54 };
55 
56 #endif /* SIDESCDBUILDER_H_ */
float _siWaferZ
Definition: SideScdBuilder.h:46
float _siCfGap
gap between silicon plane (both X and Y) and CarbonFiberHoneycomb
Definition: SideScdBuilder.h:50
float _cfhPlaneZ
CarbonFiberHoneycombe thickness.
Definition: SideScdBuilder.h:48
float _siWaferX
Definition: SideScdBuilder.h:44
float _siWaferGap
gap between wafers in both view (wafer in a ladder and between ladders)
Definition: SideScdBuilder.h:47
std::vector< float > NormalPositions()
Get the normal positions of all layers.
Definition: SideScdBuilder.h:38
std::vector< float > normPos
position of each layer along the normal
Definition: SideScdBuilder.h:53
Builder class for side SCD.
Definition: SideScdBuilder.h:22
float _trayGap
gap between trays
Definition: SideScdBuilder.h:51
SCDOptions & _options
Definition: SideScdBuilder.h:41
float _siWaferY
Definition: SideScdBuilder.h:45
SideScdBuilder(SCDOptions &options)
Constructor.
Definition: SideScdBuilder.cpp:31
G4LogicalVolume * Build()
Builds the side SCD.
Definition: SideScdBuilder.cpp:36
Definition: DetStructs.h:411
float _siXYGap
gap between silicon X and Y planes
Definition: SideScdBuilder.h:49