#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 11 of file HcalCoderFactory.h.
HcalCoderFactory::HcalCoderFactory | ( | CoderType | coderType | ) |
Definition at line 7 of file HcalCoderFactory.cc.
user gets control of the pointer
Definition at line 11 of file HcalCoderFactory.cc.
References assert(), DB, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), mps_fire::result, theCoderType, and theDbService.
Referenced by HcalElectronicsSim::convert().
|
inline |
Definition at line 15 of file HcalCoderFactory.h.
References theDbService.
Referenced by HcalTBDigiProducer::initializeEvent(), and HcalDigitizer::initializeEvent().
|
private |
Definition at line 22 of file HcalCoderFactory.h.
Referenced by coder().
|
private |
Definition at line 23 of file HcalCoderFactory.h.
Referenced by coder(), and setDbService().