CMS 3D CMS Logo

CastorCoderFactory.h
Go to the documentation of this file.
1 #ifndef CastorSim_CastorCoderFactory_h
2 #define CastorSim_CastorCoderFactory_h
3 
6 #include <memory>
7 
9 public:
10  enum CoderType { DB, NOMINAL };
11 
12  CastorCoderFactory(CoderType coderType);
13 
15 
17  std::unique_ptr<CastorCoder> coder(const DetId &detId) const;
18 
19 private:
22 };
23 
24 #endif
service
Definition: service.py:1
CastorCoderFactory::theCoderType
CoderType theCoderType
Definition: CastorCoderFactory.h:20
CastorCoder.h
CastorCoderFactory::theDbService
const CastorDbService * theDbService
Definition: CastorCoderFactory.h:21
CastorCoderFactory::coder
std::unique_ptr< CastorCoder > coder(const DetId &detId) const
user gets control of the pointer
Definition: CastorCoderFactory.cc:7
DetId
Definition: DetId.h:17
CastorCoderFactory::NOMINAL
Definition: CastorCoderFactory.h:10
CastorCoderFactory::setDbService
void setDbService(const CastorDbService *service)
Definition: CastorCoderFactory.h:14
CastorCoderFactory::CoderType
CoderType
Definition: CastorCoderFactory.h:10
CastorDbService
Definition: CastorDbService.h:28
CastorCoderFactory
Definition: CastorCoderFactory.h:8
CastorDbService.h
CastorCoderFactory::DB
Definition: CastorCoderFactory.h:10
CastorCoderFactory::CastorCoderFactory
CastorCoderFactory(CoderType coderType)
Definition: CastorCoderFactory.cc:5