#include <GenericProjectedRecHit2D.h>
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
RecHitPointer | clone (const TrajectoryStateOnSurface &ts, const TransientTrackingRecHitBuilder *) const |
virtual TrackingRecHit * | cloneHit () const |
virtual int | dimension () const |
GenericProjectedRecHit2D (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const GeomDet *originaldet, const TransientTrackingRecHit::ConstRecHitPointer originalHit, const TrackingRecHitPropagator *propagator) | |
virtual DetId | geographicalId () const |
virtual const TrackingRecHit * | hit () const |
virtual bool | isValid () const |
virtual LocalPoint | localPosition () const |
virtual LocalError | localPositionError () const |
const GeomDet * | originalDet () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
const TrackingRecHitPropagator * | propagator () 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... | |
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 | |
virtual GenericProjectedRecHit2D * | clone () const |
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 } |
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 originalDet(), propagator(), theDimension, theLe, theLp, theOriginalDet, theOriginalTransientHit, theProjectionMatrix, and thePropagator.
Referenced by build(), and clone().
|
inlinestatic |
Definition at line 57 of file GenericProjectedRecHit2D.h.
References clone(), and GenericProjectedRecHit2D().
|
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 53 of file GenericProjectedRecHit2D.h.
TransientTrackingRecHit::RecHitPointer GenericProjectedRecHit2D::clone | ( | const TrajectoryStateOnSurface & | ts, |
const TransientTrackingRecHitBuilder * | builder | ||
) | const |
Definition at line 32 of file GenericProjectedRecHit2D.cc.
References TrackingRecHit::det(), TrackingRecHitPropagator::project(), theOriginalTransientHit, and thePropagator.
|
inlineprivatevirtual |
Implements TrackingRecHit.
Definition at line 77 of file GenericProjectedRecHit2D.h.
References GenericProjectedRecHit2D().
Referenced by build().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 37 of file GenericProjectedRecHit2D.h.
References theOriginalTransientHit.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 32 of file GenericProjectedRecHit2D.h.
References theDimension.
|
inlinevirtual |
Definition at line 30 of file GenericProjectedRecHit2D.h.
References TrackingRecHit::det(), and GeomDet::geographicalId().
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 35 of file GenericProjectedRecHit2D.h.
References theOriginalTransientHit.
|
inlinevirtual |
Definition at line 39 of file GenericProjectedRecHit2D.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 24 of file GenericProjectedRecHit2D.h.
References theLp.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 26 of file GenericProjectedRecHit2D.h.
References theLe.
Referenced by parametersError().
|
inline |
Definition at line 55 of file GenericProjectedRecHit2D.h.
References theOriginalDet.
Referenced by GenericProjectedRecHit2D().
|
virtual |
Implements TrackingRecHit.
Definition at line 24 of file GenericProjectedRecHit2D.cc.
References mps_fire::result, theLp, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by parametersError().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 16 of file GenericProjectedRecHit2D.h.
References TrackingRecHit::det(), localPositionError(), parameters(), and HelpertRecHit2DLocalPos::parError().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 28 of file GenericProjectedRecHit2D.h.
References theProjectionMatrix.
|
inline |
Definition at line 51 of file GenericProjectedRecHit2D.h.
References thePropagator.
Referenced by GenericProjectedRecHit2D().
|
inlinevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 41 of file GenericProjectedRecHit2D.h.
|
inlinevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 46 of file GenericProjectedRecHit2D.h.
|
private |
Definition at line 75 of file GenericProjectedRecHit2D.h.
Referenced by dimension(), and GenericProjectedRecHit2D().
|
private |
Definition at line 71 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and localPositionError().
|
private |
Definition at line 70 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), localPosition(), and parameters().
|
private |
Definition at line 68 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and originalDet().
|
private |
Definition at line 69 of file GenericProjectedRecHit2D.h.
Referenced by clone(), cloneHit(), GenericProjectedRecHit2D(), and hit().
|
private |
Definition at line 72 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and projectionMatrix().
|
private |
Definition at line 73 of file GenericProjectedRecHit2D.h.
Referenced by clone(), GenericProjectedRecHit2D(), and propagator().