CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
FFTGenericScaleCalculator Class Reference

#include <FFTGenericScaleCalculator.h>

Inheritance diagram for FFTGenericScaleCalculator:
AbsFFTSpecificScaleCalculator

Public Member Functions

 FFTGenericScaleCalculator (const edm::ParameterSet &ps)
 
void mapFFTJet (const reco::Jet &jet, const reco::FFTJet< float > &fftJet, const math::XYZTLorentzVector &current, double *buf, unsigned dim) const override
 
 ~FFTGenericScaleCalculator () override
 
- Public Member Functions inherited from AbsFFTSpecificScaleCalculator
virtual ~AbsFFTSpecificScaleCalculator ()
 

Private Member Functions

double f_safeLog (const double x) const
 

Private Attributes

int m_aveConstituentPt
 
int m_averageWidth
 
int m_chargedEmEnergyFraction
 
int m_chargedHadronEnergyFraction
 
int m_chargedHadronMultiplicity
 
int m_chargedMuEnergyFraction
 
int m_chargedMultiplicity
 
int m_clusterRadius
 
int m_clusterSeparation
 
int m_constituentEtaPhiSpread
 
int m_constituentPtDistribution
 
int m_convergenceDistance
 
int m_dRFromJet
 
int m_driftSpeed
 
int m_electronEnergyFraction
 
int m_electronMultiplicity
 
int m_EmEnergyFraction
 
int m_energy
 
int m_eta
 
int m_etaPhiCorr
 
int m_etaWidth
 
int m_etSum
 
std::vector< double > m_factors
 
int m_fuzziness
 
int m_gamma
 
int m_HessianS2
 
int m_HessianS4
 
int m_HessianS6
 
int m_HFEMEnergyFraction
 
int m_HFEMMultiplicity
 
int m_HFHadronEnergyFraction
 
int m_HFHadronMultiplicity
 
int m_LaplacianS1
 
int m_LaplacianS2
 
int m_LaplacianS3
 
int m_lifetime
 
int m_logAveConstituentPt
 
int m_logEnergy
 
int m_logGamma
 
int m_logMagnitude
 
int m_LogMagS1
 
int m_LogMagS2
 
int m_logMass
 
int m_logPt
 
int m_logScale
 
int m_magnitude
 
int m_magS1
 
int m_magS2
 
int m_magSpeed
 
int m_mass
 
int m_membershipFactor
 
int m_mergeTime
 
double m_minLog
 
int m_muonEnergyFraction
 
int m_muonMultiplicity
 
int m_ncells
 
int m_nConstituents
 
int m_nearestNeighborDistance
 
int m_neutralEmEnergyFraction
 
int m_neutralHadronEnergyFraction
 
int m_neutralHadronMultiplicity
 
int m_neutralMultiplicity
 
int m_phi
 
int m_phiWidth
 
int m_photonEnergyFraction
 
int m_photonMultiplicity
 
int m_pileup
 
int m_pt
 
int m_recoScale
 
int m_recoScaleRatio
 
int m_scale
 
int m_splitTime
 
int m_widthRatio
 

Detailed Description

Definition at line 13 of file FFTGenericScaleCalculator.h.

Constructor & Destructor Documentation

◆ FFTGenericScaleCalculator()

FFTGenericScaleCalculator::FFTGenericScaleCalculator ( const edm::ParameterSet ps)

Definition at line 29 of file FFTGenericScaleCalculator.cc.

References reco::btau::chargedHadronEnergyFraction, reco::btau::chargedHadronMultiplicity, check_param, fftjetproducer_cfi::convergenceDistance, reco::btau::electronEnergyFraction, reco::btau::electronMultiplicity, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, photons_cff::etaWidth, Exception, CustomPhysics_cfi::gamma, mps_fire::i, m_factors, gpuClustering::pixelStatus::mask, EgHLTOffHistBins_cfi::mass, reco::btau::muonEnergyFraction, reco::btau::muonMultiplicity, custom_jme_cff::nConstituents, reco::btau::neutralHadronEnergyFraction, reco::btau::neutralHadronMultiplicity, phi, photons_cff::phiWidth, reco::btau::photonEnergyFraction, reco::btau::photonMultiplicity, mixOne_premix_on_sim_cfi::pileup, DiDispStaMuonMonitor_cfi::pt, and L1EGammaClusterEmuProducer_cfi::scale.

