File indexing completed on 2023-03-17 11:19:20
0001 #ifndef DTSegment_DTRecSegment2DProducer_h
0002 #define DTSegment_DTRecSegment2DProducer_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "FWCore/Framework/interface/stream/EDProducer.h"
0015 #include "DataFormats/DTRecHit/interface/DTRecHitCollection.h"
0016
0017 namespace edm {
0018 class ParameterSet;
0019 class Event;
0020 class EventSetup;
0021 }
0022
0023 class DTRecSegment2DBaseAlgo;
0024 class DTGeometry;
0025 class MuonGeometryRecord;
0026
0027
0028
0029
0030
0031
0032
0033 class DTRecSegment2DProducer : public edm::stream::EDProducer<> {
0034 public:
0035
0036 DTRecSegment2DProducer(const edm::ParameterSet&);
0037
0038
0039 ~DTRecSegment2DProducer() override;
0040
0041
0042
0043
0044 void produce(edm::Event& event, const edm::EventSetup& setup) override;
0045
0046 protected:
0047 private:
0048
0049 bool debug;
0050
0051
0052 std::unique_ptr<DTRecSegment2DBaseAlgo> theAlgo;
0053
0054 edm::EDGetTokenT<DTRecHitCollection> recHits1DToken_;
0055 const edm::ESGetToken<DTGeometry, MuonGeometryRecord> dtGeomToken_;
0056 };
0057 #endif