HerdSoftware  0.1.1
TilePsdBuilder.h
Go to the documentation of this file.
1 /*
2  * TileTopPsdBuilder.h
3  *
4  * Created on: 30 Mar 2018
5  * Author: Nicola Mori
6  */
7 
11 
12 #ifndef TILEPSDBUILDER_H_
13 #define TILEPSDBUILDER_H_
14 
15 class G4LogicalVolume;
16 
17 #include <vector>
18 
26 public:
27  enum class Type { TOP, SIDE };
28 
34  TilePsdBuilder(PSDOptions &options, Type type);
35 
40  G4LogicalVolume *Build();
41 
47  const std::vector<float> &NormalPositions() const { return normPos; }
48 
49 private:
50  // Internal parameters
53 
54  std::vector<float> normPos; // position of each layer along the normal
55 };
56 
57 #endif /* TILEPSDBUILDER_H_ */
Type
Definition: TilePsdBuilder.h:27
const std::vector< float > & NormalPositions() const
Get the normal positions of all layers.
Definition: TilePsdBuilder.h:47
Type _type
Definition: TilePsdBuilder.h:52
std::vector< float > normPos
Definition: TilePsdBuilder.h:54
PSDOptions & _options
Definition: TilePsdBuilder.h:51
Builder class for tile top PSD.
Definition: TilePsdBuilder.h:25
Definition: DetStructs.h:141
G4LogicalVolume * Build()
Builds the tile top PSD.
Definition: TilePsdBuilder.cpp:23
TilePsdBuilder(PSDOptions &options, Type type)
Constructor.
Definition: TilePsdBuilder.cpp:21