30 setWhatProduced(
this);
37 boost::shared_ptr<MuonDetLayerGeometry>
40 const std::string
metname =
"Muon|RecoMuon|RecoMuonDetLayers|MuonDetLayerGeometryESProducer";
52 LogInfo(metname) <<
"No DT geometry is available.";
64 LogInfo(metname) <<
"No CSC geometry is available.";
77 LogInfo(metname) <<
"No RPC geometry is available.";
84 return boost::shared_ptr<MuonDetLayerGeometry>(muonDetLayerGeometry);
const std::string metname
void addDTLayers(std::vector< DetLayer * > dtlayers)
virtual ~MuonDetLayerGeometryESProducer()
Destructor.
const DepRecordT & getRecord() const
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildLayers(const CSCGeometry &geo)
static std::vector< DetLayer * > buildLayers(const DTGeometry &geo)
Operations.
boost::shared_ptr< MuonDetLayerGeometry > produce(const MuonRecoGeometryRecord &record)
Produce MuonDeLayerGeometry.
void addRPCLayers(std::vector< DetLayer * > barrelRPCLayers, std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > endcapRPCLayers)
void addCSCLayers(std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > csclayers)
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const RPCGeometry &geo)
MuonDetLayerGeometryESProducer(const edm::ParameterSet &p)
Constructor.
static std::vector< DetLayer * > buildBarrelLayers(const RPCGeometry &geo)
Builds the barrel layers. Result vector is sorted inside-out.