#include <GenericProjectedRecHit2D.h>
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
RecHitPointer | clone (const TrajectoryStateOnSurface &ts) const |
virtual int | dimension () const |
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 TransientTrackingRecHit | |
virtual float | clusterProbability () const |
cluster probability, overloaded by pixel rechits. More... | |
const GeomDet * | det () const |
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds. More... | |
virtual const GeomDetUnit * | detUnit () const |
float | errorGlobalR () const |
float | errorGlobalRPhi () const |
float | errorGlobalZ () const |
float | getAnnealingFactor () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
void | setAnnealingFactor (float annealing) |
void | setWeight (float weight) |
interface needed to set the transient hit weight and to read it back More... | |
virtual const Surface * | surface () const |
virtual ConstRecHitContainer | transientHits () const |
Composite interface: returns the component hits, if any. More... | |
TransientTrackingRecHit (const GeomDet *geom=0, float weight=1., float annealing=1.) | |
TransientTrackingRecHit (const GeomDet *geom, DetId id, Type type=valid, float weight=1., float annealing=1.) | |
TransientTrackingRecHit (const GeomDet *geom, TrackingRecHit::id_type id, Type type=valid, float weight=1., float annealing=1.) | |
TransientTrackingRecHit (const GeomDet *geom, TrackingRecHit const &rh, float weight=1., float annealing=1.) | |
float | weight () const |
Public Member Functions inherited from TrackingRecHit | |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
Type | getType () const |
bool | isValid () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
Type | type () const |
virtual | ~TrackingRecHit () |
Public Member Functions inherited from ReferenceCountedPoolAllocated | |
void | addReference () const |
const ReferenceCountedPoolAllocated & | operator= (const ReferenceCountedPoolAllocated &) |
ReferenceCountedPoolAllocated () | |
ReferenceCountedPoolAllocated (const ReferenceCountedPoolAllocated &iRHS) | |
unsigned int | references () const |
void | removeReference () const |
virtual | ~ReferenceCountedPoolAllocated () |
Public Member Functions inherited from BlockWipedPoolAllocated | |
virtual | ~BlockWipedPoolAllocated () |
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) |
Static Public Member Functions inherited from BlockWipedPoolAllocated | |
static BlockWipedAllocator & | allocator (size_t s) |
static void | operator delete (void *p, size_t s) |
static void * | operator new (size_t s, void *p) |
static void * | operator new (size_t s) |
static BlockWipedAllocator::Stat | stat (size_t s) |
static void | usePool () |
Private Member Functions | |
virtual GenericProjectedRecHit2D * | clone () const |
GenericProjectedRecHit2D (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const GeomDet *originaldet, const TransientTrackingRecHit::ConstRecHitPointer originalHit, const TrackingRecHitPropagator *propagator) | |
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 TransientTrackingRecHit | |
typedef std::vector < ConstRecHitPointer > | ConstRecHitContainer |
typedef ConstReferenceCountingPointer < TransientTrackingRecHit > | ConstRecHitPointer |
typedef std::vector < ConstRecHitPointer > | RecHitContainer |
typedef ReferenceCountingPointer < TransientTrackingRecHit > | RecHitPointer |
Public Types inherited from TrackingRecHit | |
typedef unsigned int | id_type |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3 } |
Static Public Attributes inherited from ReferenceCountedPoolAllocated | |
static int | s_alive =0 |
static int | s_referenced =0 |
Static Public Attributes inherited from BlockWipedPoolAllocated | |
static int | s_alive =0 |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Definition at line 8 of file GenericProjectedRecHit2D.h.
|
private |
Definition at line 8 of file GenericProjectedRecHit2D.cc.
References originalDet(), pos, propagator(), theDimension, theLe, theLp, theOriginalDet, theOriginalTransientHit, theProjectionMatrix, and thePropagator.
Referenced by build(), and clone().
|
inlinestatic |
Definition at line 50 of file GenericProjectedRecHit2D.h.
References 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&).
Reimplemented from TransientTrackingRecHit.
Definition at line 46 of file GenericProjectedRecHit2D.h.
|
virtual |
Returns a copy of the hit with parameters and errors computed with respect to the TrajectoryStateOnSurface given as argument. For concrete hits not capable to improve their parameters and errors this method returns an exact copy, and is equivalent to clone() without arguments.
Reimplemented from TransientTrackingRecHit.
Definition at line 32 of file GenericProjectedRecHit2D.cc.
References TransientTrackingRecHit::det(), TrackingRecHitPropagator::project(), theOriginalTransientHit, and thePropagator.
|
inlineprivatevirtual |
Implements TransientTrackingRecHit.
Definition at line 75 of file GenericProjectedRecHit2D.h.
References GenericProjectedRecHit2D().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 27 of file GenericProjectedRecHit2D.h.
References theDimension.
|
inlinevirtual |
Definition at line 25 of file GenericProjectedRecHit2D.h.
References TransientTrackingRecHit::det(), and GeomDet::geographicalId().
|
inlinevirtual |
Implements TransientTrackingRecHit.
Definition at line 30 of file GenericProjectedRecHit2D.h.
References theOriginalTransientHit.
|
inlinevirtual |
Definition at line 32 of file GenericProjectedRecHit2D.h.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 19 of file GenericProjectedRecHit2D.h.
References theLp.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 21 of file GenericProjectedRecHit2D.h.
References theLe.
Referenced by parametersError().
|
inline |
Definition at line 48 of file GenericProjectedRecHit2D.h.
References theOriginalDet.
Referenced by GenericProjectedRecHit2D().
|
virtual |
Implements TrackingRecHit.
Definition at line 24 of file GenericProjectedRecHit2D.cc.
References query::result, theLp, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 11 of file GenericProjectedRecHit2D.h.
References TransientTrackingRecHit::det(), localPositionError(), and HelpertRecHit2DLocalPos::parError().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 23 of file GenericProjectedRecHit2D.h.
References theProjectionMatrix.
|
inline |
Definition at line 44 of file GenericProjectedRecHit2D.h.
References thePropagator.
Referenced by GenericProjectedRecHit2D().
|
inlinevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 34 of file GenericProjectedRecHit2D.h.
|
inlinevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 39 of file GenericProjectedRecHit2D.h.
|
private |
Definition at line 68 of file GenericProjectedRecHit2D.h.
Referenced by dimension(), and GenericProjectedRecHit2D().
|
private |
Definition at line 64 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and localPositionError().
|
private |
Definition at line 63 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), localPosition(), and parameters().
|
private |
Definition at line 61 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and originalDet().
|
private |
Definition at line 62 of file GenericProjectedRecHit2D.h.
Referenced by clone(), GenericProjectedRecHit2D(), and hit().
|
private |
Definition at line 65 of file GenericProjectedRecHit2D.h.
Referenced by GenericProjectedRecHit2D(), and projectionMatrix().
|
private |
Definition at line 66 of file GenericProjectedRecHit2D.h.
Referenced by clone(), GenericProjectedRecHit2D(), and propagator().