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 Types | Private Attributes
JetPartonCorrector Class Reference

#include <JetPartonCorrector.h>

Inheritance diagram for JetPartonCorrector:
JetCorrector

Public Member Functions

virtual double correction (const LorentzVector &fJet) const
 get correction using Jet information only More...
 
virtual bool eventRequired () const
 if correction needs event information More...
 
 JetPartonCorrector (const edm::ParameterSet &fConfig)
 
void setParameters (std::string aCalibrationType, double aJetFinderRadius, int aPartonMixture)
 
virtual ~JetPartonCorrector ()
 
- Public Member Functions inherited from JetCorrector
virtual double correction (const reco::Jet &fJet) const =0
 apply correction using Jet information only More...
 
virtual double correction (const reco::Jet &fJet, const edm::Event &fEvent, const edm::EventSetup &fSetup) const
 apply correction using all event information More...
 
virtual double correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup) const
 apply correction using all event information More...
 
virtual double correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup, LorentzVector &corrected) const
 Apply vectorial correction using all event information. More...
 
 JetCorrector ()
 
virtual bool refRequired () const =0
 if correction needs the jet reference More...
 
virtual bool vectorialCorrection () const
 if vectorial correction is provided More...
 
virtual ~JetCorrector ()
 

Private Types

typedef std::map< double,
JetPartonNamespace::ParametrizationJetParton * > 
ParametersMap
 

Private Attributes

ParametersMap parametrization
 
double theJetFinderRadius
 
int thePartonMixture
 

Additional Inherited Members

- Public Types inherited from JetCorrector
typedef
reco::Particle::LorentzVector 
LorentzVector
 
- Static Public Member Functions inherited from JetCorrector
static const JetCorrectorgetJetCorrector (const std::string &fName, const edm::EventSetup &fSetup)
 retrieve corrector from the event setup. troughs exception if something is missing More...
 

Detailed Description

Definition at line 21 of file JetPartonCorrector.h.

Member Typedef Documentation

Definition at line 36 of file JetPartonCorrector.h.

Constructor & Destructor Documentation

JetPartonCorrector::JetPartonCorrector ( const edm::ParameterSet fConfig)

Definition at line 146 of file JetPartonCorrector.cc.

JetPartonCorrector::~JetPartonCorrector ( )
virtual

Definition at line 153 of file JetPartonCorrector.cc.

Member Function Documentation

double JetPartonCorrector::correction ( const LorentzVector fJet) const
virtual

get correction using Jet information only

Implements JetCorrector.

Definition at line 192 of file JetPartonCorrector.cc.

virtual bool JetPartonCorrector::eventRequired ( ) const
inlinevirtual

if correction needs event information

Implements JetCorrector.

Definition at line 32 of file JetPartonCorrector.h.

32 {return false;}
void JetPartonCorrector::setParameters ( std::string  aCalibrationType,
double  aJetFinderRadius,
int  aPartonMixture 
)

Definition at line 158 of file JetPartonCorrector.cc.

Member Data Documentation

ParametersMap JetPartonCorrector::parametrization
private

Definition at line 37 of file JetPartonCorrector.h.

double JetPartonCorrector::theJetFinderRadius
private

Definition at line 39 of file JetPartonCorrector.h.

int JetPartonCorrector::thePartonMixture
private

Definition at line 38 of file JetPartonCorrector.h.