#include <TRecHit2DPosConstraint.h>
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
virtual RecHitPointer | clone (const TrajectoryStateOnSurface &ts) const |
virtual TrackingRecHit * | cloneHit () const |
virtual const GeomDetUnit * | detUnit () const |
virtual int | dimension () const |
virtual float | errorGlobalR () const |
virtual float | errorGlobalRPhi () const |
virtual float | errorGlobalZ () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
virtual const TrackingRecHit * | hit () const |
virtual LocalPoint | localPosition () const |
virtual LocalError | localPositionError () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () 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... | |
virtual bool | sharesInput (const TrackingRecHit *, SharedInputType) const |
virtual const Surface * | surface () const |
virtual | ~TRecHit2DPosConstraint () |
Public Member Functions inherited from TrackingRecHit | |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
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... | |
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 () |
Static Public Member Functions | |
static RecHitPointer | build (const LocalPoint &pos, const LocalError &err, const Surface *surface) |
Private Member Functions | |
virtual TRecHit2DPosConstraint * | clone () const |
TRecHit2DPosConstraint (const LocalPoint &pos, const LocalError &err, const Surface *surface) | |
Creates the TrackingRecHit internally, avoids redundent cloning. More... | |
TRecHit2DPosConstraint (const TRecHit2DPosConstraint &other) | |
Private Attributes | |
const LocalError | err_ |
const LocalPoint | pos_ |
ConstReferenceCountingPointer < Surface > | surface_ |
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 } |
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 9 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
Definition at line 12 of file TRecHit2DPosConstraint.h.
|
inlineprivate |
Creates the TrackingRecHit internally, avoids redundent cloning.
Definition at line 75 of file TRecHit2DPosConstraint.h.
Referenced by build(), and clone().
|
inlineprivate |
Definition at line 80 of file TRecHit2DPosConstraint.h.
|
inlinestatic |
Definition at line 56 of file TRecHit2DPosConstraint.h.
References TRecHit2DPosConstraint().
Referenced by GsfConstraintAtVertex::constrainAtPoint().
|
inlinevirtual |
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 50 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
Definition at line 52 of file TRecHit2DPosConstraint.h.
References clone().
Referenced by clone().
|
inlineprivatevirtual |
Implements TrackingRecHit.
Definition at line 83 of file TRecHit2DPosConstraint.h.
References TRecHit2DPosConstraint().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 44 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
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 54 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 65 of file TRecHit2DPosConstraint.h.
References globalPosition(), globalPositionError(), and mathSSE::sqrt().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 67 of file TRecHit2DPosConstraint.h.
References globalPosition(), globalPositionError(), PV3DBase< T, PVType, FrameType >::perp(), and mathSSE::sqrt().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 66 of file TRecHit2DPosConstraint.h.
References globalPositionError(), and mathSSE::sqrt().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 63 of file TRecHit2DPosConstraint.h.
References localPosition(), surface(), and Surface::toGlobal().
Referenced by errorGlobalR(), and errorGlobalRPhi().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 64 of file TRecHit2DPosConstraint.h.
References localPositionError(), surface(), and ErrorFrameTransformer::transform().
Referenced by errorGlobalR(), errorGlobalRPhi(), and errorGlobalZ().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 43 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 40 of file TRecHit2DPosConstraint.h.
References pos_.
Referenced by globalPosition(), and parameters().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 41 of file TRecHit2DPosConstraint.h.
References err_.
Referenced by globalPositionError(), and parametersError().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 14 of file TRecHit2DPosConstraint.h.
References localPosition(), mps_fire::result, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 22 of file TRecHit2DPosConstraint.h.
References localPositionError(), visualization-live-secondInstance_cfg::m, LocalError::xx(), LocalError::xy(), and LocalError::yy().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 31 of file TRecHit2DPosConstraint.h.
References theProjectionMatrix.
|
inlinevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 46 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 47 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
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 48 of file TRecHit2DPosConstraint.h.
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 61 of file TRecHit2DPosConstraint.h.
Referenced by globalPosition(), and globalPositionError().
|
private |
Definition at line 72 of file TRecHit2DPosConstraint.h.
Referenced by localPositionError().
|
private |
Definition at line 71 of file TRecHit2DPosConstraint.h.
Referenced by localPosition().
|
private |
Definition at line 73 of file TRecHit2DPosConstraint.h.