37 auto par = ((iname ==
"EcalHitsEB") ?
ebPar_ : ((iname ==
"HcalHits") ?
hcPar_ :
nullptr));
38 auto sd = std::make_unique<HcalTB02SD>(iname, par, clg,
p, man);
uint32_t cc[maxCellsPerHit]
const HcalTB02Parameters * ebPar_
HcalTB02SensitiveDetectorBuilder(edm::ParameterSet const &p, edm::ConsumesCollector cc)
const edm::ESGetToken< HcalTB02Parameters, IdealGeometryRecord > hcParToken_
static void enroll(SimActivityRegistry &iReg, T *iObj)
#define DEFINE_SENSITIVEDETECTORBUILDER(type, name)
const edm::ESGetToken< HcalTB02Parameters, IdealGeometryRecord > ebParToken_
const HcalTB02Parameters * hcPar_
void beginRun(const edm::EventSetup &es) final
std::unique_ptr< SensitiveDetector > make(const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry ®) const final
HcalTB02SD HcalTB02SensitiveDetector