sharp eye!


On Tue, Apr 22, 2014 at 6:25 PM, Sven Dildick <notifications@github.com>wrote:

> In FastSimulation/Muons/plugins/EmulatedME0SegmentProducer.cc:
>
> > @@ -67,7 +67,7 @@ void EmulatedME0SegmentProducer::produce(edm::Event& ev, const edm::EventSetup&
> >        if ( (CurrentParticle.status()==1) && ( (CurrentParticle.pdgId()==13)  || (CurrentParticle.pdgId()==-13) ) ){
> >
> >  	//Setup
> > -	if (CurrentParticle.pz()==0) continue;
> > +	if (fabs(CurrentParticle.pz()<0.00001)) continue;
>
> should it not be if (fabs(CurrentParticle.pz())<0.00001) continue; ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cms-sw/cmssw/pull/3425/files#r11861831>
> .
>