37 if ( type !=
"TMLastStation" )
38 edm::LogWarning(
"MuonIdentification") <<
"Unknown algorithm type is requested: " << type <<
"\nUsing the default one.";
49 if (arbitrationType==
"NoArbitration")
51 else if (arbitrationType==
"SegmentArbitration")
53 else if (arbitrationType==
"SegmentAndTrackArbitration")
56 edm::LogWarning(
"MuonIdentification") <<
"Unknown arbitration type is requested: " << arbitrationType <<
"\nUsing the default one";
59 produces<edm::RefVector<std::vector<reco::Muon> > >();
67 auto outputCollection = std::make_unique<edm::RefVector<std::vector<reco::Muon>>>();
73 for (
unsigned int i=0;
i<muons->size(); ++
i )
reco::Muon::ArbitrationType arbitrationType_
T getParameter(std::string const &) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag theReferenceCollection_
Container::value_type value_type
muon::AlgorithmType type_
~MuonRefProducer() override
edm::EDGetTokenT< reco::MuonCollection > muonToken_
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
MuonRefProducer(const edm::ParameterSet &)
double maxChamberDistPull_