CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalCoderFactory.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalCoderFactory_h
2 #define HcalSimAlgos_HcalCoderFactory_h
3 
4 #include <memory>
7 
9 {
10 public:
12 
13  HcalCoderFactory(CoderType coderType);
14 
15  void setDbService(const HcalDbService * service) {theDbService = service;}
16 
18  std::auto_ptr<HcalCoder> coder(const DetId & detId) const;
19 
20 private:
21 
24 };
25 
26 #endif
27 
const HcalDbService * theDbService
HcalCoderFactory(CoderType coderType)
Definition: DetId.h:18
void setDbService(const HcalDbService *service)
CoderType theCoderType
std::auto_ptr< HcalCoder > coder(const DetId &detId) const
user gets control of the pointer