Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
JetMETCorrections
JetCorrector
interface
JetCorrectorImpl.h
Go to the documentation of this file.
1
#ifndef JetMETCorrections_JetCorrector_JetCorrectorImpl_h
2
#define JetMETCorrections_JetCorrector_JetCorrectorImpl_h
3
// -*- C++ -*-
4
//
5
// Package: JetMETCorrections/JetCorrector
6
// Class : JetCorrectorImpl
7
//
16
//
17
// Original Author: Christopher Jones
18
// Created: Fri, 29 Aug 2014 15:42:44 GMT
19
//
20
21
// system include files
22
23
// user include files
24
#include "
DataFormats/Common/interface/RefToBase.h
"
25
#include "
DataFormats/JetReco/interface/Jet.h
"
26
27
// forward declarations
28
29
namespace
reco
{
30
31
class
JetCorrectorImpl
32
{
33
34
public
:
35
JetCorrectorImpl
();
36
virtual
~JetCorrectorImpl
();
37
38
typedef
reco::Particle::LorentzVector
LorentzVector
;
39
40
// ---------- const member functions ---------------------
42
virtual
double
correction
(
const
LorentzVector
& fJet)
const
= 0;
43
45
virtual
double
correction
(
const
reco::Jet
& fJet)
const
= 0;
46
48
virtual
double
correction
(
const
reco::Jet
& fJet,
49
const
edm::RefToBase<reco::Jet>
& fJetRef)
const
;
50
52
virtual
double
correction
(
const
reco::Jet
& fJet,
53
const
edm::RefToBase<reco::Jet>
& fJetRef,
54
LorentzVector
& corrected )
const
;
55
57
virtual
bool
refRequired
()
const
= 0;
58
60
virtual
bool
vectorialCorrection
()
const
;
61
62
// ---------- static member functions --------------------
63
64
// ---------- member functions ---------------------------
65
66
private
:
67
JetCorrectorImpl
(
const
JetCorrectorImpl
&) =
delete
;
68
69
const
JetCorrectorImpl
&
operator=
(
const
JetCorrectorImpl
&) =
delete
;
70
71
// ---------- member data --------------------------------
72
73
};
74
}
75
76
#endif
reco::JetCorrectorImpl::~JetCorrectorImpl
virtual ~JetCorrectorImpl()
Definition:
JetCorrectorImpl.cc:39
reco::JetCorrectorImpl::correction
virtual double correction(const LorentzVector &fJet) const =0
get correction using Jet information only
reco::JetCorrectorImpl::vectorialCorrection
virtual bool vectorialCorrection() const
if vectorial correction is provided
Definition:
JetCorrectorImpl.cc:78
reco::Jet
Base class for all types of Jets.
Definition:
Jet.h:20
RefToBase.h
reco::JetCorrectorImpl::LorentzVector
reco::Particle::LorentzVector LorentzVector
Definition:
JetCorrectorImpl.h:38
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
edm::RefToBase< reco::Jet >
reco::JetCorrectorImpl::JetCorrectorImpl
JetCorrectorImpl()
Definition:
JetCorrectorImpl.cc:30
reco::JetCorrectorImpl
Definition:
JetCorrectorImpl.h:31
Jet.h
reco::JetCorrectorImpl::operator=
const JetCorrectorImpl & operator=(const JetCorrectorImpl &)=delete
reco::JetCorrectorImpl::refRequired
virtual bool refRequired() const =0
if correction needs the jet reference
reco::Particle::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Particle.h:21
Generated for CMSSW Reference Manual by
1.8.5