31 doEE_ = ((num % 2) == 1);
32 doHE_ = (((num / 2) % 2) == 1);
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
T getUntrackedParameter(std::string const &, T const &) const
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
static void enroll(SimActivityRegistry &iReg, T *iObj)
#define DEFINE_SENSITIVEDETECTORBUILDER(type, name)
edm::ESHandle< HGCalDDDConstants > hgcalEE_
edm::ESHandle< HGCalDDDConstants > hgcalHE_
T const * product() const
T getParameter(std::string const &) const
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hgcHEToken_
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hgcEEToken_