Hi.
I think that's because the standard reco::Candidate (and math:: LorentzVector) are in double, and this number is to replace the pt of candidates.
I'm not sure if using float would be a problem either. Do you have a strong opinion?
Thanks.


On Nov 29, 2013, at 1:06 PM, slava77 <notifications@github.com> wrote:

> In DataFormats/HeavyIonEvent/interface/VoronoiBackground.h:
> 
> > +#include <string>
> > +#include <vector>
> > +
> > +namespace reco { class VoronoiBackground {
> > +public:
> > +      VoronoiBackground();
> > +      VoronoiBackground(double pt0, double pt1, double pt2, double mt0, double mt1, double mt2);
> > +      virtual ~VoronoiBackground();
> > +
> > +  double pt() const{
> > +     return pt_corrected;
> > +  }
> > +
> > +protected:
> > +
> > +  double pt_preeq;
> Why doubles?
> Can we use float precision here?
> Please change to float if doubles are not justified
> 
> —
> Reply to this email directly or view it on GitHub.
>