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 Attributes
ProjectedSiStripRecHit2D Class Reference

#include <ProjectedSiStripRecHit2D.h>

Inheritance diagram for ProjectedSiStripRecHit2D:
BaseTrackerRecHit TrackingRecHit

Public Types

typedef BaseTrackerRecHit Base
 
- Public Types inherited from TrackingRecHit
typedef unsigned int id_type
 
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 ProjectedSiStripRecHit2Dclone () const
 
virtual int dimension () const
 
virtual OmniClusterRef const & firstClusterRef () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
const SiStripRecHit2D & originalHit () const
 
SiStripRecHit2D & originalHit ()
 
 ProjectedSiStripRecHit2D ()
 
 ProjectedSiStripRecHit2D (const LocalPoint &pos, const LocalError &err, const DetId &id, const SiStripRecHit2D *originalHit)
 
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...
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
- Public Member Functions inherited from BaseTrackerRecHit
 BaseTrackerRecHit ()
 
 BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt)
 
 BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, DetId id, trackerHitRTTI::RTTI rt)
 
void getKfComponents1D (KfComponentsHolder &holder) const
 
void getKfComponents2D (KfComponentsHolder &holder) const
 
bool hasPositionAndError () const GCC11_FINAL
 to be redefined by daughter class More...
 
bool isMatched () const
 
bool isMulti () const
 
bool isProjected () const
 
bool isSingle () const
 
virtual LocalPoint localPosition () const GCC11_FINAL
 
virtual LocalError localPositionError () const GCC11_FINAL
 
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 ~BaseTrackerRecHit ()
 
- Public Member Functions inherited from TrackingRecHit
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 * > &)
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Private Attributes

SiStripRecHit2D originalHit_
 

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)
 

Detailed Description

Definition at line 6 of file ProjectedSiStripRecHit2D.h.

Member Typedef Documentation

Definition at line 9 of file ProjectedSiStripRecHit2D.h.

Constructor & Destructor Documentation

ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D ( )
inline

Definition at line 10 of file ProjectedSiStripRecHit2D.h.

Referenced by clone().

10 {};
ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D ( const LocalPoint pos,
const LocalError err,
const DetId id,
const SiStripRecHit2D *  originalHit 
)
inline

Member Function Documentation

virtual ProjectedSiStripRecHit2D* ProjectedSiStripRecHit2D::clone ( void  ) const
inlinevirtual

Implements TrackingRecHit.

Definition at line 15 of file ProjectedSiStripRecHit2D.h.

References ProjectedSiStripRecHit2D().

virtual int ProjectedSiStripRecHit2D::dimension ( ) const
inlinevirtual

Implements BaseTrackerRecHit.

Definition at line 17 of file ProjectedSiStripRecHit2D.h.

17 {return 2;}
virtual OmniClusterRef const& ProjectedSiStripRecHit2D::firstClusterRef ( ) const
inlinevirtual

Implements BaseTrackerRecHit.

Definition at line 22 of file ProjectedSiStripRecHit2D.h.

References originalHit().

22 { return originalHit().firstClusterRef();}
const SiStripRecHit2D & originalHit() const
virtual void ProjectedSiStripRecHit2D::getKfComponents ( KfComponentsHolder holder) const
inlinevirtual

Implements BaseTrackerRecHit.

Definition at line 18 of file ProjectedSiStripRecHit2D.h.

References BaseTrackerRecHit::getKfComponents2D().

18 { getKfComponents2D(holder); }
void getKfComponents2D(KfComponentsHolder &holder) const
const SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit ( ) const
inline
SiStripRecHit2D& ProjectedSiStripRecHit2D::originalHit ( )
inline

Definition at line 26 of file ProjectedSiStripRecHit2D.h.

References originalHit_.

26 {return originalHit_;}
virtual std::vector<const TrackingRecHit*> ProjectedSiStripRecHit2D::recHits ( ) const
inlinevirtual

Access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 31 of file ProjectedSiStripRecHit2D.h.

References originalHit_, and HI_PhotonSkim_cff::rechits.

31  {
32  std::vector<const TrackingRecHit*> rechits(1,&originalHit_);
33  return rechits;
34  }
virtual std::vector<TrackingRecHit*> ProjectedSiStripRecHit2D::recHits ( )
inlinevirtual

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 35 of file ProjectedSiStripRecHit2D.h.

References originalHit_, and HI_PhotonSkim_cff::rechits.

35  {
36  std::vector<TrackingRecHit*> rechits(1,&originalHit_);
37  return rechits;
38  }
virtual bool ProjectedSiStripRecHit2D::sharesInput ( const TrackingRecHit other,
SharedInputType  what 
) const
inlinevirtual

Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. The second argument specifies how much sharing is needed in order to return true: the value "all" means that all inputs of the two hits must be identical; the value "some" means that at least one of the inputs is in common.

Reimplemented from TrackingRecHit.

Definition at line 28 of file ProjectedSiStripRecHit2D.h.

References originalHit().

28  {
29  return originalHit().sharesInput(other,what);
30  }
const SiStripRecHit2D & originalHit() const

Member Data Documentation

SiStripRecHit2D ProjectedSiStripRecHit2D::originalHit_
private

Definition at line 43 of file ProjectedSiStripRecHit2D.h.

Referenced by originalHit(), and recHits().