StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIstDetectorBuilder1.h
1 #ifndef StiIstDetectorBuilder1_h
2 #define StiIstDetectorBuilder1_h
3 
4 #include "StiIst/StiIstDetectorBuilder.h"
5 
6 class StiMaterial;
7 class StiPlacement;
8 
9 
11 {
12 public:
13 
14  StiIstDetectorBuilder1(bool active, bool buildIdealGeom = true);
15 
16 protected:
17 
18  virtual void buildInactiveVolumes();
19 
20 private:
21 
22  void buildPlanerVolume(StiDetector& detector, std::string detName, float halfDepth, float thickness, float halfWidth,
23  float yShift, float rShift, float zShift, StiPlacement *placement, StiMaterial *mat);
24  void buildTubeVolume(StiDetector& detector, std::string detName, float halfDepth, float thickness,
25  float outerRadius, float openingAngle, float zCenter, StiMaterial *mat);
26 };
27 
28 #endif