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

#include <PixelHitMatcher.h>

Public Types

typedef
TransientTrackingRecHit::ConstRecHitPointer 
ConstRecHitPointer
 
typedef
TransientTrackingRecHit::RecHitContainer 
RecHitContainer
 
typedef
TransientTrackingRecHit::RecHitPointer 
RecHitPointer
 

Public Member Functions

float dPhi () const
 
float dRz () const
 
void invert ()
 
ConstRecHitPointer recHit () const
 
 RecHitWithInfo (ConstRecHitPointer rh, int subDet=0, float dRz=std::numeric_limits< float >::infinity(), float dPhi=std::numeric_limits< float >::infinity())
 
int subDet () const
 

Private Attributes

float dPhi_
 
float dRz_
 
ConstRecHitPointer rh_
 
int subDet_
 

Detailed Description

Definition at line 105 of file PixelHitMatcher.h.

Member Typedef Documentation

Definition at line 109 of file PixelHitMatcher.h.

Definition at line 111 of file PixelHitMatcher.h.

Definition at line 110 of file PixelHitMatcher.h.

Constructor & Destructor Documentation

RecHitWithInfo::RecHitWithInfo ( ConstRecHitPointer  rh,
int  subDet = 0,
float  dRz = std::numeric_limits<float>::infinity(),
float  dPhi = std::numeric_limits<float>::infinity() 
)
inline

Definition at line 113 of file PixelHitMatcher.h.

116  : rh_(rh), subDet_(subDet), dRz_(dRz), dPhi_(dPhi)
117  {}
int subDet() const
float dPhi() const
float dRz() const
ConstRecHitPointer rh_

Member Function Documentation

float RecHitWithInfo::dPhi ( ) const
inline

Definition at line 122 of file PixelHitMatcher.h.

References dPhi_.

122 { return dPhi_ ; }
float RecHitWithInfo::dRz ( ) const
inline

Definition at line 121 of file PixelHitMatcher.h.

References dRz_.

121 { return dRz_ ; }
void RecHitWithInfo::invert ( )
inline

Definition at line 124 of file PixelHitMatcher.h.

References dPhi_.

124 { dPhi_*=-1. ; }
ConstRecHitPointer RecHitWithInfo::recHit ( ) const
inline

Definition at line 119 of file PixelHitMatcher.h.

References rh_.

119 { return rh_; }
ConstRecHitPointer rh_
int RecHitWithInfo::subDet ( ) const
inline

Definition at line 120 of file PixelHitMatcher.h.

References subDet_.

120 { return subDet_ ; }

Member Data Documentation

float RecHitWithInfo::dPhi_
private

Definition at line 131 of file PixelHitMatcher.h.

Referenced by dPhi(), and invert().

float RecHitWithInfo::dRz_
private

Definition at line 130 of file PixelHitMatcher.h.

Referenced by dRz().

ConstRecHitPointer RecHitWithInfo::rh_
private

Definition at line 128 of file PixelHitMatcher.h.

Referenced by recHit().

int RecHitWithInfo::subDet_
private

Definition at line 129 of file PixelHitMatcher.h.

Referenced by subDet().