CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions | Private Attributes

FFTJetCorrectorTransient Class Reference

#include <FFTJetCorrectorTransient.h>

List of all members.

Public Types

typedef math::XYZTLorentzVector LorentzVector

Public Member Functions

 FFTJetCorrectorTransient (const LorentzVector &v, const double initialScale=1.0, const double initialSigma=0.0)
FFTJetCorrectorTransientoperator*= (const double &d)
double scale () const
void setScale (const double s)
void setSigma (const double s)
void setVariance (const double v)
void setVec (const LorentzVector &v)
double sigma () const
double variance () const
const LorentzVectorvec () const

Private Member Functions

 FFTJetCorrectorTransient ()

Private Attributes

double scale_
double variance_
LorentzVector vec_

Detailed Description

Definition at line 15 of file FFTJetCorrectorTransient.h.


Member Typedef Documentation

Definition at line 18 of file FFTJetCorrectorTransient.h.


Constructor & Destructor Documentation

FFTJetCorrectorTransient::FFTJetCorrectorTransient ( const LorentzVector v,
const double  initialScale = 1.0,
const double  initialSigma = 0.0 
) [inline]

Definition at line 20 of file FFTJetCorrectorTransient.h.

        : vec_(v), scale_(initialScale),
          variance_(initialSigma*initialSigma) {}
FFTJetCorrectorTransient::FFTJetCorrectorTransient ( ) [private]

Member Function Documentation

FFTJetCorrectorTransient& FFTJetCorrectorTransient::operator*= ( const double &  d) [inline]

Definition at line 36 of file FFTJetCorrectorTransient.h.

References scale_, and vec_.

    {
        // Do not change the sigma -- assume that it is relative to jet Pt
        vec_ *= d;
        scale_ *= d;
        return *this;
    }
double FFTJetCorrectorTransient::scale ( ) const [inline]

Definition at line 27 of file FFTJetCorrectorTransient.h.

References scale_.

Referenced by FFTJetCorrectorResultFromTransient< MyJet >::operator()().

{return scale_;}
void FFTJetCorrectorTransient::setScale ( const double  s) [inline]

Definition at line 32 of file FFTJetCorrectorTransient.h.

References alignCSCRings::s, and scale_.

{scale_ = s;}
void FFTJetCorrectorTransient::setSigma ( const double  s) [inline]

Definition at line 33 of file FFTJetCorrectorTransient.h.

References alignCSCRings::s, and variance_.

{variance_ = s*s;}
void FFTJetCorrectorTransient::setVariance ( const double  v) [inline]

Definition at line 34 of file FFTJetCorrectorTransient.h.

References variance_.

{variance_ = fabs(v);}
void FFTJetCorrectorTransient::setVec ( const LorentzVector v) [inline]

Definition at line 31 of file FFTJetCorrectorTransient.h.

References findQualityFiles::v, and vec_.

{vec_ = v;}
double FFTJetCorrectorTransient::sigma ( ) const [inline]
double FFTJetCorrectorTransient::variance ( ) const [inline]

Definition at line 29 of file FFTJetCorrectorTransient.h.

References variance_.

{return variance_;}
const LorentzVector& FFTJetCorrectorTransient::vec ( ) const [inline]

Definition at line 26 of file FFTJetCorrectorTransient.h.

References vec_.

Referenced by FFTJetCorrectorResultFromTransient< MyJet >::operator()().

{return vec_;}

Member Data Documentation

Definition at line 48 of file FFTJetCorrectorTransient.h.

Referenced by operator*=(), scale(), and setScale().

Definition at line 49 of file FFTJetCorrectorTransient.h.

Referenced by setSigma(), setVariance(), sigma(), and variance().

Definition at line 47 of file FFTJetCorrectorTransient.h.

Referenced by operator*=(), setVec(), and vec().