CMS 3D CMS Logo

CastorHardcodeGeometryLoader.h
Go to the documentation of this file.
1 #ifndef Geometry_ForwardGeometry_CastorHardcodeGeometryLoader_H
2 #define Geometry_ForwardGeometry_CastorHardcodeGeometryLoader_H 1
3 
6 
7 class CaloCellGeometry;
9 class HcalCastorDetId;
10 
12 public:
14  explicit CastorHardcodeGeometryLoader(const CastorTopology& ht);
16 
17  virtual std::unique_ptr<CaloSubdetectorGeometry> load(DetId::Detector det, int subdet);
18  std::unique_ptr<CaloSubdetectorGeometry> load();
19 
20 private:
21  void init();
23  void makeCell(const HcalCastorDetId& detId, CaloSubdetectorGeometry* geom) const;
24 
27 
34 };
35 
36 #endif
void fill(HcalCastorDetId::Section section, CaloSubdetectorGeometry *cg)
void makeCell(const HcalCastorDetId &detId, CaloSubdetectorGeometry *geom) const
std::unique_ptr< CaloSubdetectorGeometry > load()
Detector
Definition: DetId.h:24