40 : useDDL_(iConfig.getParameter<
bool>(
"useDDL")), useDD4hep_(iConfig.getParameter<
bool>(
"useDD4hep")) {
47 throw cms::Exception(
"TotemGeometryESModule") <<
"Geometry must either be retrieved from a DDL or DD4hep payload!";
62 desc.add<
bool>(
"useDDL",
true);
63 desc.add<
bool>(
"useDD4hep",
false);
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
uint32_t cc[maxCellsPerHit]
std::unique_ptr< TotemGeometry > produce(const TotemGeometryRcd &)
TotemGeometryESModule(const edm::ParameterSet &)
std::unique_ptr< DetGeomDesc > buildDetGeomDescFromCompactView(const DDCompactView &myCompactView, const bool isRun2)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Event setup record containing the real (actual) geometry information.
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > dd4hepToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddlToken_