CMS 3D CMS Logo

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

#include <FastProjectedTrackerRecHit.h>

Inheritance diagram for FastProjectedTrackerRecHit:
FastTrackerRecHit BaseTrackerRecHit TrackingRecHit

Public Member Functions

virtual
FastProjectedTrackerRecHit
clone () const
 
int32_t eventId (size_t i=0) const
 
 FastProjectedTrackerRecHit ()
 
 FastProjectedTrackerRecHit (const LocalPoint &pos, const LocalError &err, GeomDet const &idet, FastSingleTrackerRecHit const &originalHit)
 
int32_t id (size_t i=0) const
 
size_t nIds () const
 
size_t nSimTrackIds () const
 see addSimTrackId(int32_t simTrackId) More...
 
const FastSingleTrackerRecHitoriginalHit () const
 
void setEventId (int32_t eventId)
 
void setRecHitCombinationIndex (int32_t recHitCombinationIndex)
 
int32_t simTrackEventId (size_t i) const
 see addSimTrackId(int32_t simTrackId) More...
 
int32_t simTrackId (size_t i) const
 see addSimTrackId(int32_t simTrackId) More...
 
 ~FastProjectedTrackerRecHit ()
 
- Public Member Functions inherited from FastTrackerRecHit
virtual bool canImproveWithTrack () const
 
int dimension () const
 get the dimensions right More...
 
 FastTrackerRecHit ()
 
 FastTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, fastTrackerRecHitType::HitType hitType)
 
OmniClusterRef const & firstClusterRef () const
 
void getKfComponents (KfComponentsHolder &holder) const
 
bool isPixel () const
 pixel or strip? More...
 
virtual int32_t recHitCombinationIndex () const
 
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 
virtual std::vector
< TrackingRecHit * > 
recHits ()
 
bool sameId (const FastTrackerRecHit *other, size_t i=0, size_t j=0) const
 
void set2D (bool is2D=true)
 
bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
 ~FastTrackerRecHit ()
 
- 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
 
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
 
virtual RecHitPointer cloneSH () const
 
const GeomDetdet () const
 
virtual const GeomDetUnitdetUnit () 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 Attributes

FastSingleTrackerRecHit originalHit_
 

Additional Inherited Members

- 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,
  missing_inner = 4, missing_outer = 5
}
 
- Static Public Attributes inherited from TrackingRecHit
static const int rttiShift = 24
 
static const int typeMask = 0xf
 
- Protected Member Functions inherited from FastTrackerRecHit
virtual FastTrackerRecHitclone (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const
 
void load ()
 helps making the hit postion and error persistent More...
 
void store ()
 helps making the hit postion and error persistent More...
 
- Protected Member Functions inherited from TrackingRecHit
void setId (id_type iid)
 
void setRTTI (unsigned int rt)
 
void setType (Type ttype)
 
- Protected Attributes inherited from FastTrackerRecHit
bool is2D_
 hit is either one dimensional (is2D_ = false) or two dimensions (is2D_ = true) More...
 
const bool isPixel_
 hit is either on pixel modul (isPixel_ = true) or strip module (isPixel_ = false) More...
 
LocalError myErr_
 helps making the hit postion and error persistent More...
 
LocalPoint myPos_
 helps making the hit postion and error persistent More...
 
uint32_t recHitCombinationIndex_
 
- Protected Attributes inherited from BaseTrackerRecHit
LocalError err_
 
LocalPoint pos_
 
unsigned int qualWord_
 

Detailed Description

Definition at line 8 of file FastProjectedTrackerRecHit.h.

Constructor & Destructor Documentation

FastProjectedTrackerRecHit::FastProjectedTrackerRecHit ( )
inline

Definition at line 12 of file FastProjectedTrackerRecHit.h.

Referenced by clone().

12 {};
FastProjectedTrackerRecHit::~FastProjectedTrackerRecHit ( )
inline

Definition at line 14 of file FastProjectedTrackerRecHit.h.

14 {};
FastProjectedTrackerRecHit::FastProjectedTrackerRecHit ( const LocalPoint pos,
const LocalError err,
GeomDet const &  idet,
FastSingleTrackerRecHit const &  originalHit 
)
inline

Member Function Documentation

virtual FastProjectedTrackerRecHit* FastProjectedTrackerRecHit::clone ( void  ) const
inlinevirtual
int32_t FastProjectedTrackerRecHit::eventId ( size_t  i = 0) const
inlinevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 31 of file FastProjectedTrackerRecHit.h.

References FastSingleTrackerRecHit::eventId(), i, and originalHit().

31 { return originalHit().eventId(i);}
int i
Definition: DBlmapReader.cc:9
int32_t eventId(size_t i=0) const
const FastSingleTrackerRecHit & originalHit() const
int32_t FastProjectedTrackerRecHit::id ( size_t  i = 0) const
inlinevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 30 of file FastProjectedTrackerRecHit.h.

References i, FastSingleTrackerRecHit::id(), and originalHit().

30 { return originalHit().id(i);}
int i
Definition: DBlmapReader.cc:9
const FastSingleTrackerRecHit & originalHit() const
int32_t id(size_t i=0) const
size_t FastProjectedTrackerRecHit::nIds ( ) const
inlinevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 29 of file FastProjectedTrackerRecHit.h.

29 { return 1;}
size_t FastProjectedTrackerRecHit::nSimTrackIds ( ) const
inlinevirtual

see addSimTrackId(int32_t simTrackId)

Reimplemented from FastTrackerRecHit.

Definition at line 32 of file FastProjectedTrackerRecHit.h.

References FastSingleTrackerRecHit::nSimTrackIds(), and originalHit_.

const FastSingleTrackerRecHit& FastProjectedTrackerRecHit::originalHit ( ) const
inline

Definition at line 27 of file FastProjectedTrackerRecHit.h.

References originalHit_.

Referenced by eventId(), and id().

27 {return originalHit_;}
FastSingleTrackerRecHit originalHit_
void FastProjectedTrackerRecHit::setEventId ( int32_t  eventId)
inlinevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 36 of file FastProjectedTrackerRecHit.h.

References originalHit_, and FastSingleTrackerRecHit::setEventId().

int32_t eventId(size_t i=0) const
void setEventId(int32_t eventId)
FastSingleTrackerRecHit originalHit_
void FastProjectedTrackerRecHit::setRecHitCombinationIndex ( int32_t  recHitCombinationIndex)
inlinevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 38 of file FastProjectedTrackerRecHit.h.

References originalHit_, and FastTrackerRecHit::setRecHitCombinationIndex().

38  {
41  }
FastSingleTrackerRecHit originalHit_
virtual int32_t recHitCombinationIndex() const
virtual void setRecHitCombinationIndex(int32_t recHitCombinationIndex)
int32_t FastProjectedTrackerRecHit::simTrackEventId ( size_t  i) const
inlinevirtual

see addSimTrackId(int32_t simTrackId)

Reimplemented from FastTrackerRecHit.

Definition at line 34 of file FastProjectedTrackerRecHit.h.

References originalHit_, and FastSingleTrackerRecHit::simTrackEventId().

int32_t FastProjectedTrackerRecHit::simTrackId ( size_t  i) const
inlinevirtual

see addSimTrackId(int32_t simTrackId)

Reimplemented from FastTrackerRecHit.

Definition at line 33 of file FastProjectedTrackerRecHit.h.

References originalHit_, and FastSingleTrackerRecHit::simTrackId().

Member Data Documentation

FastSingleTrackerRecHit FastProjectedTrackerRecHit::originalHit_
private