HerdSoftware  0.4.0
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  [[nodiscard]] const std::vector<float> &NormalPositions() const { return m_normPos; };
39 
40 private:
42 
43  // Internal parameters
44  float m_siWaferX;
45  float m_siWaferY;
46  float m_siWaferZ;
47  float m_siWaferGap;
48  float m_cfhPlaneZ;
49  float m_siXYGap;
50  float m_siCfGap;
51  float m_trayGap;
52 
53  std::vector<float> m_normPos; // position of each layer along the normal
54 };
55 
56 #endif /* TOPSCDBUILDER_H_ */
TopScdBuilder::m_siXYGap
float m_siXYGap
gap between silicon X and Y planes
Definition: TopScdBuilder.h:49
TopScdBuilder
Builder class for top SCD.
Definition: TopScdBuilder.h:22
SCDOptions
Definition: DetStructs.h:404
TopScdBuilder::m_siWaferX
float m_siWaferX
Definition: TopScdBuilder.h:44
TopScdBuilder::m_normPos
std::vector< float > m_normPos
Definition: TopScdBuilder.h:53
TopScdBuilder::TopScdBuilder
TopScdBuilder(SCDOptions &options)
Constructor.
Definition: TopScdBuilder.cpp:31
TopScdBuilder::m_siWaferZ
float m_siWaferZ
Definition: TopScdBuilder.h:46
TopScdBuilder::NormalPositions
const std::vector< float > & NormalPositions() const
Get the normal positions of all layers.
Definition: TopScdBuilder.h:38
DetStructs.h
TopScdBuilder::m_options
SCDOptions & m_options
Definition: TopScdBuilder.h:38
TopScdBuilder::m_siWaferY
float m_siWaferY
Definition: TopScdBuilder.h:45
TopScdBuilder::m_siWaferGap
float m_siWaferGap
gap between wafers in both view (wafer in a ladder and between ladders)
Definition: TopScdBuilder.h:47
TopScdBuilder::m_cfhPlaneZ
float m_cfhPlaneZ
CarbonFiberHoneycombe thickness.
Definition: TopScdBuilder.h:48
TopScdBuilder::m_trayGap
float m_trayGap
gap between trays
Definition: TopScdBuilder.h:51
TopScdBuilder::Build
G4LogicalVolume * Build()
Builds the top SCD.
Definition: TopScdBuilder.cpp:36
TopScdBuilder::m_siCfGap
float m_siCfGap
gap between silicon plane (both X and Y) and CarbonFiberHoneycomb
Definition: TopScdBuilder.h:50