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
Version
Id:
PattRecoPeak.h,v 1.1 2010/11/22 23:27:56 igv Exp

Definition at line 17 of file PattRecoPeak.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file PattRecoPeak.h.

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

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

Member Function Documentation

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

Definition at line 66 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 67 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 61 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 58 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 68 of file PattRecoPeak.h.

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

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

Definition at line 63 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 60 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 62 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 65 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

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

Definition at line 59 of file PattRecoPeak.h.

Referenced by FFTGenericScaleCalculator::mapFFTJet().

59 {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 84 of file PattRecoPeak.h.

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

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

Definition at line 85 of file PattRecoPeak.h.

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

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

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

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

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

Definition at line 78 of file PattRecoPeak.h.

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

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

Definition at line 80 of file PattRecoPeak.h.

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

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

Definition at line 83 of file PattRecoPeak.h.

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

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

Definition at line 77 of file PattRecoPeak.h.

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

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

Definition at line 82 of file PattRecoPeak.h.

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

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

Definition at line 79 of file PattRecoPeak.h.

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