57 const std::string metname =
"MTD|RecoMTD|RecoMTDDetLayers|MTDDetLayerGeometryESProducer";
58 LogInfo(metname) <<
"No MTD geometry is available.";
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static std::vector< DetLayer * > buildLayers(const MTDGeometry &geo)
Operations.
const std::string metname
ESHandle< ProductT > getHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
MTDDetLayerGeometryESProducer(const edm::ParameterSet &p)
Constructor.
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::unique_ptr< MTDDetLayerGeometry > produce(const MTDRecoGeometryRecord &record)
Produce MuonDeLayerGeometry.
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > geomToken_
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildLayers(const MTDGeometry &geo)