Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
JetMETCorrections
JetCorrector
src
JetCorrectorImpl.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: JetMETCorrections/JetCorrector
4
// Class : JetCorrectorImpl
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Christopher Jones
10
// Created: Fri, 29 Aug 2014 17:58:54 GMT
11
//
12
13
// system include files
14
15
// user include files
16
#include "
JetMETCorrections/JetCorrector/interface/JetCorrectorImpl.h
"
17
18
19
//
20
// constants, enums and typedefs
21
//
22
23
//
24
// static data member definitions
25
//
26
27
//
28
// constructors and destructor
29
//
30
reco::JetCorrectorImpl::JetCorrectorImpl
()
31
{
32
}
33
34
// JetCorrectorImpl::JetCorrectorImpl(const JetCorrectorImpl& rhs)
35
// {
36
// // do actual copying here;
37
// }
38
39
reco::JetCorrectorImpl::~JetCorrectorImpl
()
40
{
41
}
42
43
//
44
// assignment operators
45
//
46
// const JetCorrectorImpl& JetCorrectorImpl::operator=(const JetCorrectorImpl& rhs)
47
// {
48
// //An exception safe implementation is
49
// JetCorrectorImpl temp(rhs);
50
// swap(rhs);
51
//
52
// return *this;
53
// }
54
55
//
56
// member functions
57
//
58
59
//
60
// const member functions
61
//
62
63
double
64
reco::JetCorrectorImpl::correction
(
const
reco::Jet
& fJet,
65
const
edm::RefToBase<reco::Jet>
& fJetRef)
const
{
66
return
correction(fJet);
67
}
68
70
double
71
reco::JetCorrectorImpl::correction
(
const
reco::Jet
& fJet,
72
const
edm::RefToBase<reco::Jet>
& fJetRef,
73
LorentzVector
& corrected )
const
{
74
return
correction(fJet);
75
}
76
77
bool
78
reco::JetCorrectorImpl::vectorialCorrection
()
const
{
79
return
false
;
80
}
81
82
//
83
// static member functions
84
//
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
reco::JetCorrectorImpl::LorentzVector
reco::Particle::LorentzVector LorentzVector
Definition:
JetCorrectorImpl.h:38
edm::RefToBase< reco::Jet >
reco::JetCorrectorImpl::JetCorrectorImpl
JetCorrectorImpl()
Definition:
JetCorrectorImpl.cc:30
JetCorrectorImpl.h
Generated for CMSSW Reference Manual by
1.8.5