30  : m_factors(ps.getParameter<std::vector<double> >("factors")),
31  m_minLog(ps.getUntrackedParameter<double>("minLog", -800.0)),
32  int_param(eta),
33  int_param(phi),
34  int_param(pt),
35  int_param(logPt),
36  int_param(mass),
37  int_param(logMass),
39  int_param(logEnergy),
41  int_param(logGamma),
43  int_param(ncells),
44  int_param(etSum),
47  int_param(averageWidth),
48  int_param(widthRatio),
49  int_param(etaPhiCorr),
50  int_param(fuzziness),
52  int_param(recoScale),
53  int_param(recoScaleRatio),
54  int_param(membershipFactor),
55  int_param(magnitude),
56  int_param(logMagnitude),
57  int_param(magS1),
58  int_param(LogMagS1),
59  int_param(magS2),
60  int_param(LogMagS2),
61  int_param(driftSpeed),
62  int_param(magSpeed),
63  int_param(lifetime),
64  int_param(splitTime),
65  int_param(mergeTime),
67  int_param(logScale),
68  int_param(nearestNeighborDistance),
69  int_param(clusterRadius),
70  int_param(clusterSeparation),
71  int_param(dRFromJet),
72  int_param(LaplacianS1),
73  int_param(LaplacianS2),
74  int_param(LaplacianS3),
75  int_param(HessianS2),
76  int_param(HessianS4),
77  int_param(HessianS6),
79  int_param(aveConstituentPt),
80  int_param(logAveConstituentPt),
81  int_param(constituentPtDistribution),
82  int_param(constituentEtaPhiSpread),
88  int_param(HFHadronEnergyFraction),
89  int_param(HFEMEnergyFraction),
95  int_param(HFHadronMultiplicity),
96  int_param(HFEMMultiplicity),
97  int_param(chargedEmEnergyFraction),
98  int_param(chargedMuEnergyFraction),
99  int_param(neutralEmEnergyFraction),
100  int_param(EmEnergyFraction),
101  int_param(chargedMultiplicity),
102  int_param(neutralMultiplicity) {
103  const int nFactors = m_factors.size();
104  std::vector<int> mask(nFactors, 0);
105  int dim = 0;
106 
107  check_param(eta);
108  check_param(phi);
109  check_param(pt);
110  check_param(logPt);
111  check_param(mass);
112  check_param(logMass);
114  check_param(logEnergy);
116  check_param(logGamma);
118  check_param(ncells);
119  check_param(etSum);
122  check_param(averageWidth);
123  check_param(widthRatio);
124  check_param(etaPhiCorr);
125  check_param(fuzziness);
127  check_param(recoScale);
128  check_param(recoScaleRatio);
129  check_param(membershipFactor);
130  check_param(magnitude);
131  check_param(logMagnitude);
132  check_param(magS1);
133  check_param(LogMagS1);
134  check_param(magS2);
135  check_param(LogMagS2);
136  check_param(driftSpeed);
137  check_param(magSpeed);
138  check_param(lifetime);
139  check_param(splitTime);
140  check_param(mergeTime);
142  check_param(logScale);
143  check_param(nearestNeighborDistance);
144  check_param(clusterRadius);
145  check_param(clusterSeparation);
146  check_param(dRFromJet);
147  check_param(LaplacianS1);
148  check_param(LaplacianS2);
149  check_param(LaplacianS3);
150  check_param(HessianS2);
151  check_param(HessianS4);
152  check_param(HessianS6);
154  check_param(aveConstituentPt);
155  check_param(logAveConstituentPt);
156  check_param(constituentPtDistribution);
157  check_param(constituentEtaPhiSpread);
163  check_param(HFHadronEnergyFraction);
164  check_param(HFEMEnergyFraction);
170  check_param(HFHadronMultiplicity);
171  check_param(HFEMMultiplicity);
172  check_param(chargedEmEnergyFraction);
173  check_param(chargedMuEnergyFraction);
174  check_param(neutralEmEnergyFraction);
175  check_param(EmEnergyFraction);
176  check_param(chargedMultiplicity);
177  check_param(neutralMultiplicity);
178 
179  if (dim != nFactors)
180  throw cms::Exception("FFTJetBadConfig")
181  << "In FFTGenericScaleCalculator constructor: "
182  << "incompatible number of scaling factors: expected " << dim << ", got " << nFactors << std::endl;
183  for (int i = 0; i < nFactors; ++i)
184  if (mask[i] == 0)
185  throw cms::Exception("FFTJetBadConfig") << "In FFTGenericScaleCalculator constructor: "
186  << "variable number " << i << " is not mapped" << std::endl;
187 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
constexpr uint32_t mask
Definition: gpuClustering.h:26
T getUntrackedParameter(std::string const &, T const &) const
#define int_param(varname)
#define check_param(varname)

◆ ~FFTGenericScaleCalculator()

FFTGenericScaleCalculator::~FFTGenericScaleCalculator ( )
inlineoverride

Definition at line 17 of file FFTGenericScaleCalculator.h.

17 {}

Member Function Documentation

◆ f_safeLog()

double FFTGenericScaleCalculator::f_safeLog ( const double  x) const
inlineprivate

Definition at line 26 of file FFTGenericScaleCalculator.h.

References dqm-mbProfile::log, m_minLog, and x.

Referenced by mapFFTJet().

26  {
27  if (x > 0.0)
28  return log(x);
29  else
30  return m_minLog;
31  }

◆ mapFFTJet()

void FFTGenericScaleCalculator::mapFFTJet ( const reco::Jet jet,
const reco::FFTJet< float > &  fftJet,
const math::XYZTLorentzVector current,
double *  buf,
unsigned  dim 
) const
overridevirtual

Implements AbsFFTSpecificScaleCalculator.

Definition at line 189 of file FFTGenericScaleCalculator.cc.

References cms::cuda::assert(), visDQMUpload::buf, reco::PFJet::chargedEmEnergyFraction(), reco::PFJet::chargedHadronEnergyFraction(), reco::PFJet::chargedHadronMultiplicity(), reco::PFJet::chargedMuEnergyFraction(), reco::PFJet::chargedMultiplicity(), reco::PattRecoPeak< Real >::clusterRadius(), reco::PattRecoPeak< Real >::clusterSeparation(), delPhi(), reco::PattRecoPeak< Real >::driftSpeed(), reco::PFJet::electronEnergyFraction(), reco::PFJet::electronMultiplicity(), reco::PattRecoPeak< Real >::eta(), Exception, reco::FFTJet< Real >::f_convergenceDistance(), reco::FFTJet< Real >::f_etaPhiCorr(), reco::FFTJet< Real >::f_etaWidth(), reco::FFTJet< Real >::f_etSum(), reco::FFTJet< Real >::f_fuzziness(), reco::FFTJet< Real >::f_membershipFactor(), reco::FFTJet< Real >::f_ncells(), reco::FFTJet< Real >::f_phiWidth(), reco::FFTJet< Real >::f_pileup(), reco::FFTJet< Real >::f_precluster(), reco::FFTJet< Real >::f_recoScale(), reco::FFTJet< Real >::f_recoScaleRatio(), f_safeLog(), h, reco::PattRecoPeak< Real >::hessian(), reco::PFJet::HFEMEnergyFraction(), reco::PFJet::HFEMMultiplicity(), reco::PFJet::HFHadronEnergyFraction(), reco::PFJet::HFHadronMultiplicity(), mps_fire::i, metsig::jet, reco::PattRecoPeak< Real >::lifetime(), dqm-mbProfile::log, visualization-live-secondInstance_cfg::m, m_aveConstituentPt, m_averageWidth, m_chargedEmEnergyFraction, m_chargedHadronEnergyFraction, m_chargedHadronMultiplicity, m_chargedMuEnergyFraction, m_chargedMultiplicity, m_clusterRadius, m_clusterSeparation, m_constituentEtaPhiSpread, m_constituentPtDistribution, m_convergenceDistance, m_dRFromJet, m_driftSpeed, m_electronEnergyFraction, m_electronMultiplicity, m_EmEnergyFraction, m_energy, m_eta, m_etaPhiCorr, m_etaWidth, m_etSum, m_factors, m_fuzziness, m_gamma, m_HessianS2, m_HessianS4, m_HessianS6, m_HFEMEnergyFraction, m_HFEMMultiplicity, m_HFHadronEnergyFraction, m_HFHadronMultiplicity, m_LaplacianS1, m_LaplacianS2, m_LaplacianS3, m_lifetime, m_logAveConstituentPt, m_logEnergy, m_logGamma, m_logMagnitude, m_LogMagS1, m_LogMagS2, m_logMass, m_logPt, m_logScale, m_magnitude, m_magS1, m_magS2, m_magSpeed, m_mass, m_membershipFactor, m_mergeTime, m_muonEnergyFraction, m_muonMultiplicity, m_ncells, m_nConstituents, m_nearestNeighborDistance, m_neutralEmEnergyFraction, m_neutralHadronEnergyFraction, m_neutralHadronMultiplicity, m_neutralMultiplicity, m_phi, m_phiWidth, m_photonEnergyFraction, m_photonMultiplicity, m_pileup, m_pt, m_recoScale, m_recoScaleRatio, m_scale, m_splitTime, m_widthRatio, reco::PattRecoPeak< Real >::magnitude(), reco::PattRecoPeak< Real >::magSpeed(), reco::PattRecoPeak< Real >::mergeTime(), reco::PFJet::muonEnergyFraction(), reco::PFJet::muonMultiplicity(), reco::PattRecoPeak< Real >::nearestNeighborDistance(), reco::PFJet::neutralEmEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), reco::PFJet::neutralHadronMultiplicity(), reco::PFJet::neutralMultiplicity(), reco::PattRecoPeak< Real >::phi(), reco::PFJet::photonEnergyFraction(), reco::PFJet::photonMultiplicity(), funct::pow(), L1EGammaClusterEmuProducer_cfi::scale, reco::PattRecoPeak< Real >::scale(), reco::PattRecoPeak< Real >::splitTime(), and mathSSE::sqrt().

