37 if ( type.compare(
"TMLastStation") != 0 )
38 edm::LogWarning(
"MuonIdentification") <<
"Unknown algorithm type is requested: " << type <<
"\nUsing the default one.";
49 if (arbitrationType.compare(
"NoArbitration")==0)
51 else if (arbitrationType.compare(
"SegmentArbitration")==0)
53 else if (arbitrationType.compare(
"SegmentAndTrackArbitration")==0)
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
virtual 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
virtual ~MuonRefProducer()
edm::InputTag theReferenceCollection_
Container::value_type value_type
muon::AlgorithmType type_
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_