CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalDDDGeometry.h
Go to the documentation of this file.
1 #ifndef Geometry_HcalTowerAlgo_HcalDDDGeometry_h
2 #define Geometry_HcalTowerAlgo_HcalDDDGeometry_h
3 
7 
8 #include <vector>
9 
11 
12 public:
13 
14  explicit HcalDDDGeometry();
16  virtual ~HcalDDDGeometry();
17 
18  virtual const std::vector<DetId>& getValidDetIds( DetId::Detector det = DetId::Detector ( 0 ) ,
19  int subdet = 0 ) const;
20 
21  virtual DetId getClosestCell(const GlobalPoint& r) const ;
22 
23  int insertCell (std::vector<HcalCellType> const & );
24 
25 private:
26 
27  mutable std::vector<DetId> m_validIds ;
28 
29  std::vector<HcalCellType> hcalCells_;
31  mutable int lastReqSubdet_;
32 
33  double twopi, deg;
35 };
36 
37 
38 #endif
39 
virtual ~HcalDDDGeometry()
The HcalDDDGeometry will delete all its cell geometries at destruction time.
int insertCell(std::vector< HcalCellType > const &)
std::vector< HcalCellType > hcalCells_
Definition: DetId.h:20
Detector
Definition: DetId.h:26
std::vector< DetId > m_validIds
virtual const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const
Get a list of valid detector ids (for the given subdetector)
DetId::Detector lastReqDet_
virtual DetId getClosestCell(const GlobalPoint &r) const