#include <CastorCoderFactory.h>
Public Types | |
enum | CoderType { DB, NOMINAL } |
Public Member Functions | |
CastorCoderFactory (CoderType coderType) | |
std::unique_ptr< CastorCoder > | coder (const DetId &detId) const |
user gets control of the pointer More... | |
void | setDbService (const CastorDbService *service) |
Private Attributes | |
CoderType | theCoderType |
const CastorDbService * | theDbService |
Definition at line 8 of file CastorCoderFactory.h.
CastorCoderFactory::CastorCoderFactory | ( | CoderType | coderType | ) |
Definition at line 5 of file CastorCoderFactory.cc.
std::unique_ptr< CastorCoder > CastorCoderFactory::coder | ( | const DetId & | detId | ) | const |
user gets control of the pointer
Definition at line 7 of file CastorCoderFactory.cc.
References cms::cuda::assert(), DB, CastorDbService::getCastorCoder(), CastorDbService::getCastorShape(), mps_fire::result, theCoderType, and theDbService.
Referenced by CastorElectronicsSim::convert().
|
inline |
Definition at line 14 of file CastorCoderFactory.h.
References theDbService.
Referenced by CastorDigiProducer::initializeEvent().
|
private |
Definition at line 20 of file CastorCoderFactory.h.
Referenced by coder().
|
private |
Definition at line 21 of file CastorCoderFactory.h.
Referenced by coder(), and setDbService().