File indexing completed on 2024-04-06 12:23:46
0001 #ifndef __PhysicsTools_PatAlgos_CalculatePtRatioRel__
0002 #define __PhysicsTools_PatAlgos_CalculatePtRatioRel__
0003
0004 #include "DataFormats/BTauReco/interface/JetTag.h"
0005
0006 #include <memory>
0007 #include <string>
0008
0009 namespace pat {
0010 class Muon;
0011 }
0012
0013 namespace reco {
0014 class JetCorrector;
0015 }
0016
0017 namespace pat {
0018 class CalculatePtRatioRel {
0019 public:
0020 CalculatePtRatioRel(float dR2max);
0021
0022 ~CalculatePtRatioRel();
0023
0024 std::array<float, 2> computePtRatioRel(const pat::Muon& imuon,
0025 const reco::JetTagCollection& bTags,
0026 const reco::JetCorrector* correctorL1 = nullptr,
0027 const reco::JetCorrector* correctorL1L2L3Res = nullptr) const;
0028
0029 private:
0030 float dR2max_;
0031 };
0032 }
0033 #endif