CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions
SiStripRecHit2D Class Referencefinal

#include <SiStripRecHit2D.h>

Inheritance diagram for SiStripRecHit2D:
TrackerSingleRecHit BaseTrackerRecHit TrackingRecHit

Public Types

typedef OmniClusterRef::ClusterStripRef ClusterRef
 
- Public Types inherited from TrackerSingleRecHit
typedef BaseTrackerRecHit Base
 
typedef OmniClusterRef::Phase2Cluster1DRef ClusterPhase2Ref
 
typedef OmniClusterRef::ClusterPixelRef ClusterPixelRef
 
typedef OmniClusterRef::ClusterStripRef ClusterStripRef
 
- Public Types inherited from TrackingRecHit
typedef std::vector< ConstRecHitPointerConstRecHitContainer
 
using ConstRecHitPointer = std::shared_ptr< TrackingRecHit const >
 
typedef unsigned int id_type
 
typedef std::vector< ConstRecHitPointerRecHitContainer
 
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
}
 

Public Member Functions

virtual bool canImproveWithTrack () const override
 
virtual SiStripRecHit2Dclone () const override
 
virtual RecHitPointer cloneSH () const override
 
ClusterRef cluster () const
 
virtual int dimension () const override
 
virtual void getKfComponents (KfComponentsHolder &holder) const override
 
void setClusterRef (ClusterRef const &ref)
 
 SiStripRecHit2D ()
 
 SiStripRecHit2D (const DetId &id, OmniClusterRef const &clus)
 
template<typename CluRef >
 SiStripRecHit2D (const LocalPoint &pos, const LocalError &err, GeomDet const &idet, CluRef const &clus)
 
 ~SiStripRecHit2D ()
 
- Public Member Functions inherited from TrackerSingleRecHit
ClusterPhase2Ref cluster_phase2OT () const
 
ClusterPixelRef cluster_pixel () const
 
ClusterStripRef cluster_strip () const
 
const GeomDetUnitdetUnit () const
 
virtual OmniClusterRef const & firstClusterRef () const final
 
OmniClusterRef const & omniCluster () const
 
OmniClusterRefomniCluster ()
 
OmniClusterRef const & omniClusterRef () const
 
OmniClusterRefomniClusterRef ()
 
Phase2TrackerCluster1D const & phase2OTCluster () const
 
SiPixelCluster const & pixelCluster () 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...
 
bool sameCluster (OmniClusterRef const &oh) const
 
void setClusterPhase2Ref (ClusterPhase2Ref const &ref)
 
void setClusterPixelRef (ClusterPixelRef const &ref)
 
void setClusterStripRef (ClusterStripRef const &ref)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const final
 
bool sharesInput (TrackerSingleRecHit const &other) const
 
SiStripCluster const & stripCluster () const
 
 TrackerSingleRecHit ()
 
 TrackerSingleRecHit (DetId id, OmniClusterRef const &clus)
 
template<typename CluRef >
 TrackerSingleRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, CluRef const &clus)
 
template<typename CluRef >
 TrackerSingleRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt, CluRef const &clus)
 
- Public Member Functions inherited from BaseTrackerRecHit
 BaseTrackerRecHit ()
 
 BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt)
 
 BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt)
 
virtual float clusterProbability () const
 cluster probability, overloaded by pixel rechits. More...
 
float errorGlobalR () const final
 
float errorGlobalRPhi () const final
 
float errorGlobalZ () const final
 
void getKfComponents1D (KfComponentsHolder &holder) const
 
void getKfComponents2D (KfComponentsHolder &holder) const
 
virtual GlobalPoint globalPosition () const final
 
GlobalError globalPositionError () const final
 
TrackingRecHitGlobalState globalState () const
 
bool hasPositionAndError () const final
 to be redefined by daughter class More...
 
BaseTrackerRecHit const * hit () const final
 
bool isMatched () const
 
bool isMulti () const
 
virtual bool isPhase2 () const
 
virtual bool isPixel () const
 
bool isProjected () const
 
bool isProjMono () const
 
bool isProjStereo () const
 
bool isSingle () const
 
virtual LocalPoint localPosition () const final
 
virtual LocalError localPositionError () const final
 
const LocalErrorlocalPositionErrorFast () const
 
const LocalPointlocalPositionFast () const
 
virtual AlgebraicVector parameters () const
 
