CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes
FFTJetCorrectorTransient Class Reference

#include <FFTJetCorrectorTransient.h>

Public Types

typedef math::XYZTLorentzVector LorentzVector
 

Public Member Functions

 FFTJetCorrectorTransient (const LorentzVector &v, const double initialScale=1.0, const double initialSigma=0.0)
 
 FFTJetCorrectorTransient ()=delete
 
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 Attributes

double scale_
 
double variance_
 
LorentzVector vec_
 

Detailed Description

Definition at line 15 of file FFTJetCorrectorTransient.h.

Member Typedef Documentation

Definition at line 17 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 19 of file FFTJetCorrectorTransient.h.

FFTJetCorrectorTransient::FFTJetCorrectorTransient ( )
delete

Member Function Documentation

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

Definition at line 35 of file FFTJetCorrectorTransient.h.

References ztail::d, scale_, and vec_.

35  {
36  // Do not change the sigma -- assume that it is relative to jet Pt
37  vec_ *= d;
38  scale_ *= d;
39  return *this;
40  }
tuple d
Definition: ztail.py:151
double FFTJetCorrectorTransient::scale ( ) const
inline
void FFTJetCorrectorTransient::setScale ( const double  s)
inline

Definition at line 31 of file FFTJetCorrectorTransient.h.

References alignCSCRings::s, and scale_.

void FFTJetCorrectorTransient::setSigma ( const double  s)
inline

Definition at line 32 of file FFTJetCorrectorTransient.h.

References alignCSCRings::s, and variance_.

void FFTJetCorrectorTransient::setVariance ( const double  v)
inline

Definition at line 33 of file FFTJetCorrectorTransient.h.

References variance_.

void FFTJetCorrectorTransient::setVec ( const LorentzVector v)
inline

Definition at line 30 of file FFTJetCorrectorTransient.h.

References findQualityFiles::v, and vec_.

double FFTJetCorrectorTransient::sigma ( ) const
inline
double FFTJetCorrectorTransient::variance ( ) const
inline

Definition at line 28 of file FFTJetCorrectorTransient.h.

References variance_.

Referenced by average.Average::uncertainty().

const LorentzVector& FFTJetCorrectorTransient::vec ( ) const
inline

Definition at line 25 of file FFTJetCorrectorTransient.h.

References vec_.

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

25 { return vec_; }

Member Data Documentation

double FFTJetCorrectorTransient::scale_
private

Definition at line 44 of file FFTJetCorrectorTransient.h.

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

double FFTJetCorrectorTransient::variance_
private

Definition at line 45 of file FFTJetCorrectorTransient.h.

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

LorentzVector FFTJetCorrectorTransient::vec_
private

Definition at line 43 of file FFTJetCorrectorTransient.h.

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