#include <BaseTrackerRecHit.h>
Public Member Functions | |
BaseTrackerRecHit () | |
BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt) | |
BaseTrackerRecHit (const GeomDet &idet, 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 |
virtual OmniClusterRef const & | firstClusterRef () const =0 |
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 override |
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 override |
LocalError | localPositionError () const override |
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 |
virtual const GeomDetUnit * | detUnit () const |
DetId | geographicalId () const |
unsigned int | getRTTI () const |
Type | getType () const |
bool | isValid () const |
id_type | rawId () const |
virtual std::vector< const TrackingRecHit * > | recHits () const =0 |
Access to component RecHits (if any) More... | |
virtual std::vector< TrackingRecHit * > | recHits ()=0 |
Non-const access to component RecHits (if any) More... | |
virtual void | recHitsV (std::vector< const TrackingRecHit *> &) const |
virtual void | recHitsV (std::vector< TrackingRecHit *> &) |
virtual void | setDet (const GeomDet &idet) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
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 () |
Protected Attributes | |
LocalError | err_ |
LocalPoint | pos_ |
unsigned int | qualWord_ |
Static Private Member Functions | |
static void | check () |
Additional Inherited Members | |
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 } |
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) |
Definition at line 15 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 17 of file BaseTrackerRecHit.h.
|
inlineoverride |
Definition at line 22 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 25 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 26 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 29 of file BaseTrackerRecHit.h.
References runTheMatrix::const, TrackingRecHit::det(), err_, LocalError::valid(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
|
inlinestaticprivate |
Definition at line 122 of file BaseTrackerRecHit.h.
Referenced by localPosition(), localPositionError(), localPositionErrorFast(), and localPositionFast().
|
inlinevirtual |
cluster probability, overloaded by pixel rechits.
Definition at line 108 of file BaseTrackerRecHit.h.
|
overridepure virtual |
Implements TrackingRecHit.
Implemented in FastTrackerRecHit, VectorHit, SiPixelRecHit, SiStripMatchedRecHit2D, ProjectedSiStripRecHit2D, SiTrackerMultiRecHit, SiStripRecHit2D, Phase2TrackerRecHit1D, SiStripRecHit1D, and MTDTrackingRecHit.
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 90 of file BaseTrackerRecHit.h.
References globalPosition(), globalPositionError(), and mathSSE::sqrt().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 92 of file BaseTrackerRecHit.h.
References globalPosition(), globalPositionError(), PV3DBase< T, PVType, FrameType >::perp(), and mathSSE::sqrt().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 91 of file BaseTrackerRecHit.h.
References globalPositionError(), and mathSSE::sqrt().
|
pure virtual |
Implemented in FastTrackerRecHit, VectorHit, TrackerSingleRecHit, SiTrackerMultiRecHit, and SiStripMatchedRecHit2D.
Referenced by SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), MkFitSeedConverter::convertSeeds(), TrackingNtuple::fillCandidates(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTracks(), and Traj2TrackHits::split().
|
overridepure virtual |
Reimplemented from TrackingRecHit.
Implemented in FastTrackerRecHit, VectorHit, SiPixelRecHit, SiStripMatchedRecHit2D, ProjectedSiStripRecHit2D, SiTrackerMultiRecHit, SiStripRecHit2D, Phase2TrackerRecHit1D, SiStripRecHit1D, and MTDTrackingRecHit.
void BaseTrackerRecHit::getKfComponents1D | ( | KfComponentsHolder & | holder | ) | const |
Definition at line 35 of file BaseTrackerRecHit.cc.
References err_, KfComponentsHolder::errors(), hasPositionAndError(), KfComponentsHolder::measuredErrors(), KfComponentsHolder::measuredParams(), KfComponentsHolder::params(), packedPFCandidateRefMixer_cfi::pf, pos_, KfComponentsHolder::projFunc(), KfComponentsHolder::tsosLocalErrors(), KfComponentsHolder::tsosLocalParameters(), PV3DBase< T, PVType, FrameType >::x(), and LocalError::xx().
Referenced by SiStripRecHit1D::getKfComponents(), SiTrackerMultiRecHit::getKfComponents(), and FastTrackerRecHit::getKfComponents().
void BaseTrackerRecHit::getKfComponents2D | ( | KfComponentsHolder & | holder | ) | const |
Definition at line 53 of file BaseTrackerRecHit.cc.
References err_, KfComponentsHolder::errors(), hasPositionAndError(), KfComponentsHolder::measuredErrors(), KfComponentsHolder::measuredParams(), KfComponentsHolder::params(), packedPFCandidateRefMixer_cfi::pf, pos_, KfComponentsHolder::projFunc(), KfComponentsHolder::tsosLocalErrors(), KfComponentsHolder::tsosLocalParameters(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by MTDTrackingRecHit::getKfComponents(), Phase2TrackerRecHit1D::getKfComponents(), SiStripRecHit2D::getKfComponents(), SiTrackerMultiRecHit::getKfComponents(), ProjectedSiStripRecHit2D::getKfComponents(), SiStripMatchedRecHit2D::getKfComponents(), SiPixelRecHit::getKfComponents(), and FastTrackerRecHit::getKfComponents().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 85 of file BaseTrackerRecHit.h.
References localPosition(), surface(), and Surface::toGlobal().
Referenced by SeedingOTEDProducer::buildInitialTSOS(), SeedingOTEDProducer::computeGlobalThetaError(), errorGlobalR(), errorGlobalRPhi(), and globalState().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 87 of file BaseTrackerRecHit.h.
References localPositionError(), surface(), and ErrorFrameTransformer::transform().
Referenced by errorGlobalR(), errorGlobalRPhi(), and errorGlobalZ().
|
inline |
Definition at line 97 of file BaseTrackerRecHit.h.
References GlobalErrorBase< T, ErrorWeightType >::czz(), globalPosition(), runTauDisplay::gp, localPositionError(), GlobalErrorBase< T, ErrorWeightType >::phierr(), alignCSCRings::r, GlobalErrorBase< T, ErrorWeightType >::rerr(), mathSSE::sqrt(), surface(), and ErrorFrameTransformer::transform().
|
overridevirtual |
to be redefined by daughter class
Reimplemented from TrackingRecHit.
Reimplemented in VectorHit.
Definition at line 29 of file BaseTrackerRecHit.cc.
References TrackingRecHit::det().
Referenced by getKfComponents1D(), and getKfComponents2D().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 20 of file BaseTrackerRecHit.h.
Referenced by SeedForPhotonConversionFromQuadruplets::buildSeedBool(), and SiTrackerMultiRecHit::sharesInput().
|
inline |
Definition at line 39 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isMatched().
Referenced by FastTrackerRecHitSplitter::split().
|
inline |
|
inlinevirtual |
Reimplemented in VectorHit, Phase2TrackerRecHit1D, and MTDTrackingRecHit.
Definition at line 46 of file BaseTrackerRecHit.h.
|
inlinevirtual |
Reimplemented in FastTrackerRecHit, and SiPixelRecHit.
Definition at line 45 of file BaseTrackerRecHit.h.
Referenced by Trajectory::pixel().
|
inline |
Definition at line 40 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isProjected().
Referenced by FastTrackerRecHitSplitter::split().
|
inline |
|
inline |
Definition at line 42 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isProjStereo().
|
inline |
|
inlineoverridevirtual |
Implements TrackingRecHit.
Reimplemented in VectorHit.
Definition at line 56 of file BaseTrackerRecHit.h.
Referenced by SiStripLAProfileBooker::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), Phase2ITValidateTrackingRecHit::fillITHistos(), Phase2OTValidateTrackingRecHit::fillOTHistos(), Phase2OTValidateRecHitBase::fillOTRecHitHistos(), Phase2ITValidateRecHitBase::fillRechitHistos(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), SiStripFineDelayTLA::findtrackangle(), globalPosition(), TrackerDpgAnalysis::insertMeasurement(), CRackTrajectoryBuilder::isDifferentStripReHit2D(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), TrajectorySeedHitCandidate::localPosition(), FastTrackerRecHitMatcher::match(), SiStripRecHitMatcher::match(), SiPixelCoordinates::pixel_(), FastTrackerRecHitMatcher::projectOnly(), SiStripRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), and SiPixelLorentzAnglePCLWorker::surface_deformation().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Reimplemented in VectorHit.
Definition at line 61 of file BaseTrackerRecHit.h.
Referenced by SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), Phase2OTValidateRecHitBase::fillOTRecHitHistos(), Phase2ITValidateRecHitBase::fillRechitHistos(), globalPositionError(), globalState(), FastTrackerRecHitMatcher::match(), SiStripRecHitMatcher::match(), FastTrackerRecHitMatcher::projectOnly(), SiStripRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), and SiStripTrackingRecHitsValid::rechitanalysis_matched().
|
inline |
Definition at line 69 of file BaseTrackerRecHit.h.
|
inline |
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 76 of file BaseTrackerRecHit.cc.
References Types::obsolete.
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 81 of file BaseTrackerRecHit.cc.
References Types::obsolete.
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 86 of file BaseTrackerRecHit.cc.
References Types::obsolete.
|
inline |
|
inline |
Definition at line 134 of file BaseTrackerRecHit.h.
References TrackingRecHit::geographicalId(), DetId::kSubdetOffset, and DetId::rawId().
Referenced by SiStripMatchedRecHit2D::sharesInput(), VectorHit::sharesInput(), and TrackerSingleRecHit::sharesInput().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 83 of file BaseTrackerRecHit.h.
References TrackingRecHit::det(), and GeomDet::surface().
Referenced by VectorHit::globalDirection(), globalPosition(), globalPositionError(), and globalState().
|
protected |
Definition at line 127 of file BaseTrackerRecHit.h.
Referenced by BaseTrackerRecHit(), getKfComponents1D(), getKfComponents2D(), FastTrackerRecHit::load(), localPositionError(), localPositionErrorFast(), and FastTrackerRecHit::store().
|
protected |
Definition at line 126 of file BaseTrackerRecHit.h.
Referenced by getKfComponents1D(), getKfComponents2D(), FastTrackerRecHit::load(), localPosition(), localPositionFast(), and FastTrackerRecHit::store().
|
protected |
Definition at line 131 of file BaseTrackerRecHit.h.
Referenced by SiPixelRecHit::hasBadPixels(), SiPixelRecHit::hasFilledProb(), SiPixelRecHit::isOnEdge(), SiPixelRecHit::probabilityQ(), SiPixelRecHit::probabilityX(), SiPixelRecHit::probabilityXY(), SiPixelRecHit::probabilityY(), SiPixelRecHit::qBin(), SiPixelRecHit::rawQualityWord(), SiPixelRecHit::SiPixelRecHit(), and SiPixelRecHit::spansTwoROCs().