CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 19 of file PattRecoPeak.h.

20  : eta_(0),
21  phi_(0),
22  magnitude_(0),
23  speed_(-1),
24  magSpeed_(-5),
25  lifetime_(-1),
26  scale_(-1),
27  nearestD_(-1),
28  clusterRadius_(-1),
30  splitTime_(-1),
31  mergeTime_(-1)
32  {
33  hessian_[0] = 0;
34  hessian_[1] = 0;
35  hessian_[2] = 0;
36  }
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 38 of file PattRecoPeak.h.

44  : eta_(eta),
45  phi_(phi),
46  magnitude_(mag),
50  scale_(scale),
51  nearestD_(nearestDistance),
54  splitTime_(splitT),
55  mergeTime_(mergeT)
56  {
57  hessian_[0] = hessianIn[0];
58  hessian_[1] = hessianIn[1];
59  hessian_[2] = hessianIn[2];
60  }
Real scale() const
Definition: PattRecoPeak.h:70
Real eta() const
Definition: PattRecoPeak.h:62
Real phi() const
Definition: PattRecoPeak.h:63
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Real driftSpeed() const
Definition: PattRecoPeak.h:65
Real lifetime() const
Definition: PattRecoPeak.h:67
Real clusterSeparation() const
Definition: PattRecoPeak.h:73
Real magSpeed() const
Definition: PattRecoPeak.h:66
Real clusterRadius() const
Definition: PattRecoPeak.h:72

Member Function Documentation

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

Definition at line 72 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 73 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 65 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

65 {return speed_;}
template<class Real>
Real reco::PattRecoPeak< Real >::eta ( ) const
inline

Definition at line 62 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 74 of file PattRecoPeak.h.

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

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

Definition at line 67 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 64 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 66 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 69 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 71 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 63 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

63 {return phi_;}
template<class Real>
Real reco::PattRecoPeak< Real >::scale ( ) const
inline
template<class Real>
Real reco::PattRecoPeak< Real >::splitTime ( ) const
inline

Definition at line 68 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

68 {return splitTime_;}

Member Data Documentation

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

Definition at line 90 of file PattRecoPeak.h.

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

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

Definition at line 91 of file PattRecoPeak.h.

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

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

Definition at line 82 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 87 of file PattRecoPeak.h.

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

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

Definition at line 84 of file PattRecoPeak.h.

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

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

Definition at line 86 of file PattRecoPeak.h.

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

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

Definition at line 94 of file PattRecoPeak.h.

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

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

Definition at line 89 of file PattRecoPeak.h.

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

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

Definition at line 83 of file PattRecoPeak.h.

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

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

Definition at line 88 of file PattRecoPeak.h.

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

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

Definition at line 85 of file PattRecoPeak.h.

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

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

Definition at line 93 of file PattRecoPeak.h.

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