CMS 3D CMS Logo

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, notFromCluster =10, mipTiming =11
}
 

Functions

bool isFast (TrackingRecHit const &hit)
 
bool isFromDet (TrackingRecHit const &hit)
 
bool isFromDetOrFast (TrackingRecHit const &hit)
 
bool isMatched (TrackingRecHit const &hit)
 
bool isMulti (TrackingRecHit const &hit)
 
bool isNotFromCluster (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 isTiming (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 
notFromCluster 
mipTiming 

Definition at line 8 of file trackerHitRTTI.h.

Function Documentation

bool trackerHitRTTI::isFast ( TrackingRecHit const &  hit)
inline
bool trackerHitRTTI::isFromDet ( TrackingRecHit const &  hit)
inline
bool trackerHitRTTI::isFromDetOrFast ( TrackingRecHit const &  hit)
inline

Definition at line 23 of file trackerHitRTTI.h.

References rtti().

Referenced by Trajectory::pixel().

23 { return (rtti(hit)>0) & (rtti(hit)<10) ;}
RTTI rtti(TrackingRecHit const &hit)
bool trackerHitRTTI::isMatched ( TrackingRecHit const &  hit)
inline
bool trackerHitRTTI::isMulti ( TrackingRecHit const &  hit)
inline

Definition at line 19 of file trackerHitRTTI.h.

References multi, and rtti().

Referenced by BaseTrackerRecHit::isMulti().

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

Definition at line 13 of file trackerHitRTTI.h.

References notFromCluster, and rtti().

Referenced by Traj2TrackHits::split().

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
bool trackerHitRTTI::isSingleType ( TrackingRecHit const &  hit)
inline

Definition at line 20 of file trackerHitRTTI.h.

References rtti().

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

20 { return (rtti(hit)>0) & (rtti(hit)<4) ;}
RTTI rtti(TrackingRecHit const &hit)
bool trackerHitRTTI::isTiming ( TrackingRecHit const &  hit)
inline

Definition at line 24 of file trackerHitRTTI.h.

References mipTiming, and rtti().

24 { return rtti(hit)==mipTiming; }
RTTI rtti(TrackingRecHit const &hit)
bool trackerHitRTTI::isUndef ( TrackingRecHit const &  hit)
inline
unsigned int trackerHitRTTI::projId ( TrackingRecHit const &  hit)
inline

Definition at line 25 of file trackerHitRTTI.h.

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

Referenced by ProjectedSiStripRecHit2D::originalId().

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