34 produces<L1MuDTTrackContainer>(
"DTTF");
35 produces<vector<L1MuRegionalCand> >(
"DT");
38 usesResource(
"DTTrackFinder");
47 cout <<
"**** L1MuonDTTFTrigger processing event ****" << endl;
55 cout <<
"Number of muons found by the L1 DTBX TRIGGER : " << ndt << endl;
58 unique_ptr<vector<L1MuRegionalCand> > vec_product(
new vector<L1MuRegionalCand>);
60 vector<L1MuDTTrackCand>& dtTracks = dtbx->
getcache0();
61 tra_product->setContainer(dtTracks);
62 vector<L1MuRegionalCand>& DTTracks = dtbx->
getcache();
63 *vec_product = DTTracks;
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EventSetup & c
void run(const edm::Event &e, const edm::EventSetup &c)
run the barrel MTTF
DTTrackFinder(const edm::ParameterSet &pset)
Constructor.
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
std::vector< L1MuDTTrackCand > & getcache0()
std::vector< L1MuRegionalCand > & getcache()
~DTTrackFinder() override
Destructor.