1 #ifndef TrackerRecHit2D_OmniClusterRef_H 2 #define TrackerRecHit2D_OmniClusterRef_H 14 static const unsigned int kInvalid = 0x80000000;
15 static const unsigned int kIsStrip = 0x20000000;
32 explicit OmniClusterRef(ClusterPixelRef
const & ref,
unsigned int subClus=0) :
me(ref.refCore(), (ref.isNonnull() ? ref.
key() | (subClus<<subClusShift) : kInvalid) ){ }
33 explicit OmniClusterRef(ClusterStripRef
const & ref,
unsigned int subClus=0) :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsStrip ) | (subClus<<subClusShift) : kInvalid) ){ }
34 explicit OmniClusterRef(Phase2Cluster1DRef
const & ref,
unsigned int subClus=0) :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsPhase2) | (subClus<<subClusShift) : kInvalid) ){ }
35 explicit OmniClusterRef(ClusterMTDRef
const & ref) :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsTiming) : kInvalid) ){ }
97 #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
OmniClusterRef(ClusterMTDRef const &ref)
static const unsigned int kIsPhase2
unsigned int index() const
edm::Ref< FTLClusterCollection, FTLCluster > ClusterMTDRef
FTLCluster const & mtdCluster() 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
ClusterMTDRef cluster_mtd() const
unsigned int index() const
Pixel cluster – collection of neighboring pixels above threshold.
edm::ProductID id() const
static const unsigned int kIsTiming
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