That is a bug *fix* introduced in 535, that somebody (do not who, but 
surely did a wrong movement) thrown away from earlier 53X releases. It 
fixes the muon best track type, that is undefined if the track is not a 
global muon. The fact that it was left out from some releases is the 
reason of some gymnastic I had to do in the recent code commits to make 
it protect against this.



On 09/03/2013 01:55 PM, Volker Adler wrote:
>
> In RecoMuon/MuonIdentification/plugins/MuonIdProducer.cc:
>
> > @@ -255,6 +255,7 @@ void MuonIdProducer::init(edm::Event& iEvent, const edm::EventSetup& iSetup)
> >     reco::Muon aMuon( makeMuon( *(track.get()) ) );
> >
> >     aMuon.setMuonTrack(type,track);
> > +   aMuon.setBestTrack(type);
>
> @bellan <https://github.com/bellan> could you comment on this? It's in 
> commit acfac07.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/cms-sw/cmssw/pull/684/files#r6123212>.
>