#include <TransientTrackingRecHit.h>
Public Types | |
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 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 |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
virtual const TrackingRecHit * | hit () const =0 |
virtual const Surface * | surface () const |
virtual ConstRecHitContainer | transientHits () const |
Composite interface: returns the component hits, if any. More... | |
TransientTrackingRecHit (const GeomDet *geom=0) | |
TransientTrackingRecHit (const GeomDet *geom, DetId id, Type type=valid) | |
TransientTrackingRecHit (const GeomDet *geom, TrackingRecHit::id_type id, Type type=valid) | |
TransientTrackingRecHit (const GeomDet *geom, TrackingRecHit const &rh) | |
Public Member Functions inherited from TrackingRecHit | |
virtual int | dimension () const =0 |
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 |
virtual LocalPoint | localPosition () const =0 |
virtual LocalError | localPositionError () const =0 |
virtual AlgebraicVector | parameters () const =0 |
virtual AlgebraicSymMatrix | parametersError () const =0 |
virtual AlgebraicMatrix | projectionMatrix () const =0 |
id_type | rawId () const |
virtual std::vector< const TrackingRecHit * > | recHits () const =0 |
Access to component RecHits (if any) More... | |
virtual std::vector < TrackingRecHit * > | recHits ()=0 |
Non-const access to component RecHits (if any) More... | |
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) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
Type | type () const |
virtual float | weight () 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 () |
Private Member Functions | |
virtual TransientTrackingRecHit * | clone () const =0 |
void | setPositionErrors () const |
Private Attributes | |
float | errorR_ |
float | errorRPhi_ |
float | errorZ_ |
const GeomDet * | geom_ |
GlobalPoint | globalPosition_ |
bool | hasGlobalError_ |
bool | hasGlobalPosition_ |
Additional Inherited Members | |
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 () |
Static Public Attributes inherited from TrackingRecHit | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
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 |
static bool | s_usePool =false |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Definition at line 21 of file TransientTrackingRecHit.h.
typedef std::vector<ConstRecHitPointer> TransientTrackingRecHit::ConstRecHitContainer |
Definition at line 30 of file TransientTrackingRecHit.h.
typedef ConstReferenceCountingPointer< TransientTrackingRecHit> TransientTrackingRecHit::ConstRecHitPointer |
Definition at line 28 of file TransientTrackingRecHit.h.
typedef std::vector<ConstRecHitPointer> TransientTrackingRecHit::RecHitContainer |
Definition at line 29 of file TransientTrackingRecHit.h.
Definition at line 27 of file TransientTrackingRecHit.h.
|
inlineexplicit |
Definition at line 32 of file TransientTrackingRecHit.h.
|
inlineexplicit |
Definition at line 39 of file TransientTrackingRecHit.h.
|
inlineexplicit |
Definition at line 46 of file TransientTrackingRecHit.h.
|
inlineexplicit |
Definition at line 53 of file TransientTrackingRecHit.h.
|
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 in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Definition at line 90 of file TransientTrackingRecHit.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 in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Definition at line 91 of file TransientTrackingRecHit.cc.
Referenced by KFTrajectoryFitter::fit().
|
privatepure virtual |
Implements TrackingRecHit.
Implemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, BeamSpotTransientTrackingRecHit, MuonTransientTrackingRecHit, GCC11_FINAL, GenericTransientTrackingRecHit, GCC11_FINAL, TransientTrackingRecHitByValue< RecHit >, TransientTrackingRecHitByValue< InvalidTrackingRecHit >, GCC11_FINAL, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
|
inlinevirtual |
cluster probability, overloaded by pixel rechits.
Reimplemented in GCC11_FINAL.
Definition at line 99 of file TransientTrackingRecHit.h.
|
inline |
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
Definition at line 65 of file TransientTrackingRecHit.h.
References geom_.
Referenced by BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), detUnit(), InsideBoundsMeasurementEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), GCC11_FINAL::getKfComponents(), MuonTransientTrackingRecHit::globalDirection(), MuonTransientTrackingRecHit::globalDirectionError(), CurrentAlignmentKFUpdator::includeCurrentAlignmentEstimate(), GCC11_FINAL::parametersError(), MuonTransientTrackingRecHit::parametersError(), TrackingRecHitProjector< ResultingHit >::project(), RecHitPropagator::propagate(), MuonDTLocalMillepedeAlgorithm::run(), BeamSpotTransientTrackingRecHit::surface(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), ClusterShapeTrajectoryFilter::toBeContinued(), and MuonTransientTrackingRecHit::transientHits().
|
virtual |
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 in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Definition at line 9 of file TransientTrackingRecHit.cc.
References det().
Referenced by Chi2StripEstimator::estimate(), Chi2Strip1DEstimator::estimate(), Chi2SwitchingEstimator::estimate(), Chi2Switching1DEstimator::estimate(), Strip1DMeasurementTransformator::init(), StripMeasurementTransformator::init(), KFSwitchingUpdator::update(), and KFSwitching1DUpdator::update().
float TransientTrackingRecHit::errorGlobalR | ( | ) | const |
Definition at line 43 of file TransientTrackingRecHit.cc.
References errorR_, hasGlobalError_, setPositionErrors(), and unlikely.
float TransientTrackingRecHit::errorGlobalRPhi | ( | ) | const |
Definition at line 63 of file TransientTrackingRecHit.cc.
References errorRPhi_, hasGlobalError_, setPositionErrors(), and unlikely.
float TransientTrackingRecHit::errorGlobalZ | ( | ) | const |
Definition at line 53 of file TransientTrackingRecHit.cc.
References errorZ_, hasGlobalError_, setPositionErrors(), and unlikely.
|
virtual |
Definition at line 15 of file TransientTrackingRecHit.cc.
References globalPosition_, hasGlobalPosition_, TrackingRecHit::localPosition(), surface(), Surface::toGlobal(), and unlikely.
Referenced by CSCPairResidualsConstraint::calculatePhi(), PixelClusterShapeSeedComparitor::compatible(), cms::HICSeedMeasurementEstimator::estimate(), EtaPhiEstimator::estimate(), EtaPhiMeasurementEstimator::estimate(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), KFTrajectoryFitter::fit(), OuterHitCompatibility::operator()(), TrackingRecHitProjector< ResultingHit >::project(), and setPositionErrors().
|
virtual |
Definition at line 31 of file TransientTrackingRecHit.cc.
References hasGlobalError_, setPositionErrors(), and unlikely.
|
pure virtual |
Implemented in BeamSpotTransientTrackingRecHit, KFBasedPixelFitter::MyBeamSpotHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GenericTransientTrackingRecHit, TransientTrackingRecHitByValue< RecHit >, and TransientTrackingRecHitByValue< InvalidTrackingRecHit >.
Referenced by TrajectoryCleanerBySharedHits::clean(), PixelClusterShapeSeedComparitor::compatibleHit(), EqualsBySharesInput::operator()(), HitComparator::operator()(), GCC11_FINAL::recHits(), HIPAlignmentAlgorithm::run(), ClusterShapeTrajectoryFilter::toBeContinued(), and KFUpdator::update().
|
private |
Definition at line 73 of file TransientTrackingRecHit.cc.
References GlobalErrorBase< T, ErrorWeightType >::czz(), errorR_, errorRPhi_, errorZ_, globalPosition(), hasGlobalError_, TrackingRecHit::localPositionError(), PV3DBase< T, PVType, FrameType >::perp(), GlobalErrorBase< T, ErrorWeightType >::phierr(), GlobalErrorBase< T, ErrorWeightType >::rerr(), mathSSE::sqrt(), surface(), and ErrorFrameTransformer::transform().
Referenced by errorGlobalR(), errorGlobalRPhi(), errorGlobalZ(), and globalPositionError().
|
inlinevirtual |
Reimplemented in GCC11_FINAL, GCC11_FINAL, BeamSpotTransientTrackingRecHit, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Definition at line 66 of file TransientTrackingRecHit.h.
References geom_, and GeomDet::surface().
Referenced by AlignmentMonitorMuonResiduals::event(), KFTrajectoryFitter::fit(), MuonTransientTrackingRecHit::globalDirection(), MuonTransientTrackingRecHit::globalDirectionError(), globalPosition(), and setPositionErrors().
|
virtual |
Composite interface: returns the component hits, if any.
Reimplemented in GCC11_FINAL, GCC11_FINAL, MuonTransientTrackingRecHit, GCC11_FINAL, and GCC11_FINAL.
Definition at line 84 of file TransientTrackingRecHit.cc.
Referenced by MRHChi2MeasurementEstimator::estimate().
|
mutableprivate |
Definition at line 112 of file TransientTrackingRecHit.h.
Referenced by errorGlobalR(), and setPositionErrors().
|
mutableprivate |
Definition at line 112 of file TransientTrackingRecHit.h.
Referenced by errorGlobalRPhi(), and setPositionErrors().
|
mutableprivate |
Definition at line 112 of file TransientTrackingRecHit.h.
Referenced by errorGlobalZ(), and setPositionErrors().
|
private |
Definition at line 110 of file TransientTrackingRecHit.h.
|
mutableprivate |
Definition at line 105 of file TransientTrackingRecHit.h.
Referenced by globalPosition().
|
mutableprivate |
Definition at line 114 of file TransientTrackingRecHit.h.
Referenced by errorGlobalR(), errorGlobalRPhi(), errorGlobalZ(), globalPositionError(), and setPositionErrors().
|
mutableprivate |
Definition at line 113 of file TransientTrackingRecHit.h.
Referenced by globalPosition().