CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1FastjetCorrector.h
Go to the documentation of this file.
1 //
2 // L1FastjetCorrector
3 // ------------------
4 //
5 // 08/09/2009 Philipp Schieferdecker <philipp.schieferdecker@cern.ch>
6 //
7 #ifndef L1FastjetCorrector_h
8 #define L1FastjetCorrector_h 1
9 
16 
18 {
19 public:
20  // construction / destruction
21  L1FastjetCorrector(const JetCorrectorParameters& fParam, const edm::ParameterSet& fConfig);
22  virtual ~L1FastjetCorrector();
23 
24 public:
25  //member functions
26 
28  virtual double correction(const LorentzVector& fJet) const;
30  virtual double correction(const reco::Jet& fJet) const;
32  virtual double correction(const reco::Jet& fJet,
33  const edm::Event& fEvent,
34  const edm::EventSetup& fSetup) const;
36  virtual bool eventRequired() const { return true; }
37 
38  //----- if correction needs a jet reference -------------
39  virtual bool refRequired() const { return false; }
40 
41 private:
42  // member data
45 };
46 
47 #endif
virtual double correction(const LorentzVector &fJet) const
apply correction using Jet information only
FactorizedJetCorrector * mCorrector
Base class for all types of Jets.
Definition: Jet.h:21
virtual bool refRequired() const
if correction needs the jet reference
L1FastjetCorrector(const JetCorrectorParameters &fParam, const edm::ParameterSet &fConfig)
virtual bool eventRequired() const
if correction needs event information
reco::Particle::LorentzVector LorentzVector
Definition: JetCorrector.h:24