Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-31 02:19:53

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