CMS 3D CMS Logo

Enumerations | Functions

trackerHitRTTI Namespace Reference

Enumerations

enum  RTTI {
  undef = 0, single = 1, proj = 2, match = 3,
  multi = 4
}

Functions

bool isMatched (TrackingRecHit const &hit)
bool isMulti (TrackingRecHit const &hit)
bool isProjected (TrackingRecHit const &hit)
bool isSingle (TrackingRecHit const &hit)
bool isUndef (TrackingRecHit const &hit)
RTTI rtti (TrackingRecHit const &hit)

Enumeration Type Documentation

Enumerator:
undef 
single 
proj 
match 
multi 

Definition at line 12 of file BaseTrackerRecHit.h.

{ undef=0, single=1, proj=2, match=3, multi=4};

Function Documentation

bool trackerHitRTTI::isMatched ( TrackingRecHit const &  hit) [inline]
bool trackerHitRTTI::isMulti ( TrackingRecHit const &  hit) [inline]

Definition at line 18 of file BaseTrackerRecHit.h.

References multi, and rtti().

{ return rtti(hit)==multi;}
bool trackerHitRTTI::isProjected ( TrackingRecHit const &  hit) [inline]

Definition at line 16 of file BaseTrackerRecHit.h.

References proj, and rtti().

Referenced by TrackerSingleRecHit::sharesInput().

{ return rtti(hit)==proj;}
bool trackerHitRTTI::isSingle ( TrackingRecHit const &  hit) [inline]

Definition at line 15 of file BaseTrackerRecHit.h.

References rtti(), and single.

Referenced by TrackerSingleRecHit::sharesInput().

{ return rtti(hit)==single;}
bool trackerHitRTTI::isUndef ( TrackingRecHit const &  hit) [inline]

Definition at line 14 of file BaseTrackerRecHit.h.

References rtti(), and undef.

{ return rtti(hit)==undef;}
RTTI trackerHitRTTI::rtti ( TrackingRecHit const &  hit) [inline]

Definition at line 13 of file BaseTrackerRecHit.h.

References TrackingRecHit::getRTTI().

Referenced by isMatched(), isMulti(), isProjected(), isSingle(), and isUndef().

{ return RTTI(hit.getRTTI());}