Go to the documentation of this file.
58 .setConsumes(dtToken_)
59 .setConsumes(cscToken_)
60 .setConsumes(gemToken_)
61 .setConsumes(me0Token_)
62 .setConsumes(rpcToken_);
66 const std::string metname =
"Muon|RecoMuon|RecoMuonDetLayers|MuonDetLayerGeometryESProducer";
67 auto muonDetLayerGeometry = std::make_unique<MuonDetLayerGeometry>();
70 if (
auto dt =
record.getHandle(dtToken_)) {
77 if (
auto csc =
record.getHandle(cscToken_)) {
84 if (
auto gem =
record.getHandle(gemToken_)) {
91 if (
auto me0 =
record.getHandle(me0Token_)) {
98 if (
auto rpc =
record.getHandle(rpcToken_)) {
106 muonDetLayerGeometry->sortLayers();
108 return muonDetLayerGeometry;
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const RPCGeometry &geo)
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcToken_
std::unique_ptr< MuonDetLayerGeometry > produce(const MuonRecoGeometryRecord &record)
Produce MuonDeLayerGeometry.
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildLayers(const CSCGeometry &geo)
MuonDetLayerGeometryESProducer(const edm::ParameterSet &p)
Constructor.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > gemToken_
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const ME0Geometry &geo)
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtToken_
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscToken_
static std::vector< DetLayer * > buildLayers(const DTGeometry &geo)
Operations.
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const GEMGeometry &geo)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static std::vector< DetLayer * > buildBarrelLayers(const RPCGeometry &geo)
Builds the barrel layers. Result vector is sorted inside-out.
edm::ESGetToken< ME0Geometry, MuonGeometryRecord > me0Token_
void addDefault(ParameterSetDescription const &psetDescription)
const std::string metname