CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::PattRecoPeak< Real > Class Template Reference

Preclusters from FFTJet pattern recognition stage. More...

#include <PattRecoPeak.h>

Public Member Functions

Real clusterRadius () const
 
Real clusterSeparation () const
 
Real driftSpeed () const
 
Real eta () const
 
void hessian (double hessianArray[3]) const
 
Real lifetime () const
 
Real magnitude () const
 
Real magSpeed () const
 
Real mergeTime () const
 
Real nearestNeighborDistance () const
 
 PattRecoPeak ()
 
 PattRecoPeak (double eta, double phi, double mag, const double hessianIn[3], double driftSpeed, double magSpeed, double lifetime, double scale, double nearestDistance, double clusterRadius, double clusterSeparation, double splitT, double mergeT)
 
Real phi () const
 
Real scale () const
 
Real splitTime () const
 

Private Attributes

Real clusterRadius_
 
Real clusterSeparation_
 
Real eta_
 
Real hessian_ [3]
 
Real lifetime_
 
Real magnitude_
 
Real magSpeed_
 
Real mergeTime_
 
Real nearestD_
 
Real phi_
 
Real scale_
 
Real speed_
 
Real splitTime_
 

Detailed Description

template<class Real>
class reco::PattRecoPeak< Real >

Preclusters from FFTJet pattern recognition stage.

This is a pure storage class with limited functionality. Actual application calculations should use fftjet::Peak.

Author
Igor Volobouev, TTU, June 16, 2010

Definition at line 16 of file PattRecoPeak.h.

Constructor & Destructor Documentation

◆ PattRecoPeak() [1/2]

template<class Real>
reco::PattRecoPeak< Real >::PattRecoPeak ( )
inline

Definition at line 18 of file PattRecoPeak.h.

19  : eta_(0),
20  phi_(0),
21  magnitude_(0),
22  speed_(-1),
23  magSpeed_(-5),
24  lifetime_(-1),
25  scale_(-1),
26  nearestD_(-1),
27  clusterRadius_(-1),
29  splitTime_(-1),
30  mergeTime_(-1) {
31  hessian_[0] = 0;
32  hessian_[1] = 0;
33  hessian_[2] = 0;
34  }

◆ PattRecoPeak() [2/2]

template<class Real>
reco::PattRecoPeak< Real >::PattRecoPeak ( double  eta,
double  phi,
double  mag,
const double  hessianIn[3],
double  driftSpeed,
double  magSpeed,
double  lifetime,
double  scale,
double  nearestDistance,
double  clusterRadius,
double  clusterSeparation,
double  splitT,
double  mergeT 
)
inline

Definition at line 36 of file PattRecoPeak.h.

49  : eta_(eta),
50  phi_(phi),
51  magnitude_(mag),
55  scale_(scale),
56  nearestD_(nearestDistance),
59  splitTime_(splitT),
60  mergeTime_(mergeT) {
61  hessian_[0] = hessianIn[0];
62  hessian_[1] = hessianIn[1];
63  hessian_[2] = hessianIn[2];
64  }

Member Function Documentation

◆ clusterRadius()

template<class Real>
Real reco::PattRecoPeak< Real >::clusterRadius ( ) const
inline

Definition at line 76 of file PattRecoPeak.h.

76 { return clusterRadius_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ clusterSeparation()

template<class Real>
Real reco::PattRecoPeak< Real >::clusterSeparation ( ) const
inline

Definition at line 77 of file PattRecoPeak.h.

77 { return clusterSeparation_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ driftSpeed()

template<class Real>
Real reco::PattRecoPeak< Real >::driftSpeed ( ) const
inline

Definition at line 69 of file PattRecoPeak.h.

69 { return speed_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ eta()

template<class Real>
Real reco::PattRecoPeak< Real >::eta ( ) const
inline

◆ hessian()

template<class Real>
void reco::PattRecoPeak< Real >::hessian ( double  hessianArray[3]) const
inline

Definition at line 78 of file PattRecoPeak.h.

78  {
79  hessianArray[0] = hessian_[0];
80  hessianArray[1] = hessian_[1];
81  hessianArray[2] = hessian_[2];
82  }

Referenced by fftjetcms::jetToStorable(), and FFTGenericScaleCalculator::mapFFTJet().

◆ lifetime()

template<class Real>
Real reco::PattRecoPeak< Real >::lifetime ( ) const
inline

Definition at line 71 of file PattRecoPeak.h.

71 { return lifetime_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ magnitude()

template<class Real>
Real reco::PattRecoPeak< Real >::magnitude ( ) const
inline

Definition at line 68 of file PattRecoPeak.h.

68 { return magnitude_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ magSpeed()

template<class Real>
Real reco::PattRecoPeak< Real >::magSpeed ( ) const
inline

Definition at line 70 of file PattRecoPeak.h.

70 { return magSpeed_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ mergeTime()

template<class Real>
Real reco::PattRecoPeak< Real >::mergeTime ( ) const
inline

Definition at line 73 of file PattRecoPeak.h.

73 { return mergeTime_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ nearestNeighborDistance()

template<class Real>
Real reco::PattRecoPeak< Real >::nearestNeighborDistance ( ) const
inline

Definition at line 75 of file PattRecoPeak.h.

75 { return nearestD_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ phi()

template<class Real>
Real reco::PattRecoPeak< Real >::phi ( ) const
inline

◆ scale()

template<class Real>
Real reco::PattRecoPeak< Real >::scale ( ) const
inline

Definition at line 74 of file PattRecoPeak.h.

74 { return scale_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

◆ splitTime()

template<class Real>
Real reco::PattRecoPeak< Real >::splitTime ( ) const
inline

Definition at line 72 of file PattRecoPeak.h.

72 { return splitTime_; }

Referenced by FFTGenericScaleCalculator::mapFFTJet().

Member Data Documentation

◆ clusterRadius_

template<class Real>
Real reco::PattRecoPeak< Real >::clusterRadius_
private

Definition at line 93 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::clusterRadius().

◆ clusterSeparation_

template<class Real>
Real reco::PattRecoPeak< Real >::clusterSeparation_
private

Definition at line 94 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::clusterSeparation().

◆ eta_

template<class Real>
Real reco::PattRecoPeak< Real >::eta_
private

Definition at line 85 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::eta().

◆ hessian_

template<class Real>
Real reco::PattRecoPeak< Real >::hessian_[3]
private

◆ lifetime_

template<class Real>
Real reco::PattRecoPeak< Real >::lifetime_
private

Definition at line 90 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::lifetime().

◆ magnitude_

template<class Real>
Real reco::PattRecoPeak< Real >::magnitude_
private

Definition at line 87 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::magnitude().

◆ magSpeed_

template<class Real>
Real reco::PattRecoPeak< Real >::magSpeed_
private

Definition at line 89 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::magSpeed().

◆ mergeTime_

template<class Real>
Real reco::PattRecoPeak< Real >::mergeTime_
private

Definition at line 97 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::mergeTime().

◆ nearestD_

template<class Real>
Real reco::PattRecoPeak< Real >::nearestD_
private

Definition at line 92 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::nearestNeighborDistance().

◆ phi_

template<class Real>
Real reco::PattRecoPeak< Real >::phi_
private

Definition at line 86 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::phi().

◆ scale_

template<class Real>
Real reco::PattRecoPeak< Real >::scale_
private

Definition at line 91 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::scale().

◆ speed_

template<class Real>
Real reco::PattRecoPeak< Real >::speed_
private

Definition at line 88 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::driftSpeed().

◆ splitTime_

template<class Real>
Real reco::PattRecoPeak< Real >::splitTime_
private

Definition at line 96 of file PattRecoPeak.h.

Referenced by reco::PattRecoPeak< float >::splitTime().

reco::PattRecoPeak::clusterSeparation
Real clusterSeparation() const
Definition: PattRecoPeak.h:77
reco::PattRecoPeak::clusterSeparation_
Real clusterSeparation_
Definition: PattRecoPeak.h:94
reco::PattRecoPeak::speed_
Real speed_
Definition: PattRecoPeak.h:88
reco::PattRecoPeak::scale_
Real scale_
Definition: PattRecoPeak.h:91
reco::PattRecoPeak::phi
Real phi() const
Definition: PattRecoPeak.h:67
reco::PattRecoPeak::lifetime_
Real lifetime_
Definition: PattRecoPeak.h:90
reco::PattRecoPeak::lifetime
Real lifetime() const
Definition: PattRecoPeak.h:71
reco::PattRecoPeak::driftSpeed
Real driftSpeed() const
Definition: PattRecoPeak.h:69
reco::PattRecoPeak::clusterRadius_
Real clusterRadius_
Definition: PattRecoPeak.h:93
reco::PattRecoPeak::mergeTime_
Real mergeTime_
Definition: PattRecoPeak.h:97
reco::PattRecoPeak::nearestD_
Real nearestD_
Definition: PattRecoPeak.h:92
reco::PattRecoPeak::scale
Real scale() const
Definition: PattRecoPeak.h:74
reco::PattRecoPeak::hessian_
Real hessian_[3]
Definition: PattRecoPeak.h:95
reco::PattRecoPeak::eta
Real eta() const
Definition: PattRecoPeak.h:66
mag
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition: Basic3DVectorLD.h:127
reco::PattRecoPeak::splitTime_
Real splitTime_
Definition: PattRecoPeak.h:96
reco::PattRecoPeak::eta_
Real eta_
Definition: PattRecoPeak.h:85
reco::PattRecoPeak::magSpeed_
Real magSpeed_
Definition: PattRecoPeak.h:89
reco::PattRecoPeak::magSpeed
Real magSpeed() const
Definition: PattRecoPeak.h:70
reco::PattRecoPeak::phi_
Real phi_
Definition: PattRecoPeak.h:86
reco::PattRecoPeak::magnitude_
Real magnitude_
Definition: PattRecoPeak.h:87
reco::PattRecoPeak::clusterRadius
Real clusterRadius() const
Definition: PattRecoPeak.h:76