Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:14

0001 #ifndef CSCSEGTORPC_H
0002 #define CSCSEGTORPC_H
0003 
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 #include "FWCore/Framework/interface/EventSetup.h"
0006 #include "DataFormats/RPCRecHit/interface/RPCRecHit.h"
0007 #include "DataFormats/RPCRecHit/interface/RPCRecHitCollection.h"
0008 #include "DataFormats/CSCRecHit/interface/CSCSegmentCollection.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 
0011 #include <memory>
0012 
0013 class RPCGeometry;
0014 class CSCGeometry;
0015 class CSCObjectMap;
0016 class MuonGeometryRecord;
0017 
0018 class CSCSegtoRPC {
0019 public:
0020   explicit CSCSegtoRPC(edm::ConsumesCollector iC, const edm::ParameterSet&);
0021   std::unique_ptr<RPCRecHitCollection> thePoints(CSCSegmentCollection const* allCSCSegments,
0022                                                  edm::EventSetup const& iSetup,
0023                                                  bool debug,
0024                                                  double eyr);
0025 
0026 private:
0027   edm::ESGetToken<RPCGeometry, MuonGeometryRecord> rpcGeoToken_;
0028   edm::ESGetToken<CSCGeometry, MuonGeometryRecord> cscGeoToken_;
0029   edm::ESGetToken<CSCObjectMap, MuonGeometryRecord> cscMapToken_;
0030   int minBX;
0031   int maxBX;
0032 };
0033 
0034 #endif