CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/SimDataFormats/JetMatching/interface/JetMatchedPartons.h

Go to the documentation of this file.
00001 #ifndef SimDataFormats_JetMatching_JetMatchedPartons_h
00002 #define SimDataFormats_JetMatching_JetMatchedPartons_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/MatchedPartons.h"
00008 #include <vector>
00009 
00010 namespace reco {
00011 
00012 typedef edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,std::vector<reco::MatchedPartons> > JetMatchedPartonsCollectionBase;
00013 
00014 class JetMatchedPartonsCollection : public JetMatchedPartonsCollectionBase {
00015 public:
00016   JetMatchedPartonsCollection() :
00017     JetMatchedPartonsCollectionBase()
00018   { }
00019 
00020   JetMatchedPartonsCollection(const reco::CaloJetRefProd & ref) :
00021     JetMatchedPartonsCollectionBase(ref)
00022   { }
00023 
00024   JetMatchedPartonsCollection(const JetMatchedPartonsCollectionBase &v) :
00025     JetMatchedPartonsCollectionBase(v)
00026   { }
00027 };
00028 
00029 typedef  JetMatchedPartonsCollection::value_type       JetMatchedPartons;
00030 
00031 typedef  edm::Ref<JetMatchedPartonsCollection>         JetMatchedPartonsRef;
00032 
00033 typedef  edm::RefProd<JetMatchedPartonsCollection>     JetMatchedPartonsRefProd;
00034 
00035 typedef  edm::RefVector<JetMatchedPartonsCollection>   JetMatchedPartonsRefVector;
00036 
00037 }
00038 
00039 #endif // SimDataFormats_JetMatching_JetMatchedPartons_h
00040