File indexing completed on 2024-04-06 12:03:46
0001 #ifndef DataFormats_BTauReco_BoostedDoubleSVTagInfo_h
0002 #define DataFormats_BTauReco_BoostedDoubleSVTagInfo_h
0003
0004 #include "DataFormats/BTauReco/interface/RefMacros.h"
0005 #include "DataFormats/BTauReco/interface/BaseTagInfo.h"
0006 #include "DataFormats/BTauReco/interface/CandIPTagInfo.h"
0007 #include "DataFormats/BTauReco/interface/CandSecondaryVertexTagInfo.h"
0008 #include "DataFormats/BTauReco/interface/TaggingVariable.h"
0009
0010 namespace reco {
0011
0012 class BoostedDoubleSVTagInfo : public BaseTagInfo {
0013 public:
0014 BoostedDoubleSVTagInfo(void) {}
0015
0016 BoostedDoubleSVTagInfo(const TaggingVariableList& list,
0017 const edm::Ref<std::vector<CandSecondaryVertexTagInfo> >& svTagInfoRef)
0018 : m_list(list), m_svTagInfoRef(svTagInfoRef) {}
0019
0020 ~BoostedDoubleSVTagInfo(void) override {}
0021
0022 BoostedDoubleSVTagInfo* clone(void) const override { return new BoostedDoubleSVTagInfo(*this); }
0023
0024 edm::RefToBase<Jet> jet(void) const override { return m_svTagInfoRef->jet(); }
0025
0026 TaggingVariableList taggingVariables(void) const override { return m_list; }
0027
0028 protected:
0029 TaggingVariableList m_list;
0030 edm::Ref<std::vector<CandSecondaryVertexTagInfo> > m_svTagInfoRef;
0031 };
0032
0033 DECLARE_EDM_REFS(BoostedDoubleSVTagInfo)
0034
0035 }
0036
0037 #endif