CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/SimDataFormats/JetMatching/interface/JetFlavourMatching.h

Go to the documentation of this file.
00001 #ifndef SimDataFormats_JetMatching_JetFlavourMatching_h
00002 #define SimDataFormats_JetMatching_JetFlavourMatching_h
00003 
00004 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
00005 #include "DataFormats/Common/interface/AssociationVector.h"
00006 #include "DataFormats/Common/interface/RefToBaseProd.h"
00007 #include "SimDataFormats/JetMatching/interface/JetFlavour.h"
00008 #include <vector>
00009 
00010 namespace reco {
00011 
00012 typedef edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,std::vector<reco::JetFlavour> > JetFlavourMatchingCollectionBase;
00013 
00014 class JetFlavourMatchingCollection : public JetFlavourMatchingCollectionBase {
00015 public:
00016   JetFlavourMatchingCollection() :
00017     JetFlavourMatchingCollectionBase()
00018   { }
00019  
00020   JetFlavourMatchingCollection(const reco::CaloJetRefProd & ref) :
00021     JetFlavourMatchingCollectionBase(ref)
00022   { }
00023 
00024   JetFlavourMatchingCollection(const JetFlavourMatchingCollectionBase &v) :
00025     JetFlavourMatchingCollectionBase(v)
00026   { }
00027 };
00028 
00029 typedef  JetFlavourMatchingCollection::value_type       JetFlavourMatching;
00030 
00031 typedef  edm::Ref<JetFlavourMatchingCollection>         JetFlavourMatchingRef;
00032 
00033 typedef  edm::RefProd<JetFlavourMatchingCollection>     JetFlavourMatchingRefProd;
00034 
00035 typedef  edm::RefVector<JetFlavourMatchingCollection>   JetFlavourMatchingRefVector; 
00036 
00037 }
00038 
00039 #endif // SimDataFormats_JetMatching_JetFlavourMatching_h