37 produces<l1t::RegionalMuonCandBxCollection>(
"BMTF");
38 produces<l1t::RegionalMuonCandBxCollection>(
"UnsortedBMTF");
39 produces<vector<L1MuBMTrack> >(
"BMTF");
40 produces<vector<L1MuBMTrackSegPhi> >(
"BMTF");
41 produces<vector<L1MuBMTrackSegEta> >(
"BMTF");
43 usesResource(
"L1TMuonBarrelTrackProducer");
44 setup1 = std::make_unique<L1MuBMTFSetup>(
pset, consumesCollector());
53 cout <<
"**** L1MuonBMTFTrigger processing event ****" << endl;
62 cout <<
"Number of muons found by the L1 BBMX TRIGGER : " << ndt << endl;
66 unique_ptr<vector<L1MuBMTrack> > vec_L1MuBMTrack(
new vector<L1MuBMTrack>);
67 unique_ptr<vector<L1MuBMTrackSegPhi> > vec_L1MuBMTrackSegPhi(
new vector<L1MuBMTrackSegPhi>);
68 unique_ptr<vector<L1MuBMTrackSegEta> > vec_L1MuBMTrackSegEta(
new vector<L1MuBMTrackSegEta>);
72 *tra_product = dtTracks;
76 *vec_product = BMTracks;
79 *vec_L1MuBMTrackSegPhi = dtbx->
getcache2();
80 *vec_L1MuBMTrackSegEta = dtbx->
getcache3();
88 e.put(
std::move(vec_L1MuBMTrackSegPhi),
"BMTF");
89 e.put(
std::move(vec_L1MuBMTrackSegEta),
"BMTF");
L1MuBMTrackCollection & getcache1()
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
int numberOfTracks()
get number of muon candidates found by the barrel MTTF
#define DEFINE_FWK_MODULE(type)
L1MuBMTrackSegPhiCollection & getcache2()
void run(const edm::Event &e, const edm::EventSetup &c)
run the barrel MTTF
L1MuBMTrackSegEtaCollection & getcache3()
~L1TMuonBarrelTrackProducer() override
Destructor.
l1t::RegionalMuonCandBxCollection & getcache()
L1TMuonBarrelTrackProducer(const edm::ParameterSet &pset)
Constructor.
l1t::RegionalMuonCandBxCollection & getcache0()