#include <HcalCoderFactory.h>
Public Types | |
enum | CoderType { DB, NOMINAL } |
Public Member Functions | |
std::unique_ptr< HcalCoder > | coder (const DetId &detId) const |
user gets control of the pointer More... | |
HcalCoderFactory (CoderType coderType) | |
void | setDbService (const HcalDbService *service) |
Private Attributes | |
CoderType | theCoderType |
const HcalDbService * | theDbService |
Definition at line 8 of file HcalCoderFactory.h.
Enumerator | |
---|---|
DB | |
NOMINAL |
Definition at line 10 of file HcalCoderFactory.h.
HcalCoderFactory::HcalCoderFactory | ( | CoderType | coderType | ) |
Definition at line 5 of file HcalCoderFactory.cc.
user gets control of the pointer
Definition at line 7 of file HcalCoderFactory.cc.
References DB, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), mps_fire::result, theCoderType, and theDbService.
Referenced by HcalElectronicsSim::convert(), and setDbService().
|
inline |
Definition at line 14 of file HcalCoderFactory.h.
References coder(), and theDbService.
Referenced by HcalTBDigiProducer::initializeEvent().
|
private |
Definition at line 20 of file HcalCoderFactory.h.
Referenced by coder().
|
private |
Definition at line 21 of file HcalCoderFactory.h.
Referenced by coder(), and setDbService().