5 track_finder_(new
TrackFinder(iConfig, consumesCollector())),
11 produces<EMTFHitCollection> (
"");
12 produces<EMTFTrackCollection> (
"");
13 produces<l1t::RegionalMuonCandBxCollection>(
"EMTF");
23 auto out_hits_tmp = std::make_unique<EMTFHitCollection>();
24 auto out_hits_ZS = std::make_unique<EMTFHitCollection>();
25 auto out_tracks = std::make_unique<EMTFTrackCollection>();
26 auto out_cands = std::make_unique<l1t::RegionalMuonCandBxCollection>();
29 track_finder_->process(iEvent, iSetup, *out_hits_tmp, *out_tracks);
32 bool has_LCT[12] = {
false};
33 for (
int iSect = 0; iSect < 12; iSect++) {
34 for (
const auto&
h : *out_hits_tmp) {
35 if (
h.Is_CSC() &&
h.Sector_idx() == iSect) {
36 has_LCT[iSect] =
true;
break;
40 for (
const auto&
h : *out_hits_tmp) {
41 if (has_LCT[
h.Sector_idx()] ||
h.Is_RPC() == 0) {
42 out_hits_ZS->push_back(
h );
L1TMuonEndCapTrackProducer(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
#define DEFINE_FWK_MODULE(type)
std::unique_ptr< MicroGMTConverter > uGMT_converter_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
std::unique_ptr< TrackFinder > track_finder_
void produce(edm::Event &, const edm::EventSetup &) override
~L1TMuonEndCapTrackProducer() override