CMS 3D CMS Logo

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

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

FastSingleTrackerRecHit originalHit_
 

Additional Inherited Members

- 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 FastTrackerRecHit
FastTrackerRecHitclone_ (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
 
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
float energyLoss_
 
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() [1/2]

FastProjectedTrackerRecHit::FastProjectedTrackerRecHit ( )
inline

Definition at line 10 of file FastProjectedTrackerRecHit.h.

10 {};

Referenced by clone().

◆ ~FastProjectedTrackerRecHit()

FastProjectedTrackerRecHit::~FastProjectedTrackerRecHit ( )
inlineoverride

Definition at line 12 of file FastProjectedTrackerRecHit.h.

12 {};

◆ FastProjectedTrackerRecHit() [2/2]

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

Member Function Documentation

◆ clone()

FastProjectedTrackerRecHit* FastProjectedTrackerRecHit::clone ( void  ) const
inlineoverridevirtual

Implements TrackingRecHit.

Definition at line 27 of file FastProjectedTrackerRecHit.h.

27  {
29  p->load();
30  return p;
31  }

References FastProjectedTrackerRecHit(), and AlCaHLTBitMon_ParallelJobs::p.

◆ eventId()

int32_t FastProjectedTrackerRecHit::eventId ( size_t  i = 0) const
inlineoverridevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 34 of file FastProjectedTrackerRecHit.h.

34 { return originalHit().eventId(i); }

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

Referenced by ntupleDataFormat.Event::eventIdStr(), and setEventId().

◆ id()

int32_t FastProjectedTrackerRecHit::id ( size_t  i = 0) const
inlineoverridevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 33 of file FastProjectedTrackerRecHit.h.

33 { return originalHit().id(i); }

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

◆ nIds()

size_t FastProjectedTrackerRecHit::nIds ( ) const
inlineoverridevirtual

Reimplemented from FastTrackerRecHit.

Definition at line 32 of file FastProjectedTrackerRecHit.h.

32 { return 1; }

◆ nSimTrackIds()

size_t FastProjectedTrackerRecHit::nSimTrackIds ( ) const
inlineoverridevirtual

see addSimTrackId(int32_t simTrackId)

Reimplemented from FastTrackerRecHit.

Definition at line 35 of file FastProjectedTrackerRecHit.h.

References FastSingleTrackerRecHit::nSimTrackIds(), and originalHit_.

◆ originalHit()

const FastSingleTrackerRecHit& FastProjectedTrackerRecHit::originalHit ( ) const
inline

Definition at line 26 of file FastProjectedTrackerRecHit.h.

26 { return originalHit_; }

References originalHit_.

Referenced by eventId(), and id().

◆ setEventId()

void FastProjectedTrackerRecHit::setEventId ( int32_t  eventId)
inlineoverridevirtual

◆ setRecHitCombinationIndex()

void FastProjectedTrackerRecHit::setRecHitCombinationIndex ( int32_t  recHitCombinationIndex)
inlineoverridevirtual

◆ simTrackEventId()

int32_t FastProjectedTrackerRecHit::simTrackEventId ( size_t  i) const
inlineoverridevirtual

see addSimTrackId(int32_t simTrackId)

Reimplemented from FastTrackerRecHit.

Definition at line 41 of file FastProjectedTrackerRecHit.h.

References mps_fire::i, originalHit_, and FastSingleTrackerRecHit::simTrackEventId().

◆ simTrackId()

int32_t FastProjectedTrackerRecHit::simTrackId ( size_t  i) const
inlineoverridevirtual

see addSimTrackId(int32_t simTrackId)

Reimplemented from FastTrackerRecHit.

Definition at line 38 of file FastProjectedTrackerRecHit.h.

References mps_fire::i, originalHit_, and FastSingleTrackerRecHit::simTrackId().

Member Data Documentation

◆ originalHit_

FastSingleTrackerRecHit FastProjectedTrackerRecHit::originalHit_
private
FastTrackerRecHit::setRecHitCombinationIndex
virtual void setRecHitCombinationIndex(int32_t recHitCombinationIndex)
Definition: FastTrackerRecHit.h:112
mps_fire.i
i
Definition: mps_fire.py:428
TrackingRecHit::det
const GeomDet * det() const
Definition: TrackingRecHit.h:122
pos
Definition: PixelAliasList.h:18
FastProjectedTrackerRecHit::originalHit_
FastSingleTrackerRecHit originalHit_
Definition: FastProjectedTrackerRecHit.h:54
FastSingleTrackerRecHit::id
int32_t id(size_t i=0) const override
Definition: FastSingleTrackerRecHit.h:25
FastProjectedTrackerRecHit::eventId
int32_t eventId(size_t i=0) const override
Definition: FastProjectedTrackerRecHit.h:34
ProjectedSiStripRecHit2D::isMono
static bool isMono(GeomDet const &gdet, GeomDet const &sdet)
Definition: ProjectedSiStripRecHit2D.h:10
FastProjectedTrackerRecHit
Definition: FastProjectedTrackerRecHit.h:8
FastProjectedTrackerRecHit::FastProjectedTrackerRecHit
FastProjectedTrackerRecHit()
Definition: FastProjectedTrackerRecHit.h:10
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FastTrackerRecHit::recHitCombinationIndex
virtual int32_t recHitCombinationIndex() const
Definition: FastTrackerRecHit.h:102
fastTrackerRecHitType::siStripProjectedMono2D
Definition: FastTrackerRecHit.h:21
FastTrackerRecHit::FastTrackerRecHit
FastTrackerRecHit()
Definition: FastTrackerRecHit.h:44
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
FastSingleTrackerRecHit::eventId
int32_t eventId(size_t i=0) const override
Definition: FastSingleTrackerRecHit.h:26
FastProjectedTrackerRecHit::originalHit
const FastSingleTrackerRecHit & originalHit() const
Definition: FastProjectedTrackerRecHit.h:26
FastSingleTrackerRecHit::setEventId
void setEventId(int32_t eventId) override
Definition: FastSingleTrackerRecHit.h:47
fastTrackerRecHitType::siStripProjectedStereo2D
Definition: FastTrackerRecHit.h:22