File indexing completed on 2023-03-17 11:17:14
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
0009
0010
0011
0012
0013
0014
0015
0016 class LeptonTaggerByPt : public JetTagComputer {
0017 public:
0018 using Tokens = void;
0019
0020
0021 explicit LeptonTaggerByPt(const edm::ParameterSet& configuration) : m_selector(configuration) { uses("slTagInfos"); }
0022
0023
0024 ~LeptonTaggerByPt() override {}
0025
0026
0027 float discriminator(const TagInfoHelper& tagInfo) const override;
0028
0029 private:
0030 btag::LeptonSelector m_selector;
0031 };
0032
0033 #endif