test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHardcodeGeometryLoader.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_HCALTOWERALGO_HCALHARDCODEGEOMETRYLOADER_H
2 #define GEOMETRY_HCALTOWERALGO_HCALHARDCODEGEOMETRYLOADER_H 1
3 
6 
7 class CaloCellGeometry;
8 class HcalDetId;
9 
18 {
19  public:
20 
22 
23  explicit HcalHardcodeGeometryLoader(const HcalTopology& ht);
25 
26  ReturnType load(DetId::Detector det, int subdet);
28  ReturnType load();
29 
30  private:
31  void init();
34 
35  void fill( HcalSubdetector subdet,
36  int firstEtaRing,
37  int lastEtaRing,
38  ReturnType cg );
39 
40  void makeCell( const HcalDetId& detId,
41  ReturnType geom ) const;
42 
45 
48  double theHEZPos[4];
49  double theHFZPos[2];
50 
56 };
57 
58 #endif
CaloSubdetectorGeometry * ReturnType
HcalHardcodeGeometryLoader(const HcalTopology &ht)
HcalSubdetector
Definition: HcalAssistant.h:31
void fill(HcalSubdetector subdet, int firstEtaRing, int lastEtaRing, ReturnType cg)
Detector
Definition: DetId.h:24
void makeCell(const HcalDetId &detId, ReturnType geom) const
ReturnType load()
Load all of HCAL.