CMS 3D CMS Logo

CalculatePtRatioRel.h
Go to the documentation of this file.
1 #ifndef __PhysicsTools_PatAlgos_CalculatePtRatioRel__
2 #define __PhysicsTools_PatAlgos_CalculatePtRatioRel__
3 
5 
6 #include <memory>
7 #include <string>
8 
9 namespace pat {
10  class Muon;
11 }
12 
13 namespace reco {
14  class JetCorrector;
15 } // namespace reco
16 
17 namespace pat {
19  public:
20  CalculatePtRatioRel(float dR2max);
21 
23 
24  std::array<float, 2> computePtRatioRel(const pat::Muon& imuon,
26  const reco::JetCorrector* correctorL1 = nullptr,
27  const reco::JetCorrector* correctorL1L2L3Res = nullptr) const;
28 
29  private:
30  float dR2max_;
31  };
32 } // namespace pat
33 #endif
Definition: HeavyIon.h:7
Definition: Muon.py:1
std::array< float, 2 > computePtRatioRel(const pat::Muon &imuon, const reco::JetTagCollection &bTags, const reco::JetCorrector *correctorL1=nullptr, const reco::JetCorrector *correctorL1L2L3Res=nullptr) const
fixed size matrix
Analysis-level muon class.
Definition: Muon.h:51