29 void endStream()
override;
39 : tps_(new
TPS(iConfig)),
42 minTrackStubs_(iConfig.getParameter<
int>(
"minTrackStubs")),
43 bxMin_(iConfig.getParameter<
int>(
"muonBXMin")),
44 bxMax_(iConfig.getParameter<
int>(
"muonBXMax"))
47 produces<std::vector<l1t::TrackerMuon> >();
64 std::vector<edm::Ptr<l1t::TrackerMuon::L1TTTrackType> >
tracks;
65 for (
uint i = 0;
i < trackHandle->size(); ++
i) {
67 if (
track->momentum().transverse() < 2.0)
76 for (
size_t i = 0;
i < stubHandle->size(); ++
i) {
78 muonStubs.push_back(stub);
81 std::vector<l1t::TrackerMuon>
out =
tps_->processEvent(
tracks, muonStubs);
82 std::unique_ptr<std::vector<l1t::TrackerMuon> >
out1 = std::make_unique<std::vector<l1t::TrackerMuon> >(
out);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void beginStream(edm::StreamID) override
void endStream() override
Phase2L1TGMTTkMuonProducer(const edm::ParameterSet &)
std::vector< L1TTTrackType > L1TTTrackCollection
std::vector< edm::Ref< MuonStubCollection > > MuonStubRefVector
void addDefault(ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< std::vector< l1t::MuonStub > > srcStubs_
#define DEFINE_FWK_MODULE(type)
~Phase2L1TGMTTkMuonProducer() override
void produce(edm::Event &, const edm::EventSetup &) override
std::unique_ptr< TPS > tps_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< l1t::TrackerMuon::L1TTTrackCollection > srcTracks_