Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:23

0001 #ifndef DataFormats_JetMatching_JetFlavourInfoMatching_h
0002 #define DataFormats_JetMatching_JetFlavourInfoMatching_h
0003 
0004 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0005 #include "DataFormats/Common/interface/AssociationVector.h"
0006 #include "DataFormats/Common/interface/RefToBaseProd.h"
0007 #include "DataFormats/JetMatching/interface/JetFlavourInfo.h"
0008 #include <vector>
0009 
0010 namespace reco {
0011 
0012   typedef edm::AssociationVector<edm::RefToBaseProd<reco::Jet>, std::vector<reco::JetFlavourInfo> >
0013       JetFlavourInfoMatchingCollectionBase;
0014 
0015   class JetFlavourInfoMatchingCollection : public JetFlavourInfoMatchingCollectionBase {
0016   public:
0017     JetFlavourInfoMatchingCollection() : JetFlavourInfoMatchingCollectionBase() {}
0018 
0019     JetFlavourInfoMatchingCollection(const reco::CaloJetRefProd &ref)
0020         : JetFlavourInfoMatchingCollectionBase(edm::RefToBaseProd<reco::Jet>(ref)) {}
0021 
0022     JetFlavourInfoMatchingCollection(const JetFlavourInfoMatchingCollectionBase &v)
0023         : JetFlavourInfoMatchingCollectionBase(v) {}
0024   };
0025 
0026   typedef JetFlavourInfoMatchingCollection::value_type JetFlavourInfoMatching;
0027 
0028   typedef edm::Ref<JetFlavourInfoMatchingCollection> JetFlavourInfoMatchingRef;
0029 
0030   typedef edm::RefProd<JetFlavourInfoMatchingCollection> JetFlavourInfoMatchingRefProd;
0031 
0032   typedef edm::RefVector<JetFlavourInfoMatchingCollection> JetFlavourInfoMatchingRefVector;
0033 
0034 }  // namespace reco
0035 
0036 #endif  // DataFormats_JetMatching_JetFlavourInfoMatching_h