![]() |
![]() |
#include <TSiStripRecHit1D.h>
Public Types | |
typedef SiStripRecHit1D::ClusterRef | SiStripClusterRef |
typedef edm::LazyGetter < SiStripCluster >::value_ref | SiStripRegionalClusterRef |
![]() | |
typedef std::vector < ConstRecHitPointer > | ConstRecHitContainer |
typedef ConstReferenceCountingPointer < TransientTrackingRecHit > | ConstRecHitPointer |
typedef std::vector < ConstRecHitPointer > | RecHitContainer |
typedef ReferenceCountingPointer < TransientTrackingRecHit > | RecHitPointer |
![]() | |
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 |
const StripClusterParameterEstimator * | cpe () const |
virtual const GeomDetUnit * | detUnit () const |
virtual int | dimension () const |
virtual void | getKfComponents (KfComponentsHolder &holder) 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... | |
const SiStripRecHit1D * | specificHit () const |
virtual | ~TSiStripRecHit1D () |
![]() | |
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... | |
float | errorGlobalR () const |
float | errorGlobalRPhi () const |
float | errorGlobalZ () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
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) | |
![]() | |
DetId | geographicalId () const |
unsigned int | getRTTI () const |
Type | getType () 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 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 () |
![]() | |
void | addReference () const |
const ReferenceCountedPoolAllocated & | operator= (const ReferenceCountedPoolAllocated &) |
ReferenceCountedPoolAllocated () | |
ReferenceCountedPoolAllocated (const ReferenceCountedPoolAllocated &iRHS) | |
unsigned int | references () const |
void | removeReference () const |
virtual | ~ReferenceCountedPoolAllocated () |
![]() | |
virtual | ~BlockWipedPoolAllocated () |
Static Public Member Functions | |
static RecHitPointer | build (const GeomDet *geom, const SiStripRecHit1D *rh, const StripClusterParameterEstimator *cpe, bool computeCoarseLocalPosition=false) |
static RecHitPointer | build (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const OmniClusterRef &clust, const StripClusterParameterEstimator *cpe) |
static RecHitPointer | build (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const SiStripClusterRef &clust, const StripClusterParameterEstimator *cpe) |
static RecHitPointer | build (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const SiStripRegionalClusterRef &clust, const StripClusterParameterEstimator *cpe) |
![]() | |
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 TSiStripRecHit1D * | clone () const |
TSiStripRecHit1D (const GeomDet *geom, const SiStripRecHit1D *rh, const StripClusterParameterEstimator *cpe, bool computeCoarseLocalPosition) | |
TSiStripRecHit1D (const LocalPoint &pos, const LocalError &err, const GeomDet *det, const OmniClusterRef &clust, const StripClusterParameterEstimator *cpe) | |
Creates the TrackingRecHit internally, avoids redundent cloning. More... | |
Private Attributes | |
const StripClusterParameterEstimator * | theCPE |
SiStripRecHit1D | theHitData |
Additional Inherited Members | |
![]() | |
static const int | rttiShift = 24 |
static const int | typeMask = 0xf |
![]() | |
static int | s_alive =0 |
static int | s_referenced =0 |
![]() | |
static int | s_alive =0 |
static bool | s_usePool =false |
![]() | |
void | setId (id_type iid) |
void | setRTTI (unsigned int rt) |
void | setType (Type ttype) |
Definition at line 10 of file TSiStripRecHit1D.h.
Definition at line 13 of file TSiStripRecHit1D.h.
typedef edm::LazyGetter<SiStripCluster>::value_ref TSiStripRecHit1D::SiStripRegionalClusterRef |
Definition at line 15 of file TSiStripRecHit1D.h.
|
inlinevirtual |
Definition at line 17 of file TSiStripRecHit1D.h.
|
private |
Definition at line 9 of file TSiStripRecHit1D.cc.
References SiStripRecHit1D::cluster(), TrackerSingleRecHit::cluster_regional(), GeomDet::geographicalId(), relativeConstraints::geom, BaseTrackerRecHit::hasPositionAndError(), edm::Ref< C, T, F >::isNonnull(), vdt::le, ClusterParameterEstimator< T >::localParameters(), LogDebug, max(), theCPE, and theHitData.
Referenced by build(), and clone().
|
inlineprivate |
Creates the TrackingRecHit internally, avoids redundent cloning.
Definition at line 100 of file TSiStripRecHit1D.h.
|
inlinestatic |
Definition at line 61 of file TSiStripRecHit1D.h.
References TSiStripRecHit1D().
Referenced by TkTransientTrackingRecHitBuilder::build(), clone(), TkTransientTrackingRecHitBuilder::oldbuild(), and TSiStripRecHit2DLocalPos::transientHits().
|
inlinestatic |
Definition at line 67 of file TSiStripRecHit1D.h.
References TSiStripRecHit1D().
|
inlinestatic |
Definition at line 74 of file TSiStripRecHit1D.h.
References TSiStripRecHit1D().
|
inlinestatic |
Definition at line 81 of file TSiStripRecHit1D.h.
References TSiStripRecHit1D().
|
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 51 of file TSiStripRecHit1D.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.
FIXME: this only uses the first cluster and ignores the others
Reimplemented from TransientTrackingRecHit.
Definition at line 37 of file TSiStripRecHit1D.cc.
References build(), clone(), TransientTrackingRecHit::det(), detUnit(), vdt::le, ClusterParameterEstimator< T >::localParameters(), max(), specificHit(), TrackerSingleRecHit::stripCluster(), and theCPE.
|
inlineprivatevirtual |
Implements TransientTrackingRecHit.
Definition at line 110 of file TSiStripRecHit1D.h.
References TSiStripRecHit1D().
Referenced by clone().
|
inline |
Definition at line 59 of file TSiStripRecHit1D.h.
References theCPE.
|
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 from TransientTrackingRecHit.
Definition at line 53 of file TSiStripRecHit1D.cc.
References TransientTrackingRecHit::det().
Referenced by clone().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 35 of file TSiStripRecHit1D.h.
References SiStripRecHit1D::dimension(), and theHitData.
|
inlinevirtual |
Reimplemented from TrackingRecHit.
Definition at line 20 of file TSiStripRecHit1D.h.
References TransientTrackingRecHit::det(), HelpertRecHit2DLocalPos::getKfComponents(), and theHitData.
|
inlinevirtual |
Implements TransientTrackingRecHit.
Definition at line 40 of file TSiStripRecHit1D.h.
References theHitData.
Referenced by recHits().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 37 of file TSiStripRecHit1D.h.
References BaseTrackerRecHit::localPosition(), and theHitData.
Referenced by TrackerDpgAnalysis::insertMeasurement().
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 38 of file TSiStripRecHit1D.h.
References BaseTrackerRecHit::localPositionError(), and theHitData.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 25 of file TSiStripRecHit1D.h.
References BaseTrackerRecHit::parameters(), and theHitData.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 28 of file TSiStripRecHit1D.h.
References TransientTrackingRecHit::det(), BaseTrackerRecHit::localPositionError(), HelpertRecHit2DLocalPos::parError(), and theHitData.
|
inlinevirtual |
Implements TrackingRecHit.
Definition at line 34 of file TSiStripRecHit1D.h.
References BaseTrackerRecHit::projectionMatrix(), and theHitData.
|
inlinevirtual |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 42 of file TSiStripRecHit1D.h.
References hit(), and TrackingRecHit::recHits().
|
inlinevirtual |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 45 of file TSiStripRecHit1D.h.
References TrackerSingleRecHit::recHits(), and theHitData.
|
inline |
Definition at line 58 of file TSiStripRecHit1D.h.
References theHitData.
Referenced by clone(), and TkAlCaOverlapTagger::produce().
|
private |
Definition at line 92 of file TSiStripRecHit1D.h.
Referenced by clone(), cpe(), and TSiStripRecHit1D().
|
private |
Definition at line 93 of file TSiStripRecHit1D.h.
Referenced by dimension(), getKfComponents(), hit(), localPosition(), localPositionError(), parameters(), parametersError(), projectionMatrix(), recHits(), specificHit(), and TSiStripRecHit1D().