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 std::auto_ptr<edm::RefVector<std::vector<reco::Muon> > > outputCollection(
new edm::RefVector<std::vector<reco::Muon> >);
73 for (
unsigned int i=0;
i<muons->size(); ++
i )
77 iEvent.
put(outputCollection);
reco::Muon::ArbitrationType arbitrationType_
T getParameter(std::string const &) const
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual ~MuonRefProducer()
edm::InputTag theReferenceCollection_
Container::value_type value_type
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
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_