test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions
SiStripRecHit1D Class Reference

#include <SiStripRecHit1D.h>

Inheritance diagram for SiStripRecHit1D:
TrackerSingleRecHit BaseTrackerRecHit TrackingRecHit

Public Types

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

Public Member Functions

virtual bool canImproveWithTrack () const
 
virtual SiStripRecHit1Dclone () const
 
virtual RecHitPointer cloneSH () const
 
ClusterRef cluster () const
 
virtual int dimension () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
void setClusterRef (ClusterRef const &ref)
 
 SiStripRecHit1D ()
 
template<typename CluRef >
 SiStripRecHit1D (const LocalPoint &p, const LocalError &e, GeomDet const &idet, CluRef const &clus)
 
- Public Member Functions inherited from TrackerSingleRecHit
ClusterPixelRef cluster_pixel () const
 
ClusterStripRef cluster_strip () const
 
const GeomDetUnitdetUnit () const
 
virtual OmniClusterRef const & firstClusterRef () const
 
OmniClusterRef const & omniCluster () const
 
OmniClusterRefomniCluster ()
 
OmniClusterRef const & omniClusterRef () const
 
OmniClusterRefomniClusterRef ()
 
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 setClusterPixelRef (ClusterPixelRef const &ref)
 
void setClusterStripRef (ClusterStripRef const &ref)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
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
 
float errorGlobalRPhi () const
 
float errorGlobalZ () const
 
void getKfComponents1D (KfComponentsHolder &holder) const
 
void getKfComponents2D (KfComponentsHolder &holder) const
 
virtual GlobalPoint globalPosition () const
 
GlobalError globalPositionError () const
 
TrackingRecHitGlobalState globalState () const
 
bool hasPositionAndError () const
 to be redefined by daughter class More...
 
BaseTrackerRecHit const * hit () const
 
bool isMatched () const
 
bool isMulti () const
 
virtual bool isPixel () const
 
bool isProjected () const
 
bool isProjMono () const
 
bool isProjSterep () const
 
bool isSingle () const
 
virtual LocalPoint localPosition () const
 
virtual LocalError localPositionError () const
 
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
 
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 * > &)
 
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 SiStripRecHit1Dclone (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const
 
virtual RecHitPointer cloneSH (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const
 

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
unsigned int qualWord_
 

Detailed Description

Definition at line 13 of file SiStripRecHit1D.h.

Member Typedef Documentation

Definition at line 20 of file SiStripRecHit1D.h.

Constructor & Destructor Documentation

SiStripRecHit1D::SiStripRecHit1D ( )
inline

Definition at line 17 of file SiStripRecHit1D.h.

Referenced by clone().

17 {}
template<typename CluRef >
SiStripRecHit1D::SiStripRecHit1D ( const LocalPoint p,
const LocalError e,
GeomDet const &  idet,
CluRef const &  clus 
)
inline

Definition at line 23 of file SiStripRecHit1D.h.

25  : TrackerSingleRecHit(p,e,idet,clus){}

Member Function Documentation

virtual bool SiStripRecHit1D::canImproveWithTrack ( ) const
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&). this will be done inside the TkCloner itself

Reimplemented from TrackingRecHit.

Definition at line 41 of file SiStripRecHit1D.h.

41 {return true;}
virtual SiStripRecHit1D* SiStripRecHit1D::clone ( void  ) const
inlinevirtual

Implements TrackingRecHit.

Definition at line 32 of file SiStripRecHit1D.h.

References SiStripRecHit1D().

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

Reimplemented from TrackingRecHit.

Definition at line 44 of file SiStripRecHit1D.h.

44  {
45  return cloner(*this,tsos);
46  }
virtual RecHitPointer SiStripRecHit1D::cloneSH ( ) const
inlinevirtual

Reimplemented from TrackingRecHit.

Definition at line 34 of file SiStripRecHit1D.h.

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

Reimplemented from TrackingRecHit.

Definition at line 48 of file SiStripRecHit1D.h.

48  {
49  return cloner.makeShared(*this,tsos);
50  }
ClusterRef SiStripRecHit1D::cluster ( ) const
inline
virtual int SiStripRecHit1D::dimension ( ) const
inlinevirtual

Implements BaseTrackerRecHit.

Definition at line 38 of file SiStripRecHit1D.h.

38 {return 1;}
virtual void SiStripRecHit1D::getKfComponents ( KfComponentsHolder holder) const
inlinevirtual

Implements BaseTrackerRecHit.

Definition at line 39 of file SiStripRecHit1D.h.

References BaseTrackerRecHit::getKfComponents1D().

Referenced by HelpertRecHit2DLocalPos::getKfComponents().

39 {getKfComponents1D(holder);}
void getKfComponents1D(KfComponentsHolder &holder) const
void SiStripRecHit1D::setClusterRef ( ClusterRef const &  ref)
inline

Definition at line 29 of file SiStripRecHit1D.h.

References TrackerSingleRecHit::setClusterStripRef().

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