CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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  }
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  }
Real scale() const
Definition: PattRecoPeak.h:74
Real eta() const
Definition: PattRecoPeak.h:66
Real phi() const
Definition: PattRecoPeak.h:67
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Real driftSpeed() const
Definition: PattRecoPeak.h:69
Real lifetime() const
Definition: PattRecoPeak.h:71
Real clusterSeparation() const
Definition: PattRecoPeak.h:77
Real magSpeed() const
Definition: PattRecoPeak.h:70
Real clusterRadius() const
Definition: PattRecoPeak.h:76

Member Function Documentation

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

Definition at line 76 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

76 { return clusterRadius_; }
template<class Real>
Real reco::PattRecoPeak< Real >::clusterSeparation ( ) const
inline

Definition at line 77 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

77 { return clusterSeparation_; }
template<class Real>
Real reco::PattRecoPeak< Real >::driftSpeed ( ) const
inline

Definition at line 69 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

69 { return speed_; }
template<class Real>
Real reco::PattRecoPeak< Real >::eta ( ) const
inline
template<class Real>
void reco::PattRecoPeak< Real >::hessian ( double  hessianArray[3]) const
inline

Definition at line 78 of file PattRecoPeak.h.

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

78  {
79  hessianArray[0] = hessian_[0];
80  hessianArray[1] = hessian_[1];
81  hessianArray[2] = hessian_[2];
82  }
template<class Real>
Real reco::PattRecoPeak< Real >::lifetime ( ) const
inline

Definition at line 71 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

71 { return lifetime_; }
template<class Real>
Real reco::PattRecoPeak< Real >::magnitude ( ) const
inline

Definition at line 68 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

68 { return magnitude_; }
template<class Real>
Real reco::PattRecoPeak< Real >::magSpeed ( ) const
inline

Definition at line 70 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

70 { return magSpeed_; }
template<class Real>
Real reco::PattRecoPeak< Real >::mergeTime ( ) const
inline

Definition at line 73 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

73 { return mergeTime_; }
template<class Real>
Real reco::PattRecoPeak< Real >::nearestNeighborDistance ( ) const
inline

Definition at line 75 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

75 { return nearestD_; }
template<class Real>
Real reco::PattRecoPeak< Real >::phi ( ) const
inline
template<class Real>
Real reco::PattRecoPeak< Real >::scale ( ) const
inline

Definition at line 74 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

74 { return scale_; }
template<class Real>
Real reco::PattRecoPeak< Real >::splitTime ( ) const
inline

Definition at line 72 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

72 { return splitTime_; }

Member Data Documentation

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

Definition at line 93 of file PattRecoPeak.h.

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

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

Definition at line 94 of file PattRecoPeak.h.

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

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

Definition at line 85 of file PattRecoPeak.h.

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

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

Definition at line 90 of file PattRecoPeak.h.

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

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

Definition at line 87 of file PattRecoPeak.h.

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

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

Definition at line 89 of file PattRecoPeak.h.

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

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

Definition at line 97 of file PattRecoPeak.h.

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

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

Definition at line 92 of file PattRecoPeak.h.

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

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

Definition at line 86 of file PattRecoPeak.h.

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

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

Definition at line 91 of file PattRecoPeak.h.

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

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

Definition at line 88 of file PattRecoPeak.h.

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

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

Definition at line 96 of file PattRecoPeak.h.

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