CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
17 
18 
19 //
20 // constants, enums and typedefs
21 //
22 
23 //
24 // static data member definitions
25 //
26 
27 //
28 // constructors and destructor
29 //
31 {
32 }
33 
34 // JetCorrectorImpl::JetCorrectorImpl(const JetCorrectorImpl& rhs)
35 // {
36 // // do actual copying here;
37 // }
38 
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
65  const edm::RefToBase<reco::Jet>& fJetRef) const {
66  return correction(fJet);
67 }
68 
70 double
72  const edm::RefToBase<reco::Jet>& fJetRef,
73  LorentzVector& corrected ) const {
74  return correction(fJet);
75 }
76 
77 bool
79  return false;
80 }
81 
82 //
83 // static member functions
84 //
virtual double correction(const LorentzVector &fJet) const =0
get correction using Jet information only
virtual bool vectorialCorrection() const
if vectorial correction is provided
Base class for all types of Jets.
Definition: Jet.h:20
reco::Particle::LorentzVector LorentzVector