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
SiTrackerGSRecHit2D Class Reference

#include <SiTrackerGSRecHit2D.h>

Inheritance diagram for SiTrackerGSRecHit2D:
GSSiTrackerRecHit2DLocalPos RecHit2DLocalPos TrackingRecHit

Public Types

typedef edm::Ref
< FastTrackerClusterCollection,
FastTrackerCluster
ClusterRef
 
typedef edm::RefProd
< FastTrackerClusterCollection
ClusterRefProd
 
- Public Types inherited from RecHit2DLocalPos
typedef GloballyPositioned
< float >::LocalPoint 
LocalPoint
 
- 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 SiTrackerGSRecHit2Dclone () const
 
ClusterRef const & cluster () const
 
const uint32_t & eeId () const
 
void setClusterRef (const ClusterRef &ref)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
const int & simhitId () const
 
const int & simMultX () const
 
const int & simMultY () const
 
const int & simtrackId () const
 
 SiTrackerGSRecHit2D ()
 
 SiTrackerGSRecHit2D (const LocalPoint &, const LocalError &, const DetId &, const int simhitId, const int simtrackId, const uint32_t eeId, ClusterRef const &cluster, const int pixelMultiplicityX, const int pixelMultiplicityY)
 
 ~SiTrackerGSRecHit2D ()
 
- Public Member Functions inherited from GSSiTrackerRecHit2DLocalPos
virtual void getKfComponents (KfComponentsHolder &holder) const
 
 GSSiTrackerRecHit2DLocalPos ()
 
 GSSiTrackerRecHit2DLocalPos (const LocalPoint &p, const LocalError &e, DetId id)
 
virtual LocalPoint localPosition () const
 
virtual LocalError localPositionError () const
 
 ~GSSiTrackerRecHit2DLocalPos ()
 
- Public Member Functions inherited from RecHit2DLocalPos
virtual int dimension () const
 
virtual AlgebraicVector parameters () const
 
virtual AlgebraicSymMatrix parametersError () const
 
virtual AlgebraicMatrix projectionMatrix () const
 
 RecHit2DLocalPos (DetId id)
 
 RecHit2DLocalPos (TrackingRecHit::id_type id=0)
 
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 ~RecHit2DLocalPos ()
 
- Public Member Functions inherited from TrackingRecHit
DetId geographicalId () const
 
unsigned int getRTTI () const
 
Type getType () const
 
virtual bool hasPositionAndError () const
 to be redefined by daughter class More...
 
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

ClusterRef cluster_
 
uint32_t eeId_
 
int pixelMultiplicityAlpha_
 
int pixelMultiplicityBeta_
 
int simhitId_
 
int simtrackId_
 

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 11 of file SiTrackerGSRecHit2D.h.

Member Typedef Documentation

Definition at line 27 of file SiTrackerGSRecHit2D.h.

Definition at line 28 of file SiTrackerGSRecHit2D.h.

Constructor & Destructor Documentation

SiTrackerGSRecHit2D::SiTrackerGSRecHit2D ( )
inline
SiTrackerGSRecHit2D::~SiTrackerGSRecHit2D ( )
inline

Definition at line 25 of file SiTrackerGSRecHit2D.h.

25 {}
SiTrackerGSRecHit2D::SiTrackerGSRecHit2D ( const LocalPoint pos,
const LocalError err,
const DetId id,
const int  simhitId,
const int  simtrackId,
const uint32_t  eeId,
ClusterRef const &  cluster,
const int  pixelMultiplicityX = -1,
const int  pixelMultiplicityY = -1 
)

Definition at line 4 of file SiTrackerGSRecHit2D.cc.

12  :
13  GSSiTrackerRecHit2DLocalPos(pos,err,id) ,
16  eeId_(eeId) ,
17  cluster_(cluster),
18  pixelMultiplicityAlpha_(pixelMultiplicityX),
19  pixelMultiplicityBeta_(pixelMultiplicityY){}
const int & simhitId() const
const int & simtrackId() const
const uint32_t & eeId() const
ClusterRef const & cluster() const

Member Function Documentation

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

Implements RecHit2DLocalPos.

Definition at line 40 of file SiTrackerGSRecHit2D.h.

References SiTrackerGSRecHit2D().

40 {return new SiTrackerGSRecHit2D( * this); }
ClusterRef const& SiTrackerGSRecHit2D::cluster ( ) const
inline

Definition at line 48 of file SiTrackerGSRecHit2D.h.

References cluster_.

Referenced by GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().

48 { return cluster_;}
const uint32_t& SiTrackerGSRecHit2D::eeId ( ) const
inline
void SiTrackerGSRecHit2D::setClusterRef ( const ClusterRef ref)
inline

Definition at line 49 of file SiTrackerGSRecHit2D.h.

References cluster_.

49 { cluster_ = ref; }
virtual bool SiTrackerGSRecHit2D::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 GSSiTrackerRecHit2DLocalPos.

Definition at line 51 of file SiTrackerGSRecHit2D.h.

51 {return false;}
const int& SiTrackerGSRecHit2D::simhitId ( ) const
inline
const int& SiTrackerGSRecHit2D::simMultX ( ) const
inline
const int& SiTrackerGSRecHit2D::simMultY ( ) const
inline
const int& SiTrackerGSRecHit2D::simtrackId ( ) const
inline

Member Data Documentation

ClusterRef SiTrackerGSRecHit2D::cluster_
private

Definition at line 58 of file SiTrackerGSRecHit2D.h.

Referenced by cluster(), and setClusterRef().

uint32_t SiTrackerGSRecHit2D::eeId_
private

Definition at line 57 of file SiTrackerGSRecHit2D.h.

Referenced by eeId().

int SiTrackerGSRecHit2D::pixelMultiplicityAlpha_
private

Definition at line 59 of file SiTrackerGSRecHit2D.h.

Referenced by simMultX().

int SiTrackerGSRecHit2D::pixelMultiplicityBeta_
private

Definition at line 60 of file SiTrackerGSRecHit2D.h.

Referenced by simMultY().

int SiTrackerGSRecHit2D::simhitId_
private

Definition at line 55 of file SiTrackerGSRecHit2D.h.

Referenced by simhitId().

int SiTrackerGSRecHit2D::simtrackId_
private

Definition at line 56 of file SiTrackerGSRecHit2D.h.

Referenced by simtrackId().