Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:35

0001 #ifndef RecoBTag_SoftLepton_LeptonTaggerByPt_h
0002 #define RecoBTag_SoftLepton_LeptonTaggerByPt_h
0003 
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "RecoBTau/JetTagComputer/interface/JetTagComputer.h"
0006 #include "RecoBTag/SoftLepton/interface/LeptonSelector.h"
0007 
0008 /**  \class LeptonTaggerByPt
0009  *
0010  *   Implementation of muon b-tagging cutting on the lepton's transverse momentum relative to the jet axis
0011  *
0012  *
0013  *   \author Andrea 'fwyzard' Bocci, Universita' di Firenze
0014  */
0015 
0016 class LeptonTaggerByPt : public JetTagComputer {
0017 public:
0018   using Tokens = void;
0019 
0020   /// explicit ctor
0021   explicit LeptonTaggerByPt(const edm::ParameterSet& configuration) : m_selector(configuration) { uses("slTagInfos"); }
0022 
0023   /// dtor
0024   ~LeptonTaggerByPt() override {}
0025 
0026   /// b-tag a jet based on track-to-jet parameters in the extened info collection
0027   float discriminator(const TagInfoHelper& tagInfo) const override;
0028 
0029 private:
0030   btag::LeptonSelector m_selector;
0031 };
0032 
0033 #endif  // RecoBTag_SoftLepton_LeptonTaggerByPt_h