1 #ifndef TrackerRecHit2D_OmniClusterRef_H 2 #define TrackerRecHit2D_OmniClusterRef_H 13 static const unsigned int kInvalid = 0x80000000;
14 static const unsigned int kIsStrip = 0x20000000;
29 explicit OmniClusterRef(ClusterPixelRef
const & ref,
unsigned int subClus=0) :
me(ref.refCore(), (ref.isNonnull() ? ref.
key() | (subClus<<subClusShift) : kInvalid) ){ }
30 explicit OmniClusterRef(ClusterStripRef
const & ref,
unsigned int subClus=0) :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsStrip ) | (subClus<<subClusShift) : kInvalid) ){ }
31 explicit OmniClusterRef(Phase2Cluster1DRef
const & ref,
unsigned int subClus=0) :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsPhase2) | (subClus<<subClusShift) : kInvalid) ){ }
86 #endif // TrackerRecHit2D_OmniClusterRef_H unsigned int rawIndex() const
Phase2Cluster1DRef cluster_phase2OT() const
Phase2TrackerCluster1D const & phase2OTCluster() const
SiPixelCluster const & pixelCluster() const
OmniClusterRef(ClusterPixelRef const &ref, unsigned int subClus=0)
unsigned int subCluster() const
static const unsigned int kIsPhase2
unsigned int index() const
ClusterPixelRef cluster_pixel() const
bool operator==(OmniClusterRef const &lh) const
OmniClusterRef(Phase2Cluster1DRef const &ref, unsigned int subClus=0)
SiStripCluster const & stripCluster() const
RefCore const & toRefCore() const
bool operator<(OmniClusterRef const &lh) const
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2Cluster1DRef
OmniClusterRef(ClusterStripRef const &ref, unsigned int subClus=0)
ClusterStripRef cluster_strip() const
edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > ClusterPixelRef
static const unsigned int kIsStrip
static const unsigned int indexMask
unsigned int index() const
Pixel cluster – collection of neighboring pixels above threshold.
edm::ProductID id() const
static const unsigned int subClusMask
edm::Ref< edmNew::DetSetVector< SiStripCluster >, SiStripCluster > ClusterStripRef
static const unsigned int subClusShift
static const unsigned int kIsRegional
static const unsigned int kInvalid