35 setWhatProduced(
this);
42 std::unique_ptr<MuonDetLayerGeometry>
45 const std::string metname =
"Muon|RecoMuon|RecoMuonDetLayers|MuonDetLayerGeometryESProducer";
46 auto muonDetLayerGeometry = std::make_unique<MuonDetLayerGeometry>();
54 LogInfo(metname) <<
"No DT geometry is available.";
63 LogInfo(metname) <<
"No CSC geometry is available.";
72 LogInfo(metname) <<
"No GEM geometry is available.";
81 LogDebug(metname) <<
"No ME0 geometry is available.";
91 LogInfo(metname) <<
"No RPC geometry is available.";
96 muonDetLayerGeometry->sortLayers();
98 return muonDetLayerGeometry;
const std::string metname
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildLayers(const CSCGeometry &geo)
static std::vector< DetLayer * > buildLayers(const DTGeometry &geo)
Operations.
const DepRecordT getRecord() const
~MuonDetLayerGeometryESProducer() override
Destructor.
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const ME0Geometry &geo)
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const RPCGeometry &geo)
std::unique_ptr< MuonDetLayerGeometry > produce(const MuonRecoGeometryRecord &record)
Produce MuonDeLayerGeometry.
MuonDetLayerGeometryESProducer(const edm::ParameterSet &p)
Constructor.
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const GEMGeometry &geo)
static std::vector< DetLayer * > buildBarrelLayers(const RPCGeometry &geo)
Builds the barrel layers. Result vector is sorted inside-out.