File indexing completed on 2023-10-25 10:00:30
0001 #ifndef DTSEGTORPC_H
0002 #define DTSEGTORPC_H
0003
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 #include "FWCore/Framework/interface/EventSetup.h"
0006 #include "DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h"
0007 #include "DataFormats/RPCRecHit/interface/RPCRecHit.h"
0008 #include "DataFormats/RPCRecHit/interface/RPCRecHitCollection.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010
0011 #include <memory>
0012
0013 class RPCGeometry;
0014 class DTGeometry;
0015 class DTObjectMap;
0016 class MuonGeometryRecord;
0017
0018 class DTSegtoRPC {
0019 public:
0020 explicit DTSegtoRPC(edm::ConsumesCollector iC, const edm::ParameterSet&);
0021 std::unique_ptr<RPCRecHitCollection> thePoints(DTRecSegment4DCollection const* all4DSegments,
0022 edm::EventSetup const& iSetup,
0023 bool debug,
0024 double eyr);
0025
0026 private:
0027 edm::ESGetToken<RPCGeometry, MuonGeometryRecord> rpcGeoToken_;
0028 edm::ESGetToken<DTGeometry, MuonGeometryRecord> dtGeoToken_;
0029 edm::ESGetToken<DTObjectMap, MuonGeometryRecord> dtMapToken_;
0030
0031 bool incldt;
0032 bool incldtMB4;
0033 double MinCosAng;
0034 double MaxD;
0035 double MaxDrb4;
0036 double MaxDistanceBetweenSegments;
0037 int minPhiBX;
0038 int maxPhiBX;
0039 };
0040
0041 #endif