1 #ifndef RecoAlgos_ClusterStorer_h
2 #define RecoAlgos_ClusterStorer_h
45 template<
typename ClusterRefType>
50 template<
typename RecHitType>
58 bool operator<(const ClusterHitRecord<ClusterRefType> &other)
const
64 template <
typename RecHitType>
65 void rekey(
const ClusterRefType &newRef)
const;
82 template<
typename HitType,
typename ClusterType>
A struct for clusters associated to hits.
ClusterHitRecord< SiStripRecHit2D::ClusterRef > StripClusterHitRecord
Assuming that the ClusterRef is the same for all SiStripRecHit*:
void rekey(const ClusterRefType &newRef) const
void addCluster(TrackingRecHitCollection &hits, size_t index)
add cluster of newHit to list (throws if hit is of unknown type)
const ClusterRefType & clusterRef() const
this method is to be able to compare and see if two refs are the same
uint32_t detid_
private => unusable
ClusterHitRecord< SiPixelRecHit::ClusterRef > PixelClusterHitRecord
std::vector< PixelClusterHitRecord > pixelClusterRecords_
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
ClusterHitRecord(const RecHitType &hit, TrackingRecHitCollection &hits, size_t idx)
uint32_t detid() const
returns the detid
void clear()
clear records
void processClusters(std::vector< ClusterHitRecord< typename HitType::ClusterRef > > &clusterRecords, edmNew::DetSetVector< ClusterType > &dsvToFill, edm::RefProd< edmNew::DetSetVector< ClusterType > > &refprod)
TrackingRecHitCollection * hits_
void processAllClusters(edmNew::DetSetVector< SiPixelCluster > &pixelDsvToFill, edm::RefProd< edmNew::DetSetVector< SiPixelCluster > > refPixelClusters, edmNew::DetSetVector< SiStripCluster > &stripDsvToFill, edm::RefProd< edmNew::DetSetVector< SiStripCluster > > refStripClusters)
std::vector< StripClusterHitRecord > stripClusterRecords_