#include <GenericProjectedRecHit2D.h>
Public Member Functions | |
bool | canImproveWithTrack () const override |
RecHitPointer | clone (const TrajectoryStateOnSurface &ts, const TransientTrackingRecHitBuilder *) const |
TrackingRecHit * | cloneHit () const override |
int | dimension () const override |
GenericProjectedRecHit2D (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const GeomDet *originaldet, const TransientTrackingRecHit::ConstRecHitPointer originalHit, const TrackingRecHitPropagator *propagator) | |
virtual DetId | geographicalId () const |
const TrackingRecHit * | hit () const override |
virtual bool | isValid () const |
LocalPoint | localPosition () const override |
LocalError | localPositionError () const override |
const GeomDet * | originalDet () const |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
const TrackingRecHitPropagator * | propagator () const |
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... | |
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 float | errorGlobalR () const |
virtual float | errorGlobalRPhi () const |
virtual float | errorGlobalZ () const |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () 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) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
virtual const Surface * | surface () 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 () |
Static Public Member Functions | |
static RecHitPointer | build (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const GeomDet *originaldet, const TransientTrackingRecHit::ConstRecHitPointer originalHit, const TrackingRecHitPropagator *propagator) |
Private Member Functions | |
GenericProjectedRecHit2D * | clone () const override |
Private Attributes | |
int | theDimension |
LocalError | theLe |
LocalPoint | theLp |
const GeomDet * | theOriginalDet |
TransientTrackingRecHit::ConstRecHitPointer | theOriginalTransientHit |
AlgebraicMatrix | theProjectionMatrix |
const TrackingRecHitPropagator * | thePropagator |
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 8 of file GenericProjectedRecHit2D.h.
GenericProjectedRecHit2D::GenericProjectedRecHit2D | ( | const LocalPoint & | pos, |
const LocalError & | err, | ||
const GeomDet * | det, | ||
const GeomDet * | originaldet, | ||
const TransientTrackingRecHit::ConstRecHitPointer | originalHit, | ||
const TrackingRecHitPropagator * | propagator | ||
) |
Definition at line 8 of file GenericProjectedRecHit2D.cc.
References runTheMatrix::err, originalDet(), propagator(), theDimension, theLe, theLp, theOriginalDet, theOriginalTransientHit, theProjectionMatrix, and thePropagator.
Referenced by build(), and clone().
|
inlinestatic |
Definition at line 58 of file GenericProjectedRecHit2D.h.
References clone(), and GenericProjectedRecHit2D().
|
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 54 of file GenericProjectedRecHit2D.h.
TransientTrackingRecHit::RecHitPointer GenericProjectedRecHit2D::clone | ( | const TrajectoryStateOnSurface & | ts, |
const TransientTrackingRecHitBuilder * | builder | ||
) | const |
Definition at line 33 of file GenericProjectedRecHit2D.cc.
References TrackingRecHit::det(), TrackingRecHitPropagator::project(), theOriginalTransientHit, and thePropagator.
|
inlineoverrideprivatevirtual |
Implements TrackingRecHit.
Definition at line 79 of file GenericProjectedRecHit2D.h.
References GenericProjectedRecHit2D().
Referenced by build().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 38 of file GenericProjectedRecHit2D.h.
References theOriginalTransientHit.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 33 of file GenericProjectedRecHit2D.h.
References theDimension.
|
inlinevirtual |
Definition at line 31 of file GenericProjectedRecHit2D.h.
References TrackingRecHit::det(), and GeomDet::geographicalId().
|
inlineoverridevirtual |
Reimplemented from TrackingRecHit.
Definition at line 36 of file GenericProjectedRecHit2D.h.
References theOriginalTransientHit.
|
inlinevirtual |
Definition at line 40 of file GenericProjectedRecHit2D.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 25 of file GenericProjectedRecHit2D.h.
References theLp.
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 27 of file GenericProjectedRecHit2D.h.
References theLe.
Referenced by parametersError().
|
inline |
Definition at line 56 of file GenericProjectedRecHit2D.h.
References theOriginalDet.
Referenced by GenericProjectedRecHit2D().
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 26 of file GenericProjectedRecHit2D.cc.
References mps_fire::result, theLp, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by parametersError().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 17 of file GenericProjectedRecHit2D.h.
References TrackingRecHit::det(), localPositionError(), parameters(), and HelpertRecHit2DLocalPos::parError().
|
inlineoverridevirtual |
Implements TrackingRecHit.
Definition at line 29 of file GenericProjectedRecHit2D.h.
References theProjectionMatrix.
|
inline |
Definition at line 52 of file GenericProjectedRecHit2D.h.
References thePropagator.
Referenced by GenericProjectedRecHit2D().
|
inlineoverridevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 42 of file GenericProjectedRecHit2D.h.
|
inlineoverridevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 47 of file GenericProjectedRecHit2D.h.
|
private |
Definition at line 77 of file GenericProjectedRecHit2D.h.
Referenced by dimension(), and GenericProjectedRecHit2D().
|
private |
Definition at line 73 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and localPositionError().
|
private |
Definition at line 72 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), localPosition(), and parameters().
|
private |
Definition at line 70 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and originalDet().
|
private |
Definition at line 71 of file GenericProjectedRecHit2D.h.
Referenced by clone(), cloneHit(), GenericProjectedRecHit2D(), and hit().
|
private |
Definition at line 74 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and projectionMatrix().
|
private |
Definition at line 75 of file GenericProjectedRecHit2D.h.
Referenced by clone(), GenericProjectedRecHit2D(), and propagator().