A struct for clusters associated to hits. More...
Public Member Functions | |
template<typename RecHitType > | |
ClusterHitRecord (const RecHitType &hit, TrackingRecHitCollection &hits, size_t idx) | |
const ClusterRefType & | clusterRef () const |
this method is to be able to compare and see if two refs are the same More... | |
uint32_t | detid () const |
returns the detid More... | |
bool | operator< (const ClusterHitRecord< ClusterRefType > &other) const |
this one is to sort by detid and then by index of the rechit More... | |
template<typename RecHitType > | |
void | rekey (const ClusterRefType &newRef) const |
Private Member Functions | |
ClusterHitRecord () | |
Private Attributes | |
uint32_t | detid_ |
private => unusable More... | |
TrackingRecHitCollection * | hits_ |
size_t | index_ |
ClusterRefType | ref_ |
A struct for clusters associated to hits.
Definition at line 46 of file ClusterStorer.h.
|
inline |
Create a record for a hit with a given index in the TrackingRecHitCollection. 'RecHitType' must have a method 'cluster()' that returns a 'ClusterRefType'.
Definition at line 51 of file ClusterStorer.h.
|
inlineprivate |
Definition at line 67 of file ClusterStorer.h.
|
inline |
this method is to be able to compare and see if two refs are the same
Definition at line 56 of file ClusterStorer.h.
References helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::ref_.
|
inline |
returns the detid
Definition at line 54 of file ClusterStorer.h.
References helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::detid_.
|
inline |
this one is to sort by detid and then by index of the rechit
Definition at line 58 of file ClusterStorer.h.
References helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::detid_, and helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::ref_.
void helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey | ( | const ClusterRefType & | newRef | ) | const |
Set the reference of the hit of this record to 'newRef', will not modify the ref stored in this object.
Definition at line 141 of file ClusterStorer.cc.
References TrackingRecHit::geographicalId(), and DetId::rawId().
|
private |
private => unusable
Definition at line 68 of file ClusterStorer.h.
Referenced by helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::detid(), and helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::operator<().
|
private |
Definition at line 69 of file ClusterStorer.h.
|
private |
Definition at line 70 of file ClusterStorer.h.
|
private |
Definition at line 71 of file ClusterStorer.h.
Referenced by helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::clusterRef(), and helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::operator<().