#include <L1TMuonEndCapTrackProducer.h>
L1TMuonEndCapTrackProducer::L1TMuonEndCapTrackProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 4 of file L1TMuonEndCapTrackProducer.cc.
11 produces<EMTFHitCollection> (
"");
12 produces<EMTFTrackCollection> (
"");
13 produces<l1t::RegionalMuonCandBxCollection>(
"EMTF");
std::unique_ptr< MicroGMTConverter > uGMT_converter_
const edm::ParameterSet & config_
std::unique_ptr< TrackFinder > track_finder_
L1TMuonEndCapTrackProducer::~L1TMuonEndCapTrackProducer |
( |
| ) |
|
|
override |
Definition at line 20 of file L1TMuonEndCapTrackProducer.cc.
References h, eostools::move(), edm::Event::put(), track_finder_, and uGMT_converter_.
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 );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::unique_ptr< MicroGMTConverter > uGMT_converter_
std::unique_ptr< TrackFinder > track_finder_
std::unique_ptr<TrackFinder> L1TMuonEndCapTrackProducer::track_finder_ |
|
private |