1 #ifndef TrackerRecHit2D_OmniClusterRef_H 2 #define TrackerRecHit2D_OmniClusterRef_H 13 static const unsigned int kInvalid = 0x80000000;
14 static const unsigned int kIsStrip = 0x20000000;
31 explicit OmniClusterRef(ClusterPixelRef
const& ref,
unsigned int subClus = 0)
32 :
me(ref.refCore(), (ref.isNonnull() ? ref.
key() | (subClus << subClusShift) : kInvalid)) {}
33 explicit OmniClusterRef(ClusterStripRef
const& ref,
unsigned int subClus = 0)
34 :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsStrip) | (subClus << subClusShift) : kInvalid)) {}
35 explicit OmniClusterRef(Phase2Cluster1DRef
const& ref,
unsigned int subClus = 0)
36 :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsPhase2) | (subClus << subClusShift) : kInvalid)) {}
38 :
me(ref.refCore(), (ref.isNonnull() ? (ref.
key() | kIsTiming) : kInvalid)) {}
90 #endif // TrackerRecHit2D_OmniClusterRef_H
edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > ClusterPixelRef
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
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)
edm::Ref< edmNew::DetSetVector< SiStripCluster >, SiStripCluster > ClusterStripRef
ClusterStripRef cluster_strip() const
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< FTLClusterCollection, FTLCluster > ClusterMTDRef
static const unsigned int subClusShift
static const unsigned int kIsRegional
static const unsigned int kInvalid