Definition at line 29 of file ME0MuonTrackCollProducer.cc.
ME0MuonTrackCollProducer::ME0MuonTrackCollProducer |
( |
const edm::ParameterSet & |
parset | ) |
|
|
explicit |
Definition at line 50 of file ME0MuonTrackCollProducer.cc.
References OurMuonsTag, and OurMuonsToken_.
54 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 60 of file ME0MuonTrackCollProducer.cc.
References edm::Event::getByToken(), edm::Event::getRefBeforePut(), muon::isGoodMuon(), eostools::move(), OurMuons, OurMuonsToken_, edm::Event::put(), TrackCollections2monitor_cff::selectedTracks, and muon::Tight.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
70 for (std::vector<reco::ME0Muon>::const_iterator thismuon = OurMuons->begin(); thismuon != OurMuons->end();
76 if (thismuon->innerTrack().isNonnull())
77 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 |