New Ecal Local Reconstruction with Multifit

Adds additional EcalUncalibRecHitWorker for MultiFit (using Fast NNLS algorithm) and modifies appropriate sequences to activate it by default.

@argiro @emanueledimarco
Hi Vincenzo, 

This is at the moment off by default. But yes, this can be moved to vector and matrix of floats: it is meant to be used at hlt where we don't need such a precision. We have some of these optimizations to be done


         Emanuele


> On 5-set-2014, at 19:53, Vincenzo Innocente <notifications@github.com> wrote:
> 
> In RecoLocalCalo/EcalRecAlgos/interface/EcalUncalibRecHitTimeWeightsAlgo.h:
> 
> > +      pedSubSamples(iSample) = amplitude;
> > +
> > +      if (amplitude>maxamplitude) {
> > +        maxamplitude = amplitude;
> > +      }    
> > +      pulsenorm += fullpulse(iSample);
> > +    }
> > +
> > +    std::vector<double>::const_iterator amplit;
> > +    for(amplit=amplitudes.begin(); amplit<amplitudes.end(); ++amplit) {
> > +      int ipulse = std::distance(amplitudes.begin(),amplit);
> > +      int bx = ipulse - 5;
> > +      int firstsamplet = std::max(0,bx + 3);
> > +      int offset = -3-bx;
> > +
> > +      TVectorD pulse;
> why TVector and TMatrix?
> is double precision really required?
> 
> —
> Reply to this email directly or view it on GitHub.