CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

RecHitWithInfo Class Reference

#include <PixelHitMatcher.h>

List of all members.

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 77 of file PixelHitMatcher.h.


Member Typedef Documentation

Definition at line 81 of file PixelHitMatcher.h.

Definition at line 83 of file PixelHitMatcher.h.

Definition at line 82 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 85 of file PixelHitMatcher.h.

     : rh_(rh), subDet_(subDet), dRz_(dRz), dPhi_(dPhi)
     {}

Member Function Documentation

float RecHitWithInfo::dPhi ( ) const [inline]

Definition at line 94 of file PixelHitMatcher.h.

References dPhi_.

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

Definition at line 93 of file PixelHitMatcher.h.

References dRz_.

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

Definition at line 96 of file PixelHitMatcher.h.

References dPhi_.

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

Definition at line 91 of file PixelHitMatcher.h.

References rh_.

{ return rh_; }
int RecHitWithInfo::subDet ( ) const [inline]

Definition at line 92 of file PixelHitMatcher.h.

References subDet_.

{ return subDet_ ; }

Member Data Documentation

float RecHitWithInfo::dPhi_ [private]

Definition at line 103 of file PixelHitMatcher.h.

Referenced by dPhi(), and invert().

float RecHitWithInfo::dRz_ [private]

Definition at line 102 of file PixelHitMatcher.h.

Referenced by dRz().

Definition at line 100 of file PixelHitMatcher.h.

Referenced by recHit().

int RecHitWithInfo::subDet_ [private]

Definition at line 101 of file PixelHitMatcher.h.

Referenced by subDet().