CMS 3D CMS Logo

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

Member Typedef Documentation

Definition at line 95 of file PixelHitMatcher.h.

Definition at line 97 of file PixelHitMatcher.h.

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

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

Member Function Documentation

float RecHitWithInfo::dPhi ( ) const
inline

Definition at line 108 of file PixelHitMatcher.h.

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

Definition at line 107 of file PixelHitMatcher.h.

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

Definition at line 110 of file PixelHitMatcher.h.

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

Definition at line 105 of file PixelHitMatcher.h.

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

Definition at line 106 of file PixelHitMatcher.h.

106 { return subDet_ ; }

Member Data Documentation

float RecHitWithInfo::dPhi_
private

Definition at line 117 of file PixelHitMatcher.h.

float RecHitWithInfo::dRz_
private

Definition at line 116 of file PixelHitMatcher.h.

ConstRecHitPointer RecHitWithInfo::rh_
private

Definition at line 114 of file PixelHitMatcher.h.

int RecHitWithInfo::subDet_
private

Definition at line 115 of file PixelHitMatcher.h.