00001 #ifndef CaloSimAlgos_CaloShapes_h 00002 #define CaloSimAlgos_CaloShapes_h 00003 00006 #include "DataFormats/DetId/interface/DetId.h" 00007 class CaloVShape; 00008 00009 class CaloShapes 00010 { 00011 public: 00012 CaloShapes(): theShape(0) {} 00013 // doesn't take ownership of the pointer 00014 CaloShapes(const CaloVShape * shape) : theShape(shape) {} 00015 virtual const CaloVShape * shape(const DetId & detId) const {return theShape;} 00016 00017 private: 00018 const CaloVShape * theShape; 00019 }; 00020 00021 #endif 00022