Our base class. More...
#include <SiPixelRecHit.h>
Public Types | |
typedef edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > | ClusterRef |
Public Types inherited from TrackerSingleRecHit | |
typedef BaseTrackerRecHit | Base |
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 } |
Public Member Functions | |
virtual bool | canImproveWithTrack () const override |
virtual SiPixelRecHit * | clone () const override |
virtual RecHitPointer | cloneSH () const override |
ClusterRef | cluster () const |
float | clusterProbability (unsigned int flags=0) const |
virtual int | dimension () const override |
virtual void | getKfComponents (KfComponentsHolder &holder) const override |
bool | hasBadPixels () const |
bool | hasFilledProb () const |
bool | isOnEdge () const |
virtual bool | isPixel () const override |
float | probabilityQ () const |
float | probabilityX () const |
float | probabilityXY () const |
float | probabilityY () const |
int | qBin () const |
SiPixelRecHitQuality::QualWordType | rawQualityWord () const |
void | setClusterRef (ClusterRef const &ref) |
SiPixelRecHit () | |
SiPixelRecHit (const LocalPoint &pos, const LocalError &err, SiPixelRecHitQuality::QualWordType qual, GeomDet const &idet, ClusterRef const &clus) | |
bool | spansTwoROCs () const |
~SiPixelRecHit () | |
Public Member Functions inherited from TrackerSingleRecHit | |
ClusterPhase2Ref | cluster_phase2OT () const |
ClusterPixelRef | cluster_pixel () const |
ClusterStripRef | cluster_strip () const |
const GeomDetUnit * | detUnit () const |
virtual OmniClusterRef const & | firstClusterRef () const final |
OmniClusterRef const & | omniCluster () const |
OmniClusterRef & | omniCluster () |
OmniClusterRef const & | omniClusterRef () const |
OmniClusterRef & | omniClusterRef () |
Phase2TrackerCluster1D const & | phase2OTCluster () const |
SiPixelCluster const & | pixelCluster () const |
virtual std::vector< const TrackingRecHit * > | recHits () const |
Access to component RecHits (if any) More... | |
virtual std::vector< TrackingRecHit * > | recHits () |
Non-const access to component RecHits (if any) More... | |
bool | sameCluster (OmniClusterRef const &oh) const |
void | setClusterPhase2Ref (ClusterPhase2Ref const &ref) |
void | setClusterPixelRef (ClusterPixelRef const &ref) |
void | setClusterStripRef (ClusterStripRef const &ref) |
virtual 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... | |
float | errorGlobalR () const final |
float | errorGlobalRPhi () const final |
float | errorGlobalZ () const final |
void | getKfComponents1D (KfComponentsHolder &holder) const |
void | getKfComponents2D (KfComponentsHolder &holder) const |
virtual 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 |
bool | isProjected () const |
bool | isProjMono () const |
bool | isProjStereo () const |
bool | isSingle () const |
virtual LocalPoint | localPosition () const final |
virtual LocalError | localPositionError () const final |
const LocalError & | localPositionErrorFast () const |
const LocalPoint & | localPositionFast () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
trackerHitRTTI::RTTI | rtti () const |
bool | sameDetModule (TrackingRecHit const &hit) const |
virtual const Surface * | surface () const final |
virtual | ~BaseTrackerRecHit () |
Public Member Functions inherited from TrackingRecHit | |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () 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 Member Functions | |
virtual SiPixelRecHit * | clone (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override |
virtual RecHitPointer | cloneSH (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override |
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_ |
Our base class.
Pixel Reconstructed Hit.
Quality word packing
A pixel hit is a 2D position and error in a given pixel sensor. It contains a persistent reference edm::Ref to the pixel cluster.
Definition at line 23 of file SiPixelRecHit.h.
Definition at line 27 of file SiPixelRecHit.h.
|
inline |
|
inline |
Definition at line 31 of file SiPixelRecHit.h.
|
inline |
|
inlineoverridevirtual |
Returns true if the clone( const TrajectoryStateOnSurface&) method returns an improved hit, false if it returns an identical copy. In order to avoid redundent copies one should call canImproveWithTrack() before calling clone( const TrajectoryStateOnSurface&). this will be done inside the TkCloner itself
Reimplemented from TrackingRecHit.
Definition at line 57 of file SiPixelRecHit.h.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 43 of file SiPixelRecHit.h.
References SiPixelRecHit().
|
inlineoverrideprivatevirtual |
Reimplemented from TrackingRecHit.
Definition at line 60 of file SiPixelRecHit.h.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 45 of file SiPixelRecHit.h.
|
inlineoverrideprivatevirtual |
Reimplemented from TrackingRecHit.
Definition at line 64 of file SiPixelRecHit.h.
References BaseTrackerRecHit::clusterProbability(), flags, and TkCloner::makeShared().
|
inline |
Definition at line 49 of file SiPixelRecHit.h.
References TrackerSingleRecHit::cluster_pixel().
Referenced by SiPixelPhase1TrackClustersV::analyze(), SiPixelPhase1RecHits::analyze(), AlignmentStats::analyze(), SiPixelErrorEstimation::analyze(), DuplicateRecHits::analyze(), OverlapProblemTSOSAnalyzer::analyze(), SeedMultiplicityAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), TrackerHitAssociator::associatePixelRecHit(), FWTrajectorySeedProxyBuilder::build(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), AlignmentTrackSelector::checkPrescaledHits(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), ClusterShape::determineShape(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), ApeEstimator::fillHitVariables(), QuickTrackAssociatorByHitsImpl::getMatchedClusters(), ClusterShapeHitFilter::getSizes(), TrackerDpgAnalysis::insertMeasurement(), ClusterShapeHitFilter::isCompatible(), TkClonerImpl::makeShared(), TkClonerImpl::operator()(), SeedClusterRemoverPhase2::process(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), AlignmentPrescaler::produce(), TkAlCaOverlapTagger::produce(), reco::CentralityProducer::produce(), ShallowGainCalibration::produce(), fireworks::pushNearbyPixelHits(), and HIPAlignmentAlgorithm::run().
float SiPixelRecHit::clusterProbability | ( | unsigned int | flags = 0 | ) | const |
Definition at line 10 of file SiPixelRecHit.cc.
References hasFilledProb(), probabilityQ(), and probabilityXY().
Referenced by SiPixelPhase1RecHits::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), TrackerDpgAnalysis::analyze(), reco::modules::TrackerTrackHitFilter::checkStoN(), ApeEstimator::fillHitVariables(), and FilterScrapingPixelProbability::filter().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements BaseTrackerRecHit.
Definition at line 54 of file SiPixelRecHit.h.
References BaseTrackerRecHit::getKfComponents2D().
|
inline |
Definition at line 117 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::hasBadPixels(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by ApeEstimator::fillHitVariables().
|
inline |
Definition at line 126 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::hasFilledProb(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by SiPixelTrackResidualSource::analyze(), reco::modules::TrackerTrackHitFilter::checkStoN(), clusterProbability(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 113 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::isOnEdge(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by ApeEstimator::fillHitVariables().
|
inlineoverridevirtual |
Reimplemented from BaseTrackerRecHit.
Definition at line 40 of file SiPixelRecHit.h.
|
inline |
Definition at line 99 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::probabilityQ(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by clusterProbability(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 88 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::probabilityX(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by TestTrackHits::analyze(), and TestOutliers::analyze().
|
inline |
Definition at line 96 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::probabilityXY(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by clusterProbability(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 91 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::probabilityY(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by TestTrackHits::analyze(), and TestOutliers::analyze().
|
inline |
Definition at line 106 of file SiPixelRecHit.h.
References SiPixelRecHitQuality::Packing::qBin(), BaseTrackerRecHit::qualWord_, and SiPixelRecHitQuality::thePacking.
Referenced by reco::modules::TrackerTrackHitFilter::checkStoN(), and ApeEstimator::fillHitVariables().
|
inline |
Definition at line 81 of file SiPixelRecHit.h.
References BaseTrackerRecHit::qualWord_.
Referenced by HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 51 of file SiPixelRecHit.h.
References TrackerSingleRecHit::setClusterPixelRef().
|
inline |
Definition at line 121 of file SiPixelRecHit.h.
References BaseTrackerRecHit::qualWord_, SiPixelRecHitQuality::Packing::spansTwoROCs(), and SiPixelRecHitQuality::thePacking.
Referenced by ApeEstimator::fillHitVariables().