CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L6SLBCorrector.h
Go to the documentation of this file.
1 //
3 // Level6 SLB (Semileptonic BJet) Corrector
4 // ----------------------------------------
5 //
6 // 25/10/2009 Hauke Held <hauke.held@cern.ch>
7 // Philipp Schieferdecker <philipp.schieferdecker@cern.ch>
9 #ifndef L6SLBCorrector_h
10 #define L6SLBCorrector_h
11 
17 
18 
20 {
21  //
22  // construction / destruction
23  //
24 public:
25  L6SLBCorrector (const JetCorrectorParameters& fParam, const edm::ParameterSet& fConfig);
26  virtual ~L6SLBCorrector ();
27 
28 
29  //
30  // member functions
31  //
32 public:
34  virtual double correction (const LorentzVector& fJet) const;
36  virtual double correction (const reco::Jet& fJet) const;
38  virtual double correction (const reco::Jet& fJet,
39  const edm::RefToBase<reco::Jet>& refToRawJet,
40  const edm::Event& fEvent,
41  const edm::EventSetup& fSetup) const;
42 
44  virtual bool eventRequired () const {return true;}
45 
46  //----- if correction needs a jet reference -------------
47  virtual bool refRequired () const {return true;}
48 
49  //
50  // private member functions
51  //
52 private:
53  int getBTagInfoIndex(const edm::RefToBase<reco::Jet>& refToRawJet,
54  const std::vector<reco::SoftLeptonTagInfo>& tags) const;
55 
56 
57  //
58  // member data
59  //
60 private:
66 
67 };
68 
69 #endif
virtual bool refRequired() const
if correction needs the jet reference
virtual double correction(const LorentzVector &fJet) const
apply correction using Jet information only
Base class for all types of Jets.
Definition: Jet.h:20
std::string tagName_
FactorizedJetCorrectorCalculator * corrector_
L6SLBCorrector(const JetCorrectorParameters &fParam, const edm::ParameterSet &fConfig)
virtual ~L6SLBCorrector()
edm::InputTag srcBTagInfoMuon_
virtual bool eventRequired() const
if correction needs event information
tuple tags
Definition: o2o.py:248
int getBTagInfoIndex(const edm::RefToBase< reco::Jet > &refToRawJet, const std::vector< reco::SoftLeptonTagInfo > &tags) const
edm::InputTag srcBTagInfoElec_
reco::Particle::LorentzVector LorentzVector
Definition: JetCorrector.h:23