CMS 3D CMS Logo

List of all members | Public Member Functions
MTDTrackingRecHit Class Reference

A 2D TrackerRecHit with time and time error information. More...

#include <MTDTrackingRecHit.h>

Inheritance diagram for MTDTrackingRecHit:
TrackerSingleRecHit BaseTrackerRecHit TrackingRecHit

Public Member Functions

MTDTrackingRecHitclone () const override
 
int dimension () const final
 
float energy () const
 
void getKfComponents (KfComponentsHolder &holder) const final
 
bool isPhase2 () const final
 
 MTDTrackingRecHit ()
 
 MTDTrackingRecHit (const LocalPoint &p, const LocalError &e, const GeomDet &idet, const FTLClusterRef &objref)
 
float time () const
 
float timeError () const
 
- 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
 
OmniClusterRef const & omniCluster () const
 
OmniClusterRefomniCluster ()
 
OmniClusterRef const & omniClusterRef () const
 
OmniClusterRefomniClusterRef ()
 
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 ()
 
 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 GeomDet &idet, 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
 
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
virtual bool canImproveWithTrack () const
 
RecHitPointer cloneForFit (const GeomDet &idet) const
 
virtual TrackingRecHitcloneHit () const
 
virtual RecHitPointer cloneSH () 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 ()
 

Additional Inherited Members

- 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
}
 
- 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

A 2D TrackerRecHit with time and time error information.

Definition at line 10 of file MTDTrackingRecHit.h.

Constructor & Destructor Documentation

◆ MTDTrackingRecHit() [1/2]

MTDTrackingRecHit::MTDTrackingRecHit ( )
inline

Definition at line 12 of file MTDTrackingRecHit.h.

Referenced by clone().

◆ MTDTrackingRecHit() [2/2]

MTDTrackingRecHit::MTDTrackingRecHit ( const LocalPoint p,
const LocalError e,
const GeomDet idet,
const FTLClusterRef objref 
)
inline

Member Function Documentation

◆ clone()

MTDTrackingRecHit* MTDTrackingRecHit::clone ( void  ) const
inlineoverridevirtual

Implements TrackingRecHit.

Definition at line 17 of file MTDTrackingRecHit.h.

References MTDTrackingRecHit().

17 { return new MTDTrackingRecHit(*this); }

◆ dimension()

int MTDTrackingRecHit::dimension ( ) const
inlinefinalvirtual

Implements BaseTrackerRecHit.

Definition at line 23 of file MTDTrackingRecHit.h.

23 { return 2; }

◆ energy()

float MTDTrackingRecHit::energy ( ) const
inline

Definition at line 26 of file MTDTrackingRecHit.h.

References FTLCluster::energy(), OmniClusterRef::mtdCluster(), and TrackerSingleRecHit::omniCluster().

Referenced by Jet.Jet::rawEnergy().

26 { return omniCluster().mtdCluster().energy(); }
FTLCluster const & mtdCluster() const
float energy() const
Definition: FTLCluster.h:149
OmniClusterRef const & omniCluster() const

◆ getKfComponents()

void MTDTrackingRecHit::getKfComponents ( KfComponentsHolder holder) const
finalvirtual

Implements BaseTrackerRecHit.

Definition at line 3 of file MTDTrackingRecHit.cc.

References BaseTrackerRecHit::getKfComponents2D().

3 { getKfComponents2D(holder); }
void getKfComponents2D(KfComponentsHolder &holder) const

◆ isPhase2()

bool MTDTrackingRecHit::isPhase2 ( ) const
inlinefinalvirtual

Reimplemented from BaseTrackerRecHit.

Definition at line 20 of file MTDTrackingRecHit.h.

20 { return true; }

◆ time()

float MTDTrackingRecHit::time ( ) const
inline

Definition at line 27 of file MTDTrackingRecHit.h.

References OmniClusterRef::mtdCluster(), TrackerSingleRecHit::omniCluster(), and FTLCluster::time().

Referenced by TrackExtenderWithMTDT< TrackCollection >::buildTrack().

27 { return omniCluster().mtdCluster().time(); }
FTLCluster const & mtdCluster() const
float time() const
Definition: FTLCluster.h:130
OmniClusterRef const & omniCluster() const

◆ timeError()

float MTDTrackingRecHit::timeError ( ) const
inline

Definition at line 28 of file MTDTrackingRecHit.h.

References OmniClusterRef::mtdCluster(), TrackerSingleRecHit::omniCluster(), and FTLCluster::timeError().

Referenced by TrackExtenderWithMTDT< TrackCollection >::buildTrack().

28 { return omniCluster().mtdCluster().timeError(); }
FTLCluster const & mtdCluster() const
float timeError() const
Definition: FTLCluster.h:135
OmniClusterRef const & omniCluster() const