StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIstDetectorBuilder.h
1 // $Id: StiIstDetectorBuilder.h,v 1.9 2014/08/22 17:49:39 perev Exp $
2 //
3 // $Log: StiIstDetectorBuilder.h,v $
4 // Revision 1.9 2014/08/22 17:49:39 perev
5 // Remove never used input file
6 //
7 // Revision 1.8 2009/03/16 13:51:00 fisyak
8 // Move out all Sti Chairs into StDetectorDb
9 //
10 // Revision 1.7 2009/02/06 21:26:49 wleight
11 // UPGR15 Update
12 //
13 // Revision 1.6 2008/04/03 20:04:21 fisyak
14 // Straighten out DB access via chairs
15 //
16 // Revision 1.5 2007/04/23 00:44:58 wleight
17 // Made all layers, not just inner ones, active
18 //
19 // Revision 1.4 2006/12/14 22:01:48 wleight
20 // Changed hit errors so that they are obtained from the database and are different for each layer
21 //
22 // Revision 1.3 2006/10/20 18:43:12 wleight
23 // Changes to make perfect hits in the IST work with UPGR05
24 //
25 // Revision 1.10 2006/06/28 18:51:46 fisyak
26 // Add loading of tracking and hit error parameters from DB
27 //
28 // Revision 1.9 2005/06/21 16:35:01 lmartin
29 // DetectorBuilder updated with the correct methods from StIstUtil
30 //
31 // Revision 1.8 2005/06/21 15:31:47 lmartin
32 // CVS tags added
33 //
41 #ifndef StiIstDetectorBuilder_H
42 #define StiIstDetectorBuilder_H
43 //#include "StSsdUtil/StSsdGeometry.hh"
44 //#include "StSsdUtil/StSsdConfig.hh"
45 #include "Sti/StiDetectorBuilder.h"
46 //#include "StDetectorDbMaker/StiHitErrorCalculator.h"
47 #include "StThreeVector.hh"
48 
50 {
51 
52  private :
53  //StSsdConfig* mSsdConfig; //!
54  //StSsdGeometry* mSsdGeom; //!
55  public:
56  StiIstDetectorBuilder(bool active);
57  virtual ~StiIstDetectorBuilder();
58  virtual void buildDetectors(StMaker& source);
59  virtual void AverageVolume(TGeoPhysicalNode *nodeP);
60  virtual void loadDS(TDataSet&);
61  //virtual void setDefaults();
62  virtual void useVMCGeometry();
63  void setSiMat(StiMaterial *m) {_siMat = m;}
64  void setHybridMat(StiMaterial *m) {_hybridMat = m;}
65  StiMaterial *getSiMat() {return _siMat;}
66  StiMaterial *getHybridMat(){return _hybridMat;}
67 
68  protected:
69  //float phiForSsdLadder(unsigned int iLadder) const;
70  //float radiusForSsdLadder(unsigned int iLadder) const;
71  StiMaterial *_siMat;
72  StiMaterial *_hybridMat;
73  StiPlanarShape * _waferShape[1];
74  StiPlanarShape * _hybridShape[1];
75  //StSsdConfig * _config;
76  //StSsdGeometry * _geometry;
77  //StSsdGeometry * _dimensions;
78  //StiDefaultHitErrorCalculator _hitCalculator1;
79  //StiDefaultHitErrorCalculator _hitCalculator2;
80  //StiDefaultHitErrorCalculator _hitCalculator3;
81 };
82 #endif
virtual void buildDetectors(StMaker &source)
StiIstDetectorBuilder(bool active, bool buildIdealGeom=true)