193  {
194  // Verify that the input is reasonable
195  if (dim != m_factors.size())
196  throw cms::Exception("FFTJetBadConfig")
197  << "In FFTGenericScaleCalculator::mapFFTJet: "
198  << "incompatible table dimensionality: expected " << m_factors.size() << ", got " << dim << std::endl;
199  if (dim)
200  assert(buf);
201  else
202  return;
203 
204  // Go over all variables and map them as configured.
205  // Variables from the "current" Lorentz vector.
206  if (m_eta >= 0)
207  buf[m_eta] = current.eta();
208 
209  if (m_phi >= 0)
210  buf[m_phi] = current.phi();
211 
212  if (m_pt >= 0)
213  buf[m_pt] = current.pt();
214 
215  if (m_logPt >= 0)
216  buf[m_logPt] = f_safeLog(current.pt());
217 
218  if (m_mass >= 0)
219  buf[m_mass] = current.M();
220 
221  if (m_logMass >= 0)
222  buf[m_mass] = f_safeLog(current.M());
223 
224  if (m_energy >= 0)
225  buf[m_energy] = current.e();
226 
227  if (m_logEnergy >= 0)
228  buf[m_energy] = f_safeLog(current.e());
229 
230  if (m_gamma >= 0) {
231  const double m = current.M();
232  if (m > 0.0)
233  buf[m_gamma] = current.e() / m;
234  else
235  buf[m_gamma] = DBL_MAX;
236  }
237 
238  if (m_logGamma >= 0) {
239  const double m = current.M();
240  if (m > 0.0)
241  buf[m_gamma] = current.e() / m;
242  else
243  buf[m_gamma] = DBL_MAX;
244  buf[m_gamma] = log(buf[m_gamma]);
245  }
246 
247  // Variables from fftJet
248  if (m_pileup >= 0)
249  buf[m_pileup] = fftJet.f_pileup().pt();
250 
251  if (m_ncells >= 0)
252  buf[m_ncells] = fftJet.f_ncells();
253 
254  if (m_etSum >= 0)
255  buf[m_etSum] = fftJet.f_etSum();
256 
257  if (m_etaWidth >= 0)
258  buf[m_etaWidth] = fftJet.f_etaWidth();
259 
260  if (m_phiWidth >= 0)
261  buf[m_phiWidth] = fftJet.f_phiWidth();
262 
263  if (m_averageWidth >= 0) {
264  const double etaw = fftJet.f_etaWidth();
265  const double phiw = fftJet.f_phiWidth();
266  buf[m_averageWidth] = sqrt(etaw * etaw + phiw * phiw);
267  }
268 
269  if (m_widthRatio >= 0) {
270  const double etaw = fftJet.f_etaWidth();
271  const double phiw = fftJet.f_phiWidth();
272  if (phiw > 0.0)
273  buf[m_widthRatio] = etaw / phiw;
274  else
275  buf[m_widthRatio] = DBL_MAX;
276  }
277 
278  if (m_etaPhiCorr >= 0)
279  buf[m_etaPhiCorr] = fftJet.f_etaPhiCorr();
280 
281  if (m_fuzziness >= 0)
282  buf[m_fuzziness] = fftJet.f_fuzziness();
283 
284  if (m_convergenceDistance >= 0)
286 
287  if (m_recoScale >= 0)
288  buf[m_recoScale] = fftJet.f_recoScale();
289 
290  if (m_recoScaleRatio >= 0)
292 
293  if (m_membershipFactor >= 0)
295 
296  // Get most often used precluster quantities
297  const reco::PattRecoPeak<float>& preclus = fftJet.f_precluster();
298  const double scale = preclus.scale();
299 
300  if (m_magnitude >= 0)
301  buf[m_magnitude] = preclus.magnitude();
302 
303  if (m_logMagnitude >= 0)
304  buf[m_logMagnitude] = f_safeLog(preclus.magnitude());
305 
306  if (m_magS1 >= 0)
307  buf[m_magS1] = preclus.magnitude() * scale;
308 
309  if (m_LogMagS1 >= 0)
310  buf[m_LogMagS1] = f_safeLog(preclus.magnitude() * scale);
311 
312  if (m_magS2 >= 0)
313  buf[m_magS2] = preclus.magnitude() * scale * scale;
314 
315  if (m_LogMagS2 >= 0)
316  buf[m_LogMagS2] = f_safeLog(preclus.magnitude() * scale * scale);
317 
318  if (m_driftSpeed >= 0)
319  buf[m_driftSpeed] = preclus.driftSpeed();
320 
321  if (m_magSpeed >= 0)
322  buf[m_magSpeed] = preclus.magSpeed();
323 
324  if (m_lifetime >= 0)
325  buf[m_lifetime] = preclus.lifetime();
326 
327  if (m_splitTime >= 0)
328  buf[m_splitTime] = preclus.splitTime();
329 
330  if (m_mergeTime >= 0)
331  buf[m_mergeTime] = preclus.mergeTime();
332 
333  if (m_scale >= 0)
334  buf[m_scale] = scale;
335 
336  if (m_logScale >= 0)
338 
339  if (m_nearestNeighborDistance >= 0)
341 
342  if (m_clusterRadius >= 0)
343  buf[m_clusterRadius] = preclus.clusterRadius();
344 
345  if (m_clusterSeparation >= 0)
347 
348  if (m_dRFromJet >= 0) {
349  const double deta = preclus.eta() - current.eta();
350  const double dphi = delPhi(preclus.phi(), current.phi());
351  buf[m_dRFromJet] = sqrt(deta * deta + dphi * dphi);
352  }
353 
354  if (m_LaplacianS1 >= 0) {
355  double h[3];
356  preclus.hessian(h);
357  buf[m_LaplacianS1] = fabs(h[0] + h[2]) * scale;
358  }
359 
360  if (m_LaplacianS2 >= 0) {
361  double h[3];
362  preclus.hessian(h);
363  buf[m_LaplacianS2] = fabs(h[0] + h[2]) * scale * scale;
364  }
365 
366  if (m_LaplacianS3 >= 0) {
367  double h[3];
368  preclus.hessian(h);
369  buf[m_LaplacianS3] = fabs(h[0] + h[2]) * scale * scale * scale;
370  }
371 
372  if (m_HessianS2 >= 0) {
373  double h[3];
374  preclus.hessian(h);
375  buf[m_HessianS2] = fabs(h[0] * h[2] - h[1] * h[1]) * scale * scale;
376  }
377 
378  if (m_HessianS4 >= 0) {
379  double h[3];
380  preclus.hessian(h);
381  buf[m_HessianS4] = fabs(h[0] * h[2] - h[1] * h[1]) * pow(scale, 4);
382  }
383 
384  if (m_HessianS6 >= 0) {
385  double h[3];
386  preclus.hessian(h);
387  buf[m_HessianS6] = fabs(h[0] * h[2] - h[1] * h[1]) * pow(scale, 6);
388  }
389 
390  // Variables from reco::Jet
391  if (m_nConstituents >= 0)
392  buf[m_nConstituents] = jet.nConstituents();
393 
394  if (m_aveConstituentPt >= 0)
395  buf[m_aveConstituentPt] = current.pt() / jet.nConstituents();
396 
397  if (m_logAveConstituentPt >= 0)
398  buf[m_logAveConstituentPt] = f_safeLog(current.pt() / jet.nConstituents());
399 
401  buf[m_constituentPtDistribution] = jet.constituentPtDistribution();
402 
403  if (m_constituentEtaPhiSpread >= 0)
404  buf[m_constituentEtaPhiSpread] = jet.constituentEtaPhiSpread();
405 
406  // Variables from reco::PFJet
407  const reco::PFJet* pfjet = dynamic_cast<const reco::PFJet*>(&jet);
408  if (pfjet) {
409  // Particle flow jet
412 
415 
416  if (m_photonEnergyFraction >= 0)
418 
419  if (m_electronEnergyFraction >= 0)
421 
422  if (m_muonEnergyFraction >= 0)
424 
425  if (m_HFHadronEnergyFraction >= 0)
427 
428  if (m_HFEMEnergyFraction >= 0)
430 
433 
436 
437  if (m_photonMultiplicity >= 0)
439 
440  if (m_electronMultiplicity >= 0)
442 
443  if (m_muonMultiplicity >= 0)
445 
446  if (m_HFHadronMultiplicity >= 0)
448 
449  if (m_HFEMMultiplicity >= 0)
451 
452  if (m_chargedEmEnergyFraction >= 0)
454 
455  if (m_chargedMuEnergyFraction >= 0)
457 
458  if (m_neutralEmEnergyFraction >= 0)
460 
461  if (m_EmEnergyFraction >= 0)
463 
464  if (m_chargedMultiplicity >= 0)
466 
467  if (m_neutralMultiplicity >= 0)
469  } else {
470  // Not a particle flow jet
478  throw cms::Exception("FFTJetBadConfig") << "In FFTGenericScaleCalculator::mapFFTJet: "
479  << "this configuration is valid for particle flow jets only" << std::endl;
480  }
481 
482  // Apply the scaling factors
483  for (unsigned i = 0; i < dim; ++i)
484  buf[i] *= m_factors[i];
485 }
Real f_ncells() const
Definition: FFTJet.h:76
Real clusterSeparation() const
Definition: PattRecoPeak.h:77
Real f_etSum() const
Definition: FFTJet.h:77
Real f_etaPhiCorr() const
Definition: FFTJet.h:82
float chargedEmEnergyFraction() const
chargedEmEnergyFraction
Definition: PFJet.h:141
double f_safeLog(const double x) const
int chargedMultiplicity() const
chargedMultiplicity
Definition: PFJet.h:152
int chargedHadronMultiplicity() const
chargedHadronMultiplicity
Definition: PFJet.h:124
Real f_phiWidth() const
Definition: FFTJet.h:81
float electronEnergyFraction() const
electronEnergyFraction
Definition: PFJet.h:109
Real eta() const
Definition: PattRecoPeak.h:66
int HFHadronMultiplicity() const
HFHadronMultiplicity.
Definition: PFJet.h:134
Real mergeTime() const
Definition: PattRecoPeak.h:73
float HFHadronEnergyFraction() const
HFHadronEnergyFraction.
Definition: PFJet.h:117
int neutralMultiplicity() const
neutralMultiplicity
Definition: PFJet.h:154
Real f_membershipFactor() const
Definition: FFTJet.h:87
assert(be >=bs)
Real splitTime() const
Definition: PattRecoPeak.h:72
int photonMultiplicity() const
photonMultiplicity
Definition: PFJet.h:128
Real phi() const
Definition: PattRecoPeak.h:67
Jets made from PFObjects.
Definition: PFJet.h:20
Real magSpeed() const
Definition: PattRecoPeak.h:70
Real nearestNeighborDistance() const
Definition: PattRecoPeak.h:75
static double delPhi(const double phi1, const double phi2)
Real clusterRadius() const
Definition: PattRecoPeak.h:76
Real f_convergenceDistance() const
Definition: FFTJet.h:84
Real f_fuzziness() const
Definition: FFTJet.h:83
Real driftSpeed() const
Definition: PattRecoPeak.h:69
float photonEnergyFraction() const
photonEnergyFraction
Definition: PFJet.h:105
const PattRecoPeak< Real > & f_precluster() const
Definition: FFTJet.h:73
T sqrt(T t)
Definition: SSEVec.h:19
Real scale() const
Definition: PattRecoPeak.h:74
int HFEMMultiplicity() const
HFEMMultiplicity.
Definition: PFJet.h:136
int electronMultiplicity() const
electronMultiplicity
Definition: PFJet.h:130
float chargedHadronEnergyFraction() const
chargedHadronEnergyFraction
Definition: PFJet.h:97
int neutralHadronMultiplicity() const
neutralHadronMultiplicity
Definition: PFJet.h:126
int muonMultiplicity() const
muonMultiplicity
Definition: PFJet.h:132
float neutralEmEnergyFraction() const
neutralEmEnergyFraction
Definition: PFJet.h:149
Real f_etaWidth() const
Definition: FFTJet.h:80
const math::XYZTLorentzVector & f_pileup() const
Definition: FFTJet.h:75
float muonEnergyFraction() const
muonEnergyFraction
Definition: PFJet.h:113
float neutralHadronEnergyFraction() const
neutralHadronEnergyFraction
Definition: PFJet.h:101
float HFEMEnergyFraction() const
HFEMEnergyFraction.
Definition: PFJet.h:121
Real lifetime() const
Definition: PattRecoPeak.h:71
void hessian(double hessianArray[3]) const
Definition: PattRecoPeak.h:78
Real f_recoScaleRatio() const
Definition: FFTJet.h:86
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
Real magnitude() const
Definition: PattRecoPeak.h:68
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
Real f_recoScale() const
Definition: FFTJet.h:85
float chargedMuEnergyFraction() const
chargedMuEnergyFraction
Definition: PFJet.h:145

