52 auto sd = std::make_unique<HGCalSD>(iname,
hgc, clg,
p, man);
55 const auto& dets = clg.logicalNames(iname);
56 edm::LogVerbatim(
"HGCSim") <<
"HGCalSensitiveDetectorBuilder for " << iname <<
" utilizes " << dets.size()
58 for (
unsigned int k = 0;
k < dets.size(); ++
k)
Log< level::Info, true > LogVerbatim
void beginRun(const edm::EventSetup &es) final
HGCalSensitiveDetectorBuilder(edm::ParameterSet const &p, edm::ConsumesCollector cc)
std::unique_ptr< SensitiveDetector > make(const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry ®) const final
HGCalSD HGCalSensitiveDetector
T getUntrackedParameter(std::string const &, T const &) const
static void enroll(SimActivityRegistry &iReg, T *iObj)
#define DEFINE_SENSITIVEDETECTORBUILDER(type, name)
T const * product() const
edm::ESHandle< HGCalDDDConstants > hgcalEE_
edm::ESHandle< HGCalDDDConstants > hgcalHE_
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hgcHEToken_
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hgcEEToken_