virtual AlgebraicSymMatrix parametersError () const
 
virtual AlgebraicMatrix projectionMatrix () const
 
trackerHitRTTI::RTTI rtti () const
 
bool sameDetModule (TrackingRecHit const &hit) const
 
virtual const Surfacesurface () const final
 
virtual ~BaseTrackerRecHit ()
 
- Public Member Functions inherited from TrackingRecHit
RecHitPointer cloneForFit (const GeomDet &idet) const
 
virtual TrackingRecHitcloneHit () const
 
const GeomDetdet () const
 
DetId geographicalId () const
 
unsigned int getRTTI () const
 
Type getType () const
 
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)
 
 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 ()
 

Private Member Functions

virtual SiStripRecHit2Dclone (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
 
virtual RecHitPointer cloneSH (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from BaseTrackerRecHit
LocalError err_
 
LocalPoint pos_
 
unsigned int qualWord_
 

Detailed Description

Definition at line 8 of file SiStripRecHit2D.h.

Member Typedef Documentation

Definition at line 15 of file SiStripRecHit2D.h.

Constructor & Destructor Documentation

SiStripRecHit2D::SiStripRecHit2D ( )
inline

Definition at line 11 of file SiStripRecHit2D.h.

Referenced by clone().

11 {}
SiStripRecHit2D::~SiStripRecHit2D ( )
inline

Definition at line 13 of file SiStripRecHit2D.h.

13 {}
SiStripRecHit2D::SiStripRecHit2D ( const DetId id,
OmniClusterRef const &  clus 
)
inline

Definition at line 18 of file SiStripRecHit2D.h.

19  :
20  TrackerSingleRecHit(id, clus){}
template<typename CluRef >
SiStripRecHit2D::SiStripRecHit2D ( const LocalPoint pos,
const LocalError err,
GeomDet const &  idet,
CluRef const &  clus 
)
inline

Definition at line 23 of file SiStripRecHit2D.h.

25  :
26  TrackerSingleRecHit(pos,err, idet, clus) {}

Member Function Documentation

virtual bool SiStripRecHit2D::canImproveWithTrack ( ) const
inlineoverridevirtual

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 40 of file SiStripRecHit2D.h.

40 {return true;}
virtual SiStripRecHit2D* SiStripRecHit2D::clone ( void  ) const
inlineoverridevirtual

Implements TrackingRecHit.

Definition at line 32 of file SiStripRecHit2D.h.

References SiStripRecHit2D().

32 {return new SiStripRecHit2D( * this); }
virtual SiStripRecHit2D* SiStripRecHit2D::clone ( TkCloner const &  cloner,
TrajectoryStateOnSurface const &  tsos 
) const
inlineoverrideprivatevirtual

Reimplemented from TrackingRecHit.

Definition at line 43 of file SiStripRecHit2D.h.

43  {
44  return cloner(*this,tsos).release();
45  }
virtual RecHitPointer SiStripRecHit2D::cloneSH ( ) const
inlineoverridevirtual

Reimplemented from TrackingRecHit.

Definition at line 34 of file SiStripRecHit2D.h.

34 { return std::make_shared<SiStripRecHit2D>(*this);}
virtual RecHitPointer SiStripRecHit2D::cloneSH ( TkCloner const &  cloner,
TrajectoryStateOnSurface const &  tsos 
) const
inlineoverrideprivatevirtual

Reimplemented from TrackingRecHit.

Definition at line 47 of file SiStripRecHit2D.h.

References TkCloner::makeShared().

47  {
48  return cloner.makeShared(*this,tsos);
49  }
ClusterRef SiStripRecHit2D::cluster ( ) const
inline
virtual int SiStripRecHit2D::dimension ( ) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 37 of file SiStripRecHit2D.h.

37 {return 2;}
virtual void SiStripRecHit2D::getKfComponents ( KfComponentsHolder holder) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 38 of file SiStripRecHit2D.h.

References BaseTrackerRecHit::getKfComponents2D().

38 { getKfComponents2D(holder); }
void getKfComponents2D(KfComponentsHolder &holder) const
void SiStripRecHit2D::setClusterRef ( ClusterRef const &  ref)
inline

Definition at line 30 of file SiStripRecHit2D.h.

References TrackerSingleRecHit::setClusterStripRef().

30 {setClusterStripRef(ref);}
void setClusterStripRef(ClusterStripRef const &ref)