test
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, projStereo =2, projMono =3,
  match =4, multi =5, fastSingle =6, fastProjStereo =7,
  fastProjMono =8, fastMatch =9
}
 

Functions

bool isFast (TrackingRecHit const &hit)
 
bool isMatched (TrackingRecHit const &hit)
 
bool isMulti (TrackingRecHit const &hit)
 
bool isProjected (TrackingRecHit const &hit)
 
bool isProjMono (TrackingRecHit const &hit)
 
bool isProjStereo (TrackingRecHit const &hit)
 
bool isSingle (TrackingRecHit const &hit)
 
bool isSingleType (TrackingRecHit const &hit)
 
bool isUndef (TrackingRecHit const &hit)
 
unsigned int projId (TrackingRecHit const &hit)
 
RTTI rtti (TrackingRecHit const &hit)
 

Enumeration Type Documentation

Enumerator
undef 
single 
projStereo 
projMono 
match 
multi 
fastSingle 
fastProjStereo 
fastProjMono 
fastMatch 

Definition at line 18 of file BaseTrackerRecHit.h.

Function Documentation

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

Definition at line 27 of file BaseTrackerRecHit.h.

References multi, and rtti().

Referenced by BaseTrackerRecHit::isMulti().

27 { return rtti(hit)==multi;}
RTTI rtti(TrackingRecHit const &hit)
bool trackerHitRTTI::isProjected ( TrackingRecHit const &  hit)
inline
bool trackerHitRTTI::isProjMono ( TrackingRecHit const &  hit)
inline
bool trackerHitRTTI::isProjStereo ( TrackingRecHit const &  hit)
inline
bool trackerHitRTTI::isSingle ( TrackingRecHit const &  hit)
inline

Definition at line 22 of file BaseTrackerRecHit.h.

References fastSingle, rtti(), and single.

Referenced by BaseTrackerRecHit::isSingle().

bool trackerHitRTTI::isSingleType ( TrackingRecHit const &  hit)
inline

Definition at line 28 of file BaseTrackerRecHit.h.

References rtti().

Referenced by SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), and TrackerSingleRecHit::sharesInput().

28 { return (rtti(hit)>0) & (rtti(hit)<4) ;}
RTTI rtti(TrackingRecHit const &hit)
bool trackerHitRTTI::isUndef ( TrackingRecHit const &  hit)
inline
unsigned int trackerHitRTTI::projId ( TrackingRecHit const &  hit)
inline

Definition at line 30 of file BaseTrackerRecHit.h.

References TrackingRecHit::rawId(), and rtti().

Referenced by ProjectedSiStripRecHit2D::originalId().

30 { return hit.rawId()+int(rtti(hit))-1;}
RTTI rtti(TrackingRecHit const &hit)
RTTI trackerHitRTTI::rtti ( TrackingRecHit const &  hit)
inline