StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiSstDetectorBuilder.h
1 #ifndef StiSstDetectorBuilder_H
2 #define StiSstDetectorBuilder_H
3 
4 #include <string>
5 
6 #include "Sti/StiDetectorBuilder.h"
7 #include "StDetectorDbMaker/StiHitErrorCalculator.h"
8 #include "StSsdDbMaker/StSstDbMaker.h"
9 
10 class StiDetector;
11 class StiIsActiveFunctor;
12 class StiShape;
13 class StiPlacement;
14 class StiMaterial;
15 
16 
25 {
26 
27 public:
28 
29  StiSstDetectorBuilder(bool active, bool buildIdealGeom=true);
30  virtual void buildDetectors(StMaker &source);
31  virtual void useVMCGeometry();
32 
33 protected:
34 
35  virtual void buildInactiveVolumes();
36 
38  static std::string formTGeoPath(int ladder, int sensor);
39 
40  bool mBuildIdealGeom;
41  StSstDbMaker *mSstDb;
42 };
43 #endif
static std::string formTGeoPath(int ladder, int sensor)
Returns a TGeo path to the sensor in the given ladder.
virtual void buildDetectors(StMaker &source)
function object for determine a detector&#39;s active regions
StiSstDetectorBuilder(bool active, bool buildIdealGeom=true)