CMS 3D CMS Logo

MTDGeomBuilderFromGeometricTimingDet.h
Go to the documentation of this file.
1 #ifndef Geometry_MTDGeometryBuilder_MTDGeomBuilderFromGeometricTimingDet_H
2 #define Geometry_MTDGeometryBuilder_MTDGeomBuilderFromGeometricTimingDet_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
10 
11 class MTDGeometry;
12 class MTDTopology;
13 class MTDGeomDetType;
14 class PMTDParameters;
15 
17 public:
18  MTDGeometry* build(const GeometricTimingDet* gd, const PMTDParameters& ptp, const MTDTopology* tTopo);
19 
20 private:
21  void buildPixel(std::vector<const GeometricTimingDet*> const&,
22  MTDGeometry*,
24  const PMTDParameters& ptp);
26 
28  double scaleFactor = 1.) const;
29 
30  std::map<std::string, const MTDGeomDetType*> theMTDDetTypeMap;
32 };
33 
34 #endif
constexpr G4double scaleFactor
MTDGeometry * build(const GeometricTimingDet *gd, const PMTDParameters &ptp, const MTDTopology *tTopo)
void buildPixel(std::vector< const GeometricTimingDet *> const &, MTDGeometry *, GeomDetType::SubDetector det, const PMTDParameters &ptp)
std::map< std::string, const MTDGeomDetType * > theMTDDetTypeMap
PlaneBuilderFromGeometricTimingDet::ResultType buildPlaneWithMaterial(const GeometricTimingDet *gd, double scaleFactor=1.) const