#include <BaseTrackerRecHit.h>
Public Member Functions | |
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... | |
virtual int | dimension () const =0 |
float | errorGlobalR () const GCC11_FINAL |
float | errorGlobalRPhi () const GCC11_FINAL |
float | errorGlobalZ () const GCC11_FINAL |
virtual OmniClusterRef const & | firstClusterRef () const =0 |
virtual void | getKfComponents (KfComponentsHolder &holder) const =0 |
void | getKfComponents1D (KfComponentsHolder &holder) const |
void | getKfComponents2D (KfComponentsHolder &holder) const |
virtual GlobalPoint | globalPosition () const GCC11_FINAL |
GlobalError | globalPositionError () const GCC11_FINAL |
TrackingRecHitGlobalState | globalState () const |
bool | hasPositionAndError () const GCC11_FINAL |
to be redefined by daughter class More... | |
BaseTrackerRecHit const * | hit () const GCC11_FINAL |
bool | isMatched () const |
bool | isMulti () const |
virtual bool | isPixel () const |
bool | isProjected () const |
bool | isProjMono () const |
bool | isProjSterep () const |
bool | isSingle () const |
virtual LocalPoint | localPosition () const GCC11_FINAL |
virtual LocalError | localPositionError () const GCC11_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 GCC11_FINAL |
virtual | ~BaseTrackerRecHit () |
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 * > &) |
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 | |
unsigned int | qualWord_ |
Static Private Member Functions | |
static void | check () |
Private Attributes | |
LocalError | err_ |
LocalPoint | pos_ |
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 } |
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 33 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 35 of file BaseTrackerRecHit.h.
|
inlinevirtual |
Definition at line 40 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 43 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 45 of file BaseTrackerRecHit.h.
References TrackingRecHit::det(), err_, GeomDet::localAlignmentError(), LocalError::valid(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
|
inlinestaticprivate |
Definition at line 139 of file BaseTrackerRecHit.h.
Referenced by localPosition(), localPositionError(), localPositionErrorFast(), and localPositionFast().
|
inlinevirtual |
cluster probability, overloaded by pixel rechits.
Definition at line 123 of file BaseTrackerRecHit.h.
|
pure virtual |
Implements TrackingRecHit.
Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, SiTrackerMultiRecHit, GSSiTrackerRecHit2DLocalPos, and GCC11_FINAL< T, TOPO >.
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 103 of file BaseTrackerRecHit.h.
References globalPosition(), globalPositionError(), and mathSSE::sqrt().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 105 of file BaseTrackerRecHit.h.
References globalPosition(), globalPositionError(), PV3DBase< T, PVType, FrameType >::perp(), and mathSSE::sqrt().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 104 of file BaseTrackerRecHit.h.
References globalPositionError(), and mathSSE::sqrt().
|
pure virtual |
Implemented in TrackerSingleRecHit, SiTrackerMultiRecHit, GSSiTrackerRecHit2DLocalPos, and GCC11_FINAL< T, TOPO >.
Referenced by Traj2TrackHits::clone().
|
pure virtual |
Reimplemented from TrackingRecHit.
Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, SiTrackerMultiRecHit, GCC11_FINAL< T, TOPO >, and GSSiTrackerRecHit2DLocalPos.
void BaseTrackerRecHit::getKfComponents1D | ( | KfComponentsHolder & | holder | ) | const |
Definition at line 39 of file BaseTrackerRecHit.cc.
References err_, KfComponentsHolder::errors(), KfComponentsHolder::measuredErrors(), KfComponentsHolder::measuredParams(), KfComponentsHolder::params(), pos_, KfComponentsHolder::projection(), KfComponentsHolder::tsosLocalErrors(), KfComponentsHolder::tsosLocalParameters(), PV3DBase< T, PVType, FrameType >::x(), and LocalError::xx().
Referenced by GCC11_FINAL< T, TOPO >::getKfComponents().
void BaseTrackerRecHit::getKfComponents2D | ( | KfComponentsHolder & | holder | ) | const |
Definition at line 56 of file BaseTrackerRecHit.cc.
References KfComponentsHolder::doUseProjFunc(), err_, KfComponentsHolder::errors(), ProjectMatrix< T, N, D >::index, KfComponentsHolder::measuredErrors(), KfComponentsHolder::measuredParams(), KfComponentsHolder::params(), pos_, KfComponentsHolder::projection(), 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 GSSiTrackerRecHit2DLocalPos::getKfComponents(), SiTrackerMultiRecHit::getKfComponents(), and GCC11_FINAL< T, TOPO >::getKfComponents().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 98 of file BaseTrackerRecHit.h.
References localPosition(), surface(), and Surface::toGlobal().
Referenced by errorGlobalR(), errorGlobalRPhi(), and globalState().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 102 of file BaseTrackerRecHit.h.
References localPositionError(), surface(), and ErrorFrameTransformer::transform().
Referenced by errorGlobalR(), errorGlobalRPhi(), and errorGlobalZ().
|
inline |
Definition at line 108 of file BaseTrackerRecHit.h.
References PV3DBase< T, PVType, FrameType >::barePhi(), PV3DBase< T, PVType, FrameType >::basicVector(), GlobalErrorBase< T, ErrorWeightType >::czz(), globalPosition(), localPositionError(), PV3DBase< T, PVType, FrameType >::perp(), GlobalErrorBase< T, ErrorWeightType >::phierr(), alignCSCRings::r, GlobalErrorBase< T, ErrorWeightType >::rerr(), mathSSE::sqrt(), surface(), and ErrorFrameTransformer::transform().
|
virtual |
to be redefined by daughter class
Reimplemented from TrackingRecHit.
Definition at line 29 of file BaseTrackerRecHit.cc.
References TrackingRecHit::det().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 38 of file BaseTrackerRecHit.h.
Referenced by SeedForPhotonConversionFromQuadruplets::buildSeedBool(), and SiTrackerMultiRecHit::sharesInput().
|
inline |
Definition at line 58 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isMatched().
|
inline |
|
inlinevirtual |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 64 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 59 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isProjected().
|
inline |
Definition at line 60 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isProjMono().
|
inline |
Definition at line 61 of file BaseTrackerRecHit.h.
References trackerHitRTTI::isProjStereo().
|
inline |
|
inlinevirtual |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 75 of file BaseTrackerRecHit.h.
Referenced by SeedForPhotonConversionFromQuadruplets::buildSeed(), Traj2TrackHits::clone(), globalPosition(), TrackerRecHit::localPosition(), GSRecHitMatcher::match(), TrackerRecHit::operator!=(), and GSRecHitMatcher::projectOnly().
|
inlinevirtual |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 77 of file BaseTrackerRecHit.h.
Referenced by Traj2TrackHits::clone(), globalPositionError(), globalState(), TrackerRecHit::largerError(), TrackerRecHit::localError(), GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().
|
inline |
Definition at line 81 of file BaseTrackerRecHit.h.
|
inline |
Definition at line 80 of file BaseTrackerRecHit.h.
|
virtual |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 84 of file BaseTrackerRecHit.cc.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
virtual |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 89 of file BaseTrackerRecHit.cc.
|
virtual |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 95 of file BaseTrackerRecHit.cc.
|
inline |
|
inline |
Definition at line 152 of file BaseTrackerRecHit.h.
References TrackingRecHit::geographicalId(), TrackingRecHit::isValid(), DetId::kSubdetOffset, and DetId::rawId().
Referenced by TrackerSingleRecHit::sharesInput().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 95 of file BaseTrackerRecHit.h.
References TrackingRecHit::det(), and GeomDet::surface().
Referenced by globalPosition(), globalPositionError(), and globalState().
|
private |
Definition at line 145 of file BaseTrackerRecHit.h.
Referenced by BaseTrackerRecHit(), getKfComponents1D(), getKfComponents2D(), localPositionError(), and localPositionErrorFast().
|
private |
Definition at line 144 of file BaseTrackerRecHit.h.
Referenced by getKfComponents1D(), getKfComponents2D(), localPosition(), and localPositionFast().
|
protected |
Definition at line 148 of file BaseTrackerRecHit.h.