1 #ifndef RecoJets_FFTJetAlgorithms_jetConverters_h
2 #define RecoJets_FFTJetAlgorithms_jetConverters_h
4 #include "fftjet/RecombinedJet.hh"
13 const fftjet::RecombinedJet<VectorLike>&
jet);
30 const fftjet::RecombinedJet<VectorLike>&
jet)
34 double hessian[3] = {0., 0., 0.};
35 const fftjet::Peak& peak(jet.precluster());
46 peak.nearestNeighborDistance(),
48 peak.clusterSeparation()),
49 jet.vec(), jet.ncells(), jet.etSum(),
50 jet.centroidEta(), jet.centroidPhi(),
51 jet.etaWidth(), jet.phiWidth(),
52 jet.etaPhiCorr(), jet.fuzziness(),
53 jet.convergenceDistance(),
54 jet.recoScale(), jet.recoScaleRatio(),
55 jet.membershipFactor(),
56 jet.code(), jet.status());
65 typedef fftjet::RecombinedJet<VectorLike>
RecoFFTJet;
67 double hessian[3] = {0., 0., 0.};
70 const double pileupPt = jet.
f_pileup().Pt();
72 return RecoFFTJet(fftjet::Peak(
p.eta(),
p.phi(),
p.magnitude(),
73 hessian,
p.driftSpeed(),
74 p.magSpeed(),
p.lifetime(),
75 p.scale(),
p.nearestNeighborDistance(),
80 p.clusterSeparation(), jet.
f_code(),
90 #endif // RecoJets_FFTJetAlgorithms_jetConverters_h
Preclusters from FFTJet pattern recognition stage.
Real f_convergenceDistance() const
reco::FFTJet< Real > jetToStorable(const fftjet::RecombinedJet< VectorLike > &jet)
fftjet::RecombinedJet< VectorLike > jetFromStorable(const reco::FFTJet< Real > &jet)
Real f_centroidPhi() const
Real f_membershipFactor() const
fftjet::RecombinedJet< VectorLike > RecoFFTJet
Real f_centroidEta() const
const math::XYZTLorentzVector & f_vec() const
Storage class for jets reconstructed by FFTJet package.
const PattRecoPeak< Real > & f_precluster() const
Real f_etaPhiCorr() const
const math::XYZTLorentzVector & f_pileup() const
Real f_recoScaleRatio() const
void hessian(double hessianArray[3]) const