#include <TRecHit5DParamConstraint.h>
Public Member Functions | |
bool | canImproveWithTrack () const override |
virtual int | charge () const |
virtual TransientTrackingRecHit::RecHitPointer | clone (const TrajectoryStateOnSurface &tsos) const |
TrackingRecHit * | cloneHit () const override |
virtual const GeomDet * | det () const |
const GeomDetUnit * | detUnit () const override |
int | dimension () const override |
float | errorGlobalR () const override |
float | errorGlobalRPhi () const override |
float | errorGlobalZ () const override |
GlobalPoint | globalPosition () const override |
GlobalError | globalPositionError () const override |
const TrackingRecHit * | hit () const override |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
std::vector< const TrackingRecHit * > | recHits () const override |
Access to component RecHits (if any) More... | |
std::vector< TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
bool | sharesInput (const TrackingRecHit *, SharedInputType) const override |
const Surface * | surface () const override |
~TRecHit5DParamConstraint () override | |
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 TransientTrackingRecHit::RecHitPointer | build (const TrajectoryStateOnSurface &tsos) |
Private Member Functions | |
TRecHit5DParamConstraint * | clone () const override |
const TrajectoryStateOnSurface & | trajectoryState () const |
TRecHit5DParamConstraint (const TrajectoryStateOnSurface &tsos) | |
TRecHit5DParamConstraint (const TRecHit5DParamConstraint &other) | |
Private Attributes | |
const TrajectoryStateOnSurface | tsos_ |
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 10 of file TRecHit5DParamConstraint.h.
|
inlineprivate |
Definition at line 14 of file TRecHit5DParamConstraint.h.
Referenced by build(), and clone().
|
inlineprivate |
Definition at line 16 of file TRecHit5DParamConstraint.h.
|
inlineoverride |
Definition at line 20 of file TRecHit5DParamConstraint.h.
|
inlinestatic |
Definition at line 67 of file TRecHit5DParamConstraint.h.
References TRecHit5DParamConstraint().
|
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 39 of file TRecHit5DParamConstraint.h.
|
inlinevirtual |
Definition at line 37 of file TRecHit5DParamConstraint.h.
References TrajectoryStateOnSurface::charge(), and tsos_.
|
inlinevirtual |
Definition at line 62 of file TRecHit5DParamConstraint.h.
References TRecHit5DParamConstraint().
|
inlineoverrideprivatevirtual |
Implements TrackingRecHit.
Definition at line 75 of file TRecHit5DParamConstraint.h.
References trajectoryState(), and TRecHit5DParamConstraint().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 42 of file TRecHit5DParamConstraint.h.
|
inlinevirtual |
Definition at line 51 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
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 49 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 22 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 57 of file TRecHit5DParamConstraint.h.
References globalPosition(), globalPositionError(), and mathSSE::sqrt().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 59 of file TRecHit5DParamConstraint.h.
References globalPosition(), globalPositionError(), PV3DBase< T, PVType, FrameType >::perp(), and mathSSE::sqrt().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 58 of file TRecHit5DParamConstraint.h.
References globalPositionError(), and mathSSE::sqrt().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 55 of file TRecHit5DParamConstraint.h.
References localPosition(), surface(), and Surface::toGlobal().
Referenced by errorGlobalR(), and errorGlobalRPhi().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 56 of file TRecHit5DParamConstraint.h.
References localPositionError(), surface(), and ErrorFrameTransformer::transform().
Referenced by errorGlobalR(), errorGlobalRPhi(), and errorGlobalZ().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 41 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 33 of file TRecHit5DParamConstraint.h.
References TrajectoryStateOnSurface::localPosition(), and tsos_.
Referenced by globalPosition().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 35 of file TRecHit5DParamConstraint.h.
References TrajectoryStateOnSurface::localError(), LocalTrajectoryError::positionError(), and tsos_.
Referenced by globalPositionError().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 29 of file TRecHit5DParamConstraint.h.
References asHepVector(), TrajectoryStateOnSurface::localParameters(), tsos_, and LocalTrajectoryParameters::vector().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 31 of file TRecHit5DParamConstraint.h.
References asHepMatrix(), TrajectoryStateOnSurface::localError(), LocalTrajectoryError::matrix(), and tsos_.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 24 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 44 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 45 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
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 46 of file TRecHit5DParamConstraint.h.
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 53 of file TRecHit5DParamConstraint.h.
References TrajectoryStateOnSurface::surface(), and tsos_.
Referenced by globalPosition(), and globalPositionError().
|
inlineprivate |
Definition at line 79 of file TRecHit5DParamConstraint.h.
References tsos_.
Referenced by clone().
|
private |
Definition at line 73 of file TRecHit5DParamConstraint.h.
Referenced by charge(), localPosition(), localPositionError(), parameters(), parametersError(), surface(), and trajectoryState().