CMS 3D CMS Logo

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

#include <Phase2TrackerRecHit1D.h>

Inheritance diagram for Phase2TrackerRecHit1D:
TrackerSingleRecHit BaseTrackerRecHit TrackingRecHit

Public Types

typedef OmniClusterRef::Phase2Cluster1DRef CluRef
 
- Public Types inherited from TrackerSingleRecHit
typedef BaseTrackerRecHit Base
 
typedef OmniClusterRef::ClusterMTDRef ClusterMTDRef
 
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, inactive_inner = 6, inactive_outer = 7
}
 

Public Member Functions

bool canImproveWithTrack () const override
 
Phase2TrackerRecHit1Dclone () const override
 
RecHitPointer cloneSH () const override
 
CluRef cluster () const
 
int dimension () const override
 
void getKfComponents (KfComponentsHolder &holder) const override
 
bool isPhase2 () const override
 
 Phase2TrackerRecHit1D ()
 
 Phase2TrackerRecHit1D (const LocalPoint &pos, const LocalError &err, GeomDet const &idet, CluRef const &clus)
 
void setClusterRef (CluRef const &ref)
 
 ~Phase2TrackerRecHit1D () override
 
- Public Member Functions inherited from TrackerSingleRecHit
ClusterMTDRef cluster_mtd () const
 
ClusterPhase2Ref cluster_phase2OT () const
 
ClusterPixelRef cluster_pixel () const
 
ClusterStripRef cluster_strip () const
 
const GeomDetUnitdetUnit () const override
 
OmniClusterRef const & firstClusterRef () const final
 
FTLCluster const & mtdCluster () const
 
OmniClusterRefomniCluster ()
 
OmniClusterRef const & omniCluster () const
 
OmniClusterRefomniClusterRef ()
 
OmniClusterRef const & omniClusterRef () const
 
Phase2TrackerCluster1D const & phase2OTCluster () const
 
SiPixelCluster const & pixelCluster () const
 
std::vector< const TrackingRecHit * > recHits () const override
 Access to component RecHits (if any) More...
 
std::vector< TrackingRecHit * > recHits () override
 Non-const access to component RecHits (if any) More...
 
bool sameCluster (OmniClusterRef const &oh) const
 
void setClusterMTDRef (ClusterMTDRef const &ref)
 
void setClusterPhase2Ref (ClusterPhase2Ref const &ref)
 
void setClusterPixelRef (ClusterPixelRef const &ref)
 
void setClusterStripRef (ClusterStripRef const &ref)
 
bool sharesInput (const TrackingRecHit *other, SharedInputType what) const final
 
bool sharesInput (TrackerSingleRecHit const &other) const
 
SiStripCluster const & stripCluster () const
 
 TrackerSingleRecHit ()
 
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)
 
 TrackerSingleRecHit (DetId id, OmniClusterRef const &clus)
 
- Public Member Functions inherited from BaseTrackerRecHit
 BaseTrackerRecHit ()
 
 BaseTrackerRecHit (const GeomDet &idet, trackerHitRTTI::RTTI rt)
 
 BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt)
 
 BaseTrackerRecHit (DetId id, 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
 
GlobalPoint globalPosition () const final
 
GlobalError globalPositionError () const final
 
TrackingRecHitGlobalState globalState () const
 
bool hasPositionAndError () const override
 to be redefined by daughter class More...
 
BaseTrackerRecHit const * hit () const final
 
bool isMatched () const
 
bool isMulti () const
 
virtual bool isPixel () const
 
bool isProjected () const
 
bool isProjMono () const
 
bool isProjStereo () const
 
bool isSingle () const
 
LocalPoint localPosition () const override
 
LocalError localPositionError () const override
 
const LocalErrorlocalPositionErrorFast () const
 
const LocalPointlocalPositionFast () const
 
AlgebraicVector parameters () const override
 
AlgebraicSymMatrix parametersError () const override
 
AlgebraicMatrix projectionMatrix () const override
 
trackerHitRTTI::RTTI rtti () const
 
bool sameDetModule (TrackingRecHit const &hit) const
 
const Surfacesurface () const final
 
 ~BaseTrackerRecHit () override
 
- 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 (const GeomDet &idet, TrackingRecHit const &rh)
 
 TrackingRecHit (const GeomDet &idet, Type type=valid)
 
 TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid)
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
virtual ConstRecHitContainer transientHits () const
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Private Member Functions

