#include <TrackerSingleRecHit.h>
Public Types | |
typedef BaseTrackerRecHit | Base |
typedef OmniClusterRef::ClusterMTDRef | ClusterMTDRef |
typedef OmniClusterRef::Phase2Cluster1DRef | ClusterPhase2Ref |
typedef OmniClusterRef::ClusterPixelRef | ClusterPixelRef |
typedef OmniClusterRef::ClusterStripRef | ClusterStripRef |
Public Types inherited from TrackingRecHit | |
typedef std::vector< ConstRecHitPointer > | ConstRecHitContainer |
using | ConstRecHitPointer = std::shared_ptr< TrackingRecHit const > |
typedef unsigned int | id_type |
typedef std::vector< ConstRecHitPointer > | RecHitContainer |
using | RecHitPointer = std::shared_ptr< TrackingRecHit const > |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3, missing_inner = 4, missing_outer = 5, inactive_inner = 6, inactive_outer = 7 } |
Public Member Functions | |
ClusterMTDRef | cluster_mtd () const |
ClusterPhase2Ref | cluster_phase2OT () const |
ClusterPixelRef | cluster_pixel () const |
ClusterStripRef | cluster_strip () const |
const GeomDetUnit * | detUnit () const override |
OmniClusterRef const & | firstClusterRef () const final |
FTLCluster const & | mtdCluster () const |
OmniClusterRef const & | omniCluster () const |
OmniClusterRef & | omniCluster () |
OmniClusterRef const & | omniClusterRef () const |
OmniClusterRef & | omniClusterRef () |
Phase2TrackerCluster1D const & | phase2OTCluster () const |
SiPixelCluster const & | pixelCluster () const |
std::vector< const TrackingRecHit * > | recHits () const override |
Access to component RecHits (if any) More... | |
std::vector< TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
bool | sameCluster (OmniClusterRef const &oh) const |
void | setClusterMTDRef (ClusterMTDRef const &ref) |
void | setClusterPhase2Ref (ClusterPhase2Ref const &ref) |
void | setClusterPixelRef (ClusterPixelRef const &ref) |
void | setClusterStripRef (ClusterStripRef const &ref) |
bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const final |
bool | sharesInput (TrackerSingleRecHit const &other) const |
SiStripCluster const & | stripCluster () const |
TrackerSingleRecHit () | |
TrackerSingleRecHit (DetId id, OmniClusterRef const &clus) | |
template<typename CluRef > | |
TrackerSingleRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, CluRef const &clus) | |
template<typename CluRef > | |
TrackerSingleRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt, CluRef const &clus) | |
Public Member Functions inherited from BaseTrackerRecHit | |
BaseTrackerRecHit () | |
BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt) | |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
int | dimension () const override=0 |
float | errorGlobalR () const final |
float | errorGlobalRPhi () const final |
float | errorGlobalZ () const final |
void | getKfComponents (KfComponentsHolder &holder) const override=0 |
void | getKfComponents1D (KfComponentsHolder &holder) const |
void | getKfComponents2D (KfComponentsHolder &holder) const |
GlobalPoint | globalPosition () const final |
GlobalError | globalPositionError () const final |
TrackingRecHitGlobalState | globalState () const |
bool | hasPositionAndError () const final |
to be redefined by daughter class More... | |
BaseTrackerRecHit const * | hit () const final |
bool | isMatched () const |
bool | isMulti () const |
virtual bool | isPhase2 () const |
virtual bool | isPixel () const |
bool | isProjected () const |
bool | isProjMono () const |
bool | isProjStereo () const |
bool | isSingle () const |
LocalPoint | localPosition () const final |
LocalError | localPositionError () const final |
const LocalError & | localPositionErrorFast () const |
const LocalPoint & | localPositionFast () const |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
trackerHitRTTI::RTTI | rtti () const |
bool | sameDetModule (TrackingRecHit const &hit) const |
const Surface * | surface () const final |
~BaseTrackerRecHit () override | |
Public Member Functions inherited from TrackingRecHit | |
virtual bool | canImproveWithTrack () const |
virtual TrackingRecHit * | clone () const =0 |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
DetId | geographicalId () const |
unsigned int | getRTTI () const |
Type | getType () const |
bool | isValid () const |
id_type | rawId () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual void | setDet (const GeomDet &idet) |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh) | |
virtual ConstRecHitContainer | transientHits () const |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
OmniClusterRef | cluster_ |
Additional Inherited Members | |
Static Public Attributes inherited from TrackingRecHit | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Protected Attributes inherited from BaseTrackerRecHit | |
LocalError | err_ |
LocalPoint | pos_ |
unsigned int | qualWord_ |
Definition at line 13 of file TrackerSingleRecHit.h.
Definition at line 16 of file TrackerSingleRecHit.h.
Definition at line 24 of file TrackerSingleRecHit.h.
Definition at line 23 of file TrackerSingleRecHit.h.
Definition at line 21 of file TrackerSingleRecHit.h.
Definition at line 22 of file TrackerSingleRecHit.h.
|
inline |
Definition at line 18 of file TrackerSingleRecHit.h.
|
inline |
Definition at line 28 of file TrackerSingleRecHit.h.
|
inline |
Definition at line 33 of file TrackerSingleRecHit.h.
|
inline |
Definition at line 39 of file TrackerSingleRecHit.h.
|
inline |
Definition at line 69 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::cluster_mtd().
|
inline |
Definition at line 65 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::cluster_phase2OT().
Referenced by Phase2TrackerRecHit1D::cluster().
|
inline |
Definition at line 57 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::cluster_pixel().
Referenced by SiPixelRecHit::cluster().
|
inline |
Definition at line 61 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::cluster_strip().
Referenced by SiStripRecHit1D::cluster(), SiStripRecHit2D::cluster(), and ProjectedSiStripRecHit2D::cluster().
|
inlineoverridevirtual |
CAUTION: the GeomDetUnit* is zero for composite hits (matched hits in the tracker, segments in the muon). Always check this pointer before using it!
Reimplemented from TrackingRecHit.
Definition at line 44 of file TrackerSingleRecHit.h.
References TrackingRecHit::det().
Referenced by TkClonerImpl::makeShared(), TkClonerImpl::operator()(), SiPixelCoordinates::pixel_(), HSCPDeDxInfoProducer::processHit(), and DeDxHitInfoProducer::processHit().
|
inlinefinalvirtual |
Implements BaseTrackerRecHit.
Definition at line 49 of file TrackerSingleRecHit.h.
References cluster_.
|
inline |
Definition at line 85 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::mtdCluster().
|
inline |
Definition at line 52 of file TrackerSingleRecHit.h.
References cluster_.
Referenced by helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), MTDTrackingRecHit::energy(), TkClonerImpl::makeShared(), TkClonerImpl::operator()(), MTDTrackingRecHit::time(), and MTDTrackingRecHit::timeError().
|
inline |
|
inline |
Definition at line 51 of file TrackerSingleRecHit.h.
References cluster_.
Referenced by track_associator::hitsToClusterRefs(), ProjectedSiStripRecHit2D::originalHit(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), and HITrackClusterRemover::process().
|
inline |
|
inline |
Definition at line 81 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::phase2OTCluster().
Referenced by TkClonerImpl::makeShared(), and TkClonerImpl::operator()().
|
inline |
Definition at line 77 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::pixelCluster().
|
overridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 147 of file TrackerSingleRecHit.cc.
Referenced by sameCluster().
|
overridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 151 of file TrackerSingleRecHit.cc.
|
inline |
Definition at line 102 of file TrackerSingleRecHit.h.
References cluster_, and recHits().
Referenced by SiStripMatchedRecHit2D::sharesInput().
|
inline |
Definition at line 93 of file TrackerSingleRecHit.h.
References cluster_, trackingPlots::other, and sharesInput().
|
inline |
Definition at line 92 of file TrackerSingleRecHit.h.
References cluster_.
Referenced by Phase2TrackerRecHit1D::setClusterRef().
|
inline |
Definition at line 90 of file TrackerSingleRecHit.h.
References cluster_.
Referenced by SiPixelRecHit::setClusterRef().
|
inline |
Definition at line 91 of file TrackerSingleRecHit.h.
References cluster_.
Referenced by SiStripRecHit1D::setClusterRef(), and SiStripRecHit2D::setClusterRef().
|
finalvirtual |
Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. The second argument specifies how much sharing is needed in order to return true: the value "all" means that all inputs of the two hits must be identical; the value "some" means that at least one of the inputs is in common.
Reimplemented from TrackingRecHit.
Definition at line 111 of file TrackerSingleRecHit.cc.
References TrackingRecHit::all, mps_fire::i, trackerHitRTTI::isMatched(), trackerHitRTTI::isSingleType(), TrackingRecHit::recHits(), BaseTrackerRecHit::sameDetModule(), and SiStripMatchedRecHit2D::sharesInput().
Referenced by setClusterMTDRef().
|
inline |
|
inline |
Definition at line 73 of file TrackerSingleRecHit.h.
References cluster_, and OmniClusterRef::stripCluster().
Referenced by ClusterShapeHitFilter::getSizes(), ClusterShapeHitFilter::isCompatible(), TkClonerImpl::makeShared(), TkClonerImpl::operator()(), HSCPDeDxInfoProducer::processHit(), DeDxHitInfoProducer::processHit(), and StripSubClusterShapeFilterBase::testLastHit().
|
private |
Definition at line 112 of file TrackerSingleRecHit.h.
Referenced by cluster_mtd(), cluster_phase2OT(), cluster_pixel(), cluster_strip(), firstClusterRef(), mtdCluster(), omniCluster(), omniClusterRef(), phase2OTCluster(), pixelCluster(), sameCluster(), setClusterMTDRef(), setClusterPhase2Ref(), setClusterPixelRef(), setClusterStripRef(), sharesInput(), and stripCluster().