StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiSvtDetectorBuilder.h
1 #ifndef StiSvtDetectorBuilder_H
2 #define StiSvtDetectorBuilder_H
3 #include "StSvtClassLibrary/StSvtConfig.hh"
4 #include "StSvtClassLibrary/StSvtGeometry.hh"
5 #include "StThreeVector.hh"
6 #include "Sti/StiDetectorBuilder.h"
7 #include "StDetectorDbMaker/StiHitErrorCalculator.h"
8 
10 {
11  public:
12  StiSvtDetectorBuilder(bool active);
13  virtual ~StiSvtDetectorBuilder();
14 
15  virtual void buildDetectors(StMaker& source);
16  virtual void useVMCGeometry();
17  void setSiMat(StiMaterial *m) {_siMat = m;}
18  void setHybridMat(StiMaterial *m) {_hybridMat = m;}
19  StiMaterial *getSiMat() {return _siMat;}
20  StiMaterial *getHybridMat(){return _hybridMat;}
21  protected:
22  StiMaterial * _siMat;
23  StiMaterial * _hybridMat;
24  StiPlanarShape * _waferShape[6];
25  StiPlanarShape * _hybridShape[6];
26  StSvtConfig * _config;
27  StSvtGeometry * _geometry;
28 };
29 #endif