00001 #ifndef EgammaReco_BasicClusterFwd_h 00002 #define EgammaReco_BasicClusterFwd_h 00003 #include <vector> 00004 #include "DataFormats/Common/interface/Ref.h" 00005 #include "DataFormats/Common/interface/RefVector.h" 00006 #include "DataFormats/Common/interface/RefProd.h" 00007 // #include "DataFormats/Common/interface/ExtCollection.h" 00008 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" 00009 00010 #include "DataFormats/EgammaReco/interface/BasicCluster.h" 00011 00012 namespace reco { 00013 //class BasicCluster; 00014 /* 00015 struct BasicClusterRefProds { 00016 BasicClusterRefProds() { } 00017 edm::RefProd<EcalRecHitCollection> recHits() const { return recHits_; } 00018 void setRecHits( edm::RefProd<EcalRecHitCollection> ref ) { recHits_ = ref; } 00019 private: 00020 edm::RefProd<EcalRecHitCollection> recHits_; 00021 }; 00022 00023 typedef edm::ExtCollection<std::vector<BasicCluster>, BasicClusterRefProds> BasicClusterCollection; 00024 */ 00025 00027 typedef std::vector<BasicCluster> BasicClusterCollection; 00028 00030 typedef edm::Ref<BasicClusterCollection> BasicClusterRef; 00031 00033 typedef edm::RefProd<BasicClusterCollection> BasicClusterRefProd; 00034 00036 typedef edm::RefVector<BasicClusterCollection> BasicClusterRefVector; 00037 00039 typedef BasicClusterRefVector::iterator basicCluster_iterator; 00040 } 00041 00042 #endif