File indexing completed on 2024-04-06 12:03:47
0001 #ifndef DataFormats_BTauReco_ShallowTagInfo_h
0002 #define DataFormats_BTauReco_ShallowTagInfo_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 ShallowTagInfo : public BaseTagInfo {
0013 public:
0014 ShallowTagInfo(void) {}
0015
0016 ShallowTagInfo(const TaggingVariableList& list, const edm::RefToBase<Jet>& jetref) : list_(list), jetRef_(jetref) {}
0017
0018 ~ShallowTagInfo(void) override {}
0019
0020 ShallowTagInfo* clone(void) const override { return new ShallowTagInfo(*this); }
0021
0022 edm::RefToBase<Jet> jet(void) const override { return jetRef_; }
0023
0024 TaggingVariableList taggingVariables(void) const override { return list_; }
0025
0026 protected:
0027 TaggingVariableList list_;
0028 edm::RefToBase<Jet> jetRef_;
0029 };
0030
0031 DECLARE_EDM_REFS(ShallowTagInfo)
0032
0033 }
0034
0035 #endif