Phase2TrackerRecHit1Dclone_ (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
 
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 10 of file Phase2TrackerRecHit1D.h.

Member Typedef Documentation

◆ CluRef

Definition at line 12 of file Phase2TrackerRecHit1D.h.

Constructor & Destructor Documentation

◆ Phase2TrackerRecHit1D() [1/2]

Phase2TrackerRecHit1D::Phase2TrackerRecHit1D ( )
inline

Definition at line 14 of file Phase2TrackerRecHit1D.h.

14 {}

Referenced by clone().

◆ ~Phase2TrackerRecHit1D()

Phase2TrackerRecHit1D::~Phase2TrackerRecHit1D ( )
inlineoverride

Definition at line 16 of file Phase2TrackerRecHit1D.h.

16 {}

◆ Phase2TrackerRecHit1D() [2/2]

Phase2TrackerRecHit1D::Phase2TrackerRecHit1D ( const LocalPoint pos,
const LocalError err,
GeomDet const &  idet,
CluRef const &  clus 
)
inline

Definition at line 18 of file Phase2TrackerRecHit1D.h.

19  : TrackerSingleRecHit(pos, err, idet, clus) {}

Member Function Documentation

◆ canImproveWithTrack()

bool Phase2TrackerRecHit1D::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 32 of file Phase2TrackerRecHit1D.h.

32 { return true; }

◆ clone()

Phase2TrackerRecHit1D* Phase2TrackerRecHit1D::clone ( void  ) const
inlineoverridevirtual

Implements TrackingRecHit.

Definition at line 21 of file Phase2TrackerRecHit1D.h.

21 { return new Phase2TrackerRecHit1D(*this); }

References Phase2TrackerRecHit1D().

◆ clone_()

Phase2TrackerRecHit1D* Phase2TrackerRecHit1D::clone_ ( TkCloner const &  cloner,
TrajectoryStateOnSurface const &  tsos 
) const
inlineoverrideprivatevirtual

Reimplemented from TrackingRecHit.

Definition at line 36 of file Phase2TrackerRecHit1D.h.

36  {
37  return cloner(*this, tsos).release();
38  }

◆ cloneSH()

RecHitPointer Phase2TrackerRecHit1D::cloneSH ( ) const
inlineoverridevirtual

Reimplemented from TrackingRecHit.

Definition at line 22 of file Phase2TrackerRecHit1D.h.

22 { return std::make_shared<Phase2TrackerRecHit1D>(*this); }

◆ cloneSH_()

RecHitPointer Phase2TrackerRecHit1D::cloneSH_ ( TkCloner const &  cloner,
TrajectoryStateOnSurface const &  tsos 
) const
inlineoverrideprivatevirtual

Reimplemented from TrackingRecHit.

Definition at line 39 of file Phase2TrackerRecHit1D.h.

39  {
40  return cloner.makeShared(*this, tsos);
41  }

References TkCloner::makeShared().

◆ cluster()

CluRef Phase2TrackerRecHit1D::cluster ( ) const
inline

◆ dimension()

int Phase2TrackerRecHit1D::dimension ( ) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 29 of file Phase2TrackerRecHit1D.h.

29 { return 2; }

◆ getKfComponents()

void Phase2TrackerRecHit1D::getKfComponents ( KfComponentsHolder holder) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 30 of file Phase2TrackerRecHit1D.h.

30 { getKfComponents2D(holder); }

References BaseTrackerRecHit::getKfComponents2D().

◆ isPhase2()

bool Phase2TrackerRecHit1D::isPhase2 ( ) const
inlineoverridevirtual

Reimplemented from BaseTrackerRecHit.

Definition at line 27 of file Phase2TrackerRecHit1D.h.

27 { return true; }

◆ setClusterRef()

void Phase2TrackerRecHit1D::setClusterRef ( CluRef const &  ref)
inline

Definition at line 25 of file Phase2TrackerRecHit1D.h.

25 { setClusterPhase2Ref(ref); }

References TrackerSingleRecHit::setClusterPhase2Ref().

pos
Definition: PixelAliasList.h:18
Phase2TrackerRecHit1D::Phase2TrackerRecHit1D
Phase2TrackerRecHit1D()
Definition: Phase2TrackerRecHit1D.h:14
TrackerSingleRecHit::setClusterPhase2Ref
void setClusterPhase2Ref(ClusterPhase2Ref const &ref)
Definition: TrackerSingleRecHit.h:66
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
TrackerSingleRecHit::TrackerSingleRecHit
TrackerSingleRecHit()
Definition: TrackerSingleRecHit.h:15
TrackerSingleRecHit::cluster_phase2OT
ClusterPhase2Ref cluster_phase2OT() const
Definition: TrackerSingleRecHit.h:51
BaseTrackerRecHit::getKfComponents2D
void getKfComponents2D(KfComponentsHolder &holder) const
Definition: BaseTrackerRecHit.cc:53