Definition at line 29 of file ME0MuonTrackCollProducer.cc.
ME0MuonTrackCollProducer::ME0MuonTrackCollProducer |
( |
const edm::ParameterSet & |
parset | ) |
|
|
explicit |
Definition at line 52 of file ME0MuonTrackCollProducer.cc.
References OurMuonsTag, and OurMuonsToken_.
57 produces<reco::TrackCollection>();
T getParameter(std::string const &) const
const edm::ParameterSet parset_
std::vector< std::string > selectionTags
edm::EDGetTokenT< ME0MuonCollection > OurMuonsToken_
edm::InputTag OurMuonsTag
ME0MuonTrackCollProducer::~ME0MuonTrackCollProducer |
( |
| ) |
|
|
override |
Definition at line 64 of file ME0MuonTrackCollProducer.cc.
References edm::Event::getByToken(), edm::Event::getRefBeforePut(), muon::isGoodMuon(), eostools::move(), OurMuons, OurMuonsToken_, edm::Event::put(), trackingPlots::selectedTracks, and muon::Tight.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
78 for(std::vector<reco::ME0Muon>::const_iterator thismuon = OurMuons->begin();
79 thismuon != OurMuons->end(); ++thismuon) {
84 if (thismuon->innerTrack().isNonnull()) trackref = thismuon->innerTrack();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
edm::Handle< std::vector< reco::ME0Muon > > OurMuons
RefProd< PROD > getRefBeforePut()
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
edm::EDGetTokenT< ME0MuonCollection > OurMuonsToken_
std::vector<std::string> ME0MuonTrackCollProducer::selectionTags |
|
private |