Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef RecoBTag_SoftLepton_MuonTaggerNoIP_h
0002 #define RecoBTag_SoftLepton_MuonTaggerNoIP_h
0003 
0004 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "RecoBTau/JetTagComputer/interface/JetTagComputer.h"
0007 #include "RecoBTag/SoftLepton/interface/LeptonSelector.h"
0008 #include "RecoBTag/SoftLepton/interface/MuonTaggerNoIPMLP.h"
0009 
0010 /**  \class MuonTagger
0011  *
0012  *   Implementation of muon b-tagging using a softmax multilayer perceptron neural network
0013  *
0014  *
0015  *   \author Andrea 'fwyzard' Bocci, Universita' di Firenze
0016  */
0017 
0018 class MuonTaggerNoIP : public JetTagComputer {
0019 public:
0020   using Tokens = void;
0021 
0022   /// explicit ctor
0023   explicit MuonTaggerNoIP(const edm::ParameterSet& configuration) : m_selector(configuration) { uses("slTagInfos"); }
0024 
0025   /// dtor
0026   ~MuonTaggerNoIP() 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   btag::LeptonSelector m_selector;
0035 };
0036 
0037 #endif  // RecoBTag_SoftLepton_MuonTaggerNoIP_h