35 if (type !=
"TMLastStation")
37 <<
"Unknown algorithm type is requested: " << type <<
"\nUsing the default one.";
48 if (arbitrationType ==
"NoArbitration")
50 else if (arbitrationType ==
"SegmentArbitration")
52 else if (arbitrationType ==
"SegmentAndTrackArbitration")
56 <<
"Unknown arbitration type is requested: " << arbitrationType <<
"\nUsing the default one";
59 produces<edm::RefVector<std::vector<reco::Muon>>>();
65 auto outputCollection = std::make_unique<edm::RefVector<std::vector<reco::Muon>>>();
71 for (
unsigned int i = 0;
i < muons->size(); ++
i)
reco::Muon::ArbitrationType arbitrationType_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
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 &)
const reco::Muon::ArbitrationType arbitrationType
T getParameter(std::string const &) const
double maxChamberDistPull_
Log< level::Warning, false > LogWarning