Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:23

0001 // -*- C++ -*-
0002 //
0003 // Package:     JetMETCorrections/JetCorrector
0004 // Class  :     JetCorrectorImpl
0005 //
0006 // Implementation:
0007 //     [Notes on implementation]
0008 //
0009 // Original Author:  Christopher Jones
0010 //         Created:  Fri, 29 Aug 2014 17:58:54 GMT
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "JetMETCorrections/JetCorrector/interface/JetCorrectorImpl.h"
0017 
0018 //
0019 // constants, enums and typedefs
0020 //
0021 
0022 //
0023 // static data member definitions
0024 //
0025 
0026 //
0027 // constructors and destructor
0028 //
0029 reco::JetCorrectorImpl::JetCorrectorImpl() {}
0030 
0031 // JetCorrectorImpl::JetCorrectorImpl(const JetCorrectorImpl& rhs)
0032 // {
0033 //    // do actual copying here;
0034 // }
0035 
0036 reco::JetCorrectorImpl::~JetCorrectorImpl() {}
0037 
0038 //
0039 // assignment operators
0040 //
0041 // const JetCorrectorImpl& JetCorrectorImpl::operator=(const JetCorrectorImpl& rhs)
0042 // {
0043 //   //An exception safe implementation is
0044 //   JetCorrectorImpl temp(rhs);
0045 //   swap(rhs);
0046 //
0047 //   return *this;
0048 // }
0049 
0050 //
0051 // member functions
0052 //
0053 
0054 //
0055 // const member functions
0056 //
0057 
0058 double reco::JetCorrectorImpl::correction(const reco::Jet& fJet, const edm::RefToBase<reco::Jet>& fJetRef) const {
0059   return correction(fJet);
0060 }
0061 
0062 /// Apply vectorial correction
0063 double reco::JetCorrectorImpl::correction(const reco::Jet& fJet,
0064                                           const edm::RefToBase<reco::Jet>& fJetRef,
0065                                           LorentzVector& corrected) const {
0066   return correction(fJet);
0067 }
0068 
0069 bool reco::JetCorrectorImpl::vectorialCorrection() const { return false; }
0070 
0071 //
0072 // static member functions
0073 //