Member Data Documentation

◆ m_aveConstituentPt

int FFTGenericScaleCalculator::m_aveConstituentPt
private

Definition at line 90 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_averageWidth

int FFTGenericScaleCalculator::m_averageWidth
private

Definition at line 54 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_chargedEmEnergyFraction

int FFTGenericScaleCalculator::m_chargedEmEnergyFraction
private

Definition at line 110 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_chargedHadronEnergyFraction

int FFTGenericScaleCalculator::m_chargedHadronEnergyFraction
private

Definition at line 96 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_chargedHadronMultiplicity

int FFTGenericScaleCalculator::m_chargedHadronMultiplicity
private

Definition at line 103 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_chargedMuEnergyFraction

int FFTGenericScaleCalculator::m_chargedMuEnergyFraction
private

Definition at line 111 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_chargedMultiplicity

int FFTGenericScaleCalculator::m_chargedMultiplicity
private

Definition at line 114 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_clusterRadius

int FFTGenericScaleCalculator::m_clusterRadius
private

Definition at line 78 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_clusterSeparation

int FFTGenericScaleCalculator::m_clusterSeparation
private

Definition at line 79 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_constituentEtaPhiSpread

int FFTGenericScaleCalculator::m_constituentEtaPhiSpread
private

Definition at line 93 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_constituentPtDistribution

int FFTGenericScaleCalculator::m_constituentPtDistribution
private

Definition at line 92 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_convergenceDistance

int FFTGenericScaleCalculator::m_convergenceDistance
private

Definition at line 58 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_dRFromJet

int FFTGenericScaleCalculator::m_dRFromJet
private

Definition at line 80 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_driftSpeed

int FFTGenericScaleCalculator::m_driftSpeed
private

Definition at line 70 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_electronEnergyFraction

int FFTGenericScaleCalculator::m_electronEnergyFraction
private

Definition at line 99 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_electronMultiplicity

int FFTGenericScaleCalculator::m_electronMultiplicity
private

Definition at line 106 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_EmEnergyFraction

int FFTGenericScaleCalculator::m_EmEnergyFraction
private

Definition at line 113 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_energy

int FFTGenericScaleCalculator::m_energy
private

Definition at line 43 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_eta

int FFTGenericScaleCalculator::m_eta
private

Definition at line 37 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_etaPhiCorr

int FFTGenericScaleCalculator::m_etaPhiCorr
private

Definition at line 56 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_etaWidth

int FFTGenericScaleCalculator::m_etaWidth
private

Definition at line 52 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_etSum

int FFTGenericScaleCalculator::m_etSum
private

Definition at line 51 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_factors

std::vector<double> FFTGenericScaleCalculator::m_factors
private

Definition at line 33 of file FFTGenericScaleCalculator.h.

Referenced by FFTGenericScaleCalculator(), and mapFFTJet().

◆ m_fuzziness

int FFTGenericScaleCalculator::m_fuzziness
private

Definition at line 57 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_gamma

int FFTGenericScaleCalculator::m_gamma
private

Definition at line 45 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HessianS2

int FFTGenericScaleCalculator::m_HessianS2
private

Definition at line 84 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HessianS4

int FFTGenericScaleCalculator::m_HessianS4
private

Definition at line 85 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HessianS6

int FFTGenericScaleCalculator::m_HessianS6
private

Definition at line 86 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HFEMEnergyFraction

int FFTGenericScaleCalculator::m_HFEMEnergyFraction
private

Definition at line 102 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HFEMMultiplicity

int FFTGenericScaleCalculator::m_HFEMMultiplicity
private

Definition at line 109 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HFHadronEnergyFraction

int FFTGenericScaleCalculator::m_HFHadronEnergyFraction
private

Definition at line 101 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_HFHadronMultiplicity

int FFTGenericScaleCalculator::m_HFHadronMultiplicity
private

Definition at line 108 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_LaplacianS1

int FFTGenericScaleCalculator::m_LaplacianS1
private

Definition at line 81 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_LaplacianS2

int FFTGenericScaleCalculator::m_LaplacianS2
private

Definition at line 82 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_LaplacianS3

int FFTGenericScaleCalculator::m_LaplacianS3
private

Definition at line 83 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_lifetime

int FFTGenericScaleCalculator::m_lifetime
private

Definition at line 72 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logAveConstituentPt

int FFTGenericScaleCalculator::m_logAveConstituentPt
private

Definition at line 91 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logEnergy

int FFTGenericScaleCalculator::m_logEnergy
private

Definition at line 44 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logGamma

int FFTGenericScaleCalculator::m_logGamma
private

Definition at line 46 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logMagnitude

int FFTGenericScaleCalculator::m_logMagnitude
private

Definition at line 65 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_LogMagS1

int FFTGenericScaleCalculator::m_LogMagS1
private

Definition at line 67 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_LogMagS2

int FFTGenericScaleCalculator::m_LogMagS2
private

Definition at line 69 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logMass

int FFTGenericScaleCalculator::m_logMass
private

Definition at line 42 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logPt

int FFTGenericScaleCalculator::m_logPt
private

Definition at line 40 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_logScale

int FFTGenericScaleCalculator::m_logScale
private

Definition at line 76 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_magnitude

int FFTGenericScaleCalculator::m_magnitude
private

Definition at line 64 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_magS1

int FFTGenericScaleCalculator::m_magS1
private

Definition at line 66 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_magS2

int FFTGenericScaleCalculator::m_magS2
private

Definition at line 68 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_magSpeed

int FFTGenericScaleCalculator::m_magSpeed
private

Definition at line 71 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_mass

int FFTGenericScaleCalculator::m_mass
private

Definition at line 41 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_membershipFactor

int FFTGenericScaleCalculator::m_membershipFactor
private

Definition at line 61 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_mergeTime

int FFTGenericScaleCalculator::m_mergeTime
private

Definition at line 74 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_minLog

double FFTGenericScaleCalculator::m_minLog
private

Definition at line 34 of file FFTGenericScaleCalculator.h.

Referenced by f_safeLog().

◆ m_muonEnergyFraction

int FFTGenericScaleCalculator::m_muonEnergyFraction
private

Definition at line 100 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_muonMultiplicity

int FFTGenericScaleCalculator::m_muonMultiplicity
private

Definition at line 107 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_ncells

int FFTGenericScaleCalculator::m_ncells
private

Definition at line 50 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_nConstituents

int FFTGenericScaleCalculator::m_nConstituents
private

Definition at line 89 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_nearestNeighborDistance

int FFTGenericScaleCalculator::m_nearestNeighborDistance
private

Definition at line 77 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_neutralEmEnergyFraction

int FFTGenericScaleCalculator::m_neutralEmEnergyFraction
private

Definition at line 112 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_neutralHadronEnergyFraction

int FFTGenericScaleCalculator::m_neutralHadronEnergyFraction
private

Definition at line 97 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_neutralHadronMultiplicity

int FFTGenericScaleCalculator::m_neutralHadronMultiplicity
private

Definition at line 104 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_neutralMultiplicity

int FFTGenericScaleCalculator::m_neutralMultiplicity
private

Definition at line 115 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_phi

int FFTGenericScaleCalculator::m_phi
private

Definition at line 38 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_phiWidth

int FFTGenericScaleCalculator::m_phiWidth
private

Definition at line 53 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_photonEnergyFraction

int FFTGenericScaleCalculator::m_photonEnergyFraction
private

Definition at line 98 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_photonMultiplicity

int FFTGenericScaleCalculator::m_photonMultiplicity
private

Definition at line 105 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_pileup

int FFTGenericScaleCalculator::m_pileup
private

Definition at line 49 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_pt

int FFTGenericScaleCalculator::m_pt
private

Definition at line 39 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_recoScale

int FFTGenericScaleCalculator::m_recoScale
private

Definition at line 59 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_recoScaleRatio

int FFTGenericScaleCalculator::m_recoScaleRatio
private

Definition at line 60 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_scale

int FFTGenericScaleCalculator::m_scale
private

Definition at line 75 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_splitTime

int FFTGenericScaleCalculator::m_splitTime
private

Definition at line 73 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().

◆ m_widthRatio

int FFTGenericScaleCalculator::m_widthRatio
private

Definition at line 55 of file FFTGenericScaleCalculator.h.

Referenced by mapFFTJet().