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