CMS 3D CMS Logo

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 public:
10  enum CoderType { DB, NOMINAL };
11 
12  HcalCoderFactory(CoderType coderType);
13 
15 
17  std::unique_ptr<HcalCoder> coder(const DetId& detId) const;
18 
19 private:
22 };
23 
24 #endif
service
Definition: service.py:1
HcalCoderFactory::HcalCoderFactory
HcalCoderFactory(CoderType coderType)
Definition: HcalCoderFactory.cc:5
HcalCoder.h
HcalCoderFactory::theCoderType
CoderType theCoderType
Definition: HcalCoderFactory.h:20
HcalCoderFactory
Definition: HcalCoderFactory.h:8
DetId
Definition: DetId.h:17
HcalCoderFactory::setDbService
void setDbService(const HcalDbService *service)
Definition: HcalCoderFactory.h:14
HcalCoderFactory::coder
std::unique_ptr< HcalCoder > coder(const DetId &detId) const
user gets control of the pointer
Definition: HcalCoderFactory.cc:7
HcalCoderFactory::theDbService
const HcalDbService * theDbService
Definition: HcalCoderFactory.h:21
HcalDbService
Definition: HcalDbService.h:26
HcalCoderFactory::NOMINAL
Definition: HcalCoderFactory.h:10
HcalDbService.h
HcalCoderFactory::DB
Definition: HcalCoderFactory.h:10
HcalCoderFactory::CoderType
CoderType
Definition: HcalCoderFactory.h:10