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 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)
 
Real phi () const
 
Real scale () const
 

Private Attributes

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

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  {
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 
)
inline

Definition at line 36 of file PattRecoPeak.h.

41  : eta_(eta),
42  phi_(phi),
43  magnitude_(mag),
47  scale_(scale),
48  nearestD_(nearestDistance),
51  {
52  hessian_[0] = hessianIn[0];
53  hessian_[1] = hessianIn[1];
54  hessian_[2] = hessianIn[2];
55  }
Real scale() const
Definition: PattRecoPeak.h:63
Real eta() const
Definition: PattRecoPeak.h:57
Real phi() const
Definition: PattRecoPeak.h:58
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Real driftSpeed() const
Definition: PattRecoPeak.h:60
Real lifetime() const
Definition: PattRecoPeak.h:62
Real clusterSeparation() const
Definition: PattRecoPeak.h:66
Real magSpeed() const
Definition: PattRecoPeak.h:61
Real clusterRadius() const
Definition: PattRecoPeak.h:65

Member Function Documentation

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

Definition at line 65 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 66 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 60 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 57 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 67 of file PattRecoPeak.h.

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

68  {
69  hessianArray[0] = hessian_[0];
70  hessianArray[1] = hessian_[1];
71  hessianArray[2] = hessian_[2];
72  }
template<class Real>
Real reco::PattRecoPeak< Real >::lifetime ( ) const
inline

Definition at line 62 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 59 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 61 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 64 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 58 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Member Data Documentation

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

Definition at line 83 of file PattRecoPeak.h.

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

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

Definition at line 84 of file PattRecoPeak.h.

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

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

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

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

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

Definition at line 77 of file PattRecoPeak.h.

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

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

Definition at line 79 of file PattRecoPeak.h.

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

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

Definition at line 82 of file PattRecoPeak.h.

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

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

Definition at line 76 of file PattRecoPeak.h.

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

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

Definition at line 81 of file PattRecoPeak.h.

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

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

Definition at line 78 of file PattRecoPeak.h.

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