#include <GenericTransientTrackingRecHit.h>
Public Types | |
typedef TrackingRecHit::Type | Type |
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 } |
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
virtual int | dimension () 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 | ~GenericTransientTrackingRecHit () |
Public Member Functions inherited from TransientTrackingRecHit | |
virtual RecHitPointer | clone (const TrajectoryStateOnSurface &ts) const |
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 GeomDet *geom, const TrackingRecHit *rh) |
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 () |
Protected Member Functions | |
GenericTransientTrackingRecHit (const GeomDet *geom, const TrackingRecHit &rh, float weight=1., float annealing=1.) | |
GenericTransientTrackingRecHit (const GeomDet *geom, TrackingRecHit *rh, float weight=1., float annealing=1.) | |
for derived classes convenience, does not clone! More... | |
GenericTransientTrackingRecHit (const GenericTransientTrackingRecHit &other) | |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Protected Attributes | |
TrackingRecHit * | trackingRecHit_ |
Private Member Functions | |
virtual GenericTransientTrackingRecHit * | clone () const |
GenericTransientTrackingRecHit & | operator= (const GenericTransientTrackingRecHit &t) |
Additional Inherited Members | |
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 |
Definition at line 7 of file GenericTransientTrackingRecHit.h.
Definition at line 9 of file GenericTransientTrackingRecHit.h.
|
inlinevirtual |
Definition at line 11 of file GenericTransientTrackingRecHit.h.
References trackingRecHit_.
|
inlineprotected |
Definition at line 44 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::clone(), and trackingRecHit_.
Referenced by build(), and clone().
|
inlineprotected |
for derived classes convenience, does not clone!
Definition at line 50 of file GenericTransientTrackingRecHit.h.
|
inlineprotected |
Definition at line 53 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::clone(), hit(), and trackingRecHit_.
|
inlinestatic |
Definition at line 37 of file GenericTransientTrackingRecHit.h.
References GenericTransientTrackingRecHit().
Referenced by TkTransientTrackingRecHitBuilder::build(), FastPixelHitMatcher::compatibleHits(), and TkTransientTrackingRecHitBuilder::oldbuild().
|
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.
Reimplemented in TSiStripMatchedRecHit.
Definition at line 25 of file GenericTransientTrackingRecHit.h.
|
inlineprivatevirtual |
Implements TransientTrackingRecHit.
Reimplemented in TSiStripMatchedRecHit, MuonTransientTrackingRecHit, and ProjectedRecHit2D.
Definition at line 70 of file GenericTransientTrackingRecHit.h.
References GenericTransientTrackingRecHit().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 16 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::dimension(), and trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::transientHits().
|
inlinevirtual |
Implements TransientTrackingRecHit.
Definition at line 27 of file GenericTransientTrackingRecHit.h.
References trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::chi2(), ProjectedRecHit2D::clone(), TSiStripMatchedRecHit::clone(), MuonTransientTrackingRecHit::degreesOfFreedom(), GenericTransientTrackingRecHit(), ProjectedRecHit2D::getKfComponents(), TSiStripMatchedRecHit::getKfComponents(), MuonTransientTrackingRecHit::localDirection(), MuonTransientTrackingRecHit::localDirectionError(), operator=(), ProjectedRecHit2D::originalHit(), and TSiStripMatchedRecHit::transientHits().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 22 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::localPosition(), and trackingRecHit_.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 23 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::localPositionError(), and trackingRecHit_.
Referenced by ProjectedRecHit2D::parametersError(), and TSiStripMatchedRecHit::parametersError().
|
inlineprivate |
Definition at line 63 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::clone(), hit(), and trackingRecHit_.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 13 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::parameters(), and trackingRecHit_.
|
inlinevirtual |
Implements TrackingRecHit.
Reimplemented in MuonTransientTrackingRecHit, TSiStripMatchedRecHit, and ProjectedRecHit2D.
Definition at line 14 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::parametersError(), and trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::parametersError().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 15 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::projectionMatrix(), and trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::parametersError().
|
inlinevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 30 of file GenericTransientTrackingRecHit.h.
References trackingRecHit_.
Referenced by MuonSeedCleaner::NRecHitsFromSegment(), and MuonTransientTrackingRecHit::transientHits().
|
inlinevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 33 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::recHits(), and trackingRecHit_.
|
protected |
Definition at line 58 of file GenericTransientTrackingRecHit.h.
Referenced by TSiStripMatchedRecHit::clearPersistentHit(), TSiStripMatchedRecHit::clonePersistentHit(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), dimension(), GenericTransientTrackingRecHit(), hit(), MuonTransientTrackingRecHit::invalidateHit(), localPosition(), localPositionError(), operator=(), parameters(), parametersError(), ProjectedRecHit2D::ProjectedRecHit2D(), projectionMatrix(), recHits(), and ~GenericTransientTrackingRecHit().