#include <MuonSelectionTypeValueMapProducer.h>
MuonSelectionTypeValueMapProducer::MuonSelectionTypeValueMapProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
inlineexplicit |
MuonSelectionTypeValueMapProducer::~MuonSelectionTypeValueMapProducer |
( |
| ) |
|
|
inlineoverride |
Definition at line 41 of file MuonSelectionTypeValueMapProducer.h.
References objects.autophobj::filler, edm::Event::getByToken(), muon::isGoodMuon(), eostools::move(), muonToken_, MillePedeFileConverter_cfg::out, edm::Event::put(), selectionType_, and MuonErrorMatrixValues_cff::values.
Referenced by ~MuonSelectionTypeValueMapProducer().
49 values.reserve(muonsH->size());
52 for(reco::MuonCollection::const_iterator it = muonsH->begin(); it != muonsH->end(); ++it)
56 auto out = std::make_unique<edm::ValueMap<bool>>();
58 filler.insert(muonsH, values.begin(), values.end());
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
muon::SelectionType selectionType_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
edm::InputTag MuonSelectionTypeValueMapProducer::inputMuonCollection_ |
|
private |
std::string MuonSelectionTypeValueMapProducer::selectionTypeLabel_ |
|
private |