36 if ( type.compare(
"TMLastStation") != 0 )
37 edm::LogWarning(
"MuonIdentification") <<
"Unknown algorithm type is requested: " << type <<
"\nUsing the default one.";
47 std::string arbitrationType = iConfig.
getParameter<std::string>(
"arbitrationType");
48 if (arbitrationType.compare(
"NoArbitration")==0)
50 else if (arbitrationType.compare(
"SegmentArbitration")==0)
52 else if (arbitrationType.compare(
"SegmentAndTrackArbitration")==0)
55 edm::LogWarning(
"MuonIdentification") <<
"Unknown arbitration type is requested: " << arbitrationType <<
"\nUsing the default one";
58 produces<edm::RefVector<std::vector<reco::Muon> > >();
66 std::auto_ptr<edm::RefVector<std::vector<reco::Muon> > > outputCollection(
new edm::RefVector<std::vector<reco::Muon> >);
72 for (
unsigned int i=0;
i<muons->size(); ++
i )
76 iEvent.
put(outputCollection);
reco::Muon::ArbitrationType arbitrationType_
T getParameter(std::string const &) const
virtual ~MuonRefProducer()
edm::InputTag theReferenceCollection_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
muon::AlgorithmType type_
Container::value_type value_type
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
MuonRefProducer(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
double maxChamberDistPull_