CMS 3D CMS Logo

BasicClusterFwd.h

Go to the documentation of this file.
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 namespace reco {
00011   class BasicCluster;
00012   /*
00013   struct BasicClusterRefProds {
00014     BasicClusterRefProds() { }
00015     edm::RefProd<EcalRecHitCollection> recHits() const { return recHits_; }
00016     void setRecHits( edm::RefProd<EcalRecHitCollection> ref ) { recHits_ = ref; }
00017   private:
00018     edm::RefProd<EcalRecHitCollection> recHits_;
00019   };
00020 
00021   typedef edm::ExtCollection<std::vector<BasicCluster>, BasicClusterRefProds> BasicClusterCollection;
00022   */
00023 
00025   typedef std::vector<BasicCluster> BasicClusterCollection;
00026 
00028   typedef edm::Ref<BasicClusterCollection> BasicClusterRef;
00029 
00031   typedef edm::RefProd<BasicClusterCollection> BasicClusterRefProd;
00032 
00034   typedef edm::RefVector<BasicClusterCollection> BasicClusterRefVector;
00035 
00037   typedef BasicClusterRefVector::iterator basicCluster_iterator;
00038 }
00039 
00040 #endif

Generated on Tue Jun 9 17:30:43 2009 for CMSSW by  doxygen 1.5.4