#include <L1TMuonEndCapTrackProducer.h>
L1TMuonEndCapTrackProducer::L1TMuonEndCapTrackProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 3 of file L1TMuonEndCapTrackProducer.cc.
8 produces<EMTFHitCollection>(
"");
9 produces<EMTFTrackCollection>(
"");
10 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 15 of file L1TMuonEndCapTrackProducer.cc.
References h, eostools::move(), edm::Event::put(), track_finder_, and uGMT_converter_.
17 auto out_hits_tmp = std::make_unique<EMTFHitCollection>();
18 auto out_hits = std::make_unique<EMTFHitCollection>();
19 auto out_tracks = std::make_unique<EMTFTrackCollection>();
20 auto out_cands = std::make_unique<l1t::RegionalMuonCandBxCollection>();
23 track_finder_->process(iEvent, iSetup, *out_hits_tmp, *out_tracks);
28 good_sectors.fill(
false);
30 for (
const auto&
h : *out_hits_tmp) {
32 good_sectors.at(
h.Sector_idx()) =
true;
36 for (
const auto&
h : *out_hits_tmp) {
37 if (good_sectors.at(
h.Sector_idx())) {
38 out_hits->push_back(
h);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::unique_ptr< MicroGMTConverter > uGMT_converter_
std::unique_ptr< TrackFinder > track_finder_
std::array< T, NUM_SECTORS > sector_array
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
std::unique_ptr<TrackFinder> L1TMuonEndCapTrackProducer::track_finder_ |
|
private |