#include <TValidTrackingRecHit.h>
Public Member Functions | |
bool | canImproveWithTrack () const override |
TrackingRecHit * | cloneHit () const override |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
float | errorGlobalR () const final |
float | errorGlobalRPhi () const final |
float | errorGlobalZ () const final |
GlobalPoint | globalPosition () const final |
GlobalError | globalPositionError () const final |
TrackingRecHitGlobalState | globalState () const |
const Surface * | surface () const final |
TValidTrackingRecHit (const GeomDet &geom) | |
template<typename... Args> | |
TValidTrackingRecHit (Args &&...args) | |
Public Member Functions inherited from TrackingRecHit | |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
virtual int | dimension () const =0 |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
virtual TrackingRecHit const * | hit () const |
bool | isValid () const |
virtual LocalPoint | localPosition () const =0 |
virtual LocalError | localPositionError () const =0 |
virtual AlgebraicVector | parameters () const =0 |
virtual AlgebraicSymMatrix | parametersError () const =0 |
virtual AlgebraicMatrix | projectionMatrix () const =0 |
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 () |
Private Member Functions | |
TValidTrackingRecHit * | clone () const override=0 |
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) |
only for valid hits
Definition at line 12 of file TValidTrackingRecHit.h.
|
inline |
Definition at line 14 of file TValidTrackingRecHit.h.
|
inline |
Definition at line 17 of file TValidTrackingRecHit.h.
|
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&).
Reimplemented from TrackingRecHit.
Definition at line 51 of file TValidTrackingRecHit.h.
|
overrideprivatepure virtual |
Implements TrackingRecHit.
Implemented in MuonTransientTrackingRecHit, BeamSpotTransientTrackingRecHit, GenericTransientTrackingRecHit, KFBasedPixelFitter::MyBeamSpotHit, and MTDTransientTrackingRecHit.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 20 of file TValidTrackingRecHit.h.
References TrackingRecHit::clone(), and TrackingRecHit::hit().
|
inlinevirtual |
cluster probability, overloaded by pixel rechits.
Definition at line 54 of file TValidTrackingRecHit.h.
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 30 of file TValidTrackingRecHit.h.
References globalPosition(), globalPositionError(), and mathSSE::sqrt().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 32 of file TValidTrackingRecHit.h.
References globalPosition(), globalPositionError(), PV3DBase< T, PVType, FrameType >::perp(), and mathSSE::sqrt().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 31 of file TValidTrackingRecHit.h.
References globalPositionError(), and mathSSE::sqrt().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 25 of file TValidTrackingRecHit.h.
References TrackingRecHit::localPosition(), surface(), and Surface::toGlobal().
Referenced by errorGlobalR(), errorGlobalRPhi(), and globalState().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 27 of file TValidTrackingRecHit.h.
References TrackingRecHit::localPositionError(), surface(), and ErrorFrameTransformer::transform().
Referenced by errorGlobalR(), errorGlobalRPhi(), and errorGlobalZ().
|
inline |
Definition at line 37 of file TValidTrackingRecHit.h.
References GlobalErrorBase< T, ErrorWeightType >::czz(), globalPosition(), runTauDisplay::gp, TrackingRecHit::localPositionError(), GlobalErrorBase< T, ErrorWeightType >::phierr(), alignCSCRings::r, GlobalErrorBase< T, ErrorWeightType >::rerr(), mathSSE::sqrt(), surface(), and ErrorFrameTransformer::transform().
|
inlinefinalvirtual |
Reimplemented from TrackingRecHit.
Definition at line 23 of file TValidTrackingRecHit.h.
References TrackingRecHit::det(), and GeomDet::surface().
Referenced by MuonTransientTrackingRecHit::globalDirection(), MuonTransientTrackingRecHit::globalDirectionError(), globalPosition(), globalPositionError(), and globalState().