CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

12 { undef=0, single=1, proj=2, match=3, multi=4};
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:6

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().

Referenced by BaseTrackerRecHit::isMulti().

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

Definition at line 16 of file BaseTrackerRecHit.h.

References proj, and rtti().

Referenced by BaseTrackerRecHit::isProjected(), and TrackerSingleRecHit::sharesInput().

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

Definition at line 15 of file BaseTrackerRecHit.h.

References rtti(), and single.

Referenced by BaseTrackerRecHit::isSingle(), and TrackerSingleRecHit::sharesInput().

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

Definition at line 14 of file BaseTrackerRecHit.h.

References rtti(), and undef.

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