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,
  vector = 12
}
 

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)
 
bool isVector (TrackingRecHit const &hit)
 
unsigned int projId (TrackingRecHit const &hit)
 
RTTI rtti (TrackingRecHit const &hit)
 

Enumeration Type Documentation

◆ RTTI

Enumerator
undef 
single 
projStereo 
projMono 
match 
multi 
fastSingle 
fastProjStereo 
fastProjMono 
fastMatch 
notFromCluster 
mipTiming 
vector 

Definition at line 8 of file trackerHitRTTI.h.

8  {
9  undef = 0,
10  single = 1,
11  projStereo = 2,
12  projMono = 3,
13  match = 4,
14  multi = 5,
15  fastSingle = 6,
16  fastProjStereo = 7,
17  fastProjMono = 8,
18  fastMatch = 9,
19  notFromCluster = 10,
20  mipTiming = 11,
21  vector = 12
22  };
int single(int argc, char *argv[])
Definition: DMRsingle.cc:18
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10

Function Documentation

◆ isFast()

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

◆ isFromDet()

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

◆ isFromDetOrFast()

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

Definition at line 40 of file trackerHitRTTI.h.

References rtti().

Referenced by Trajectory::pixel().

40  {
41  return (((rtti(hit) > 0) && (rtti(hit) < 10)) || (rtti(hit) == 12));
42  }
RTTI rtti(TrackingRecHit const &hit)

◆ isMatched()

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

◆ isMulti()

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

Definition at line 34 of file trackerHitRTTI.h.

References multi, and rtti().

Referenced by BaseTrackerRecHit::isMulti().

34 { return rtti(hit) == multi; }
RTTI rtti(TrackingRecHit const &hit)

◆ isNotFromCluster()

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

Definition at line 25 of file trackerHitRTTI.h.

References notFromCluster, and rtti().

Referenced by Traj2TrackHits::split().

25 { return rtti(hit) == notFromCluster; }
RTTI rtti(TrackingRecHit const &hit)

◆ isProjected()

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

◆ isProjMono()

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

◆ isProjStereo()

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

◆ isSingle()

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

Definition at line 26 of file trackerHitRTTI.h.

References fastSingle, rtti(), and single.

Referenced by MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), and BaseTrackerRecHit::isSingle().

26 { return rtti(hit) == single || rtti(hit) == fastSingle; }
RTTI rtti(TrackingRecHit const &hit)
int single(int argc, char *argv[])
Definition: DMRsingle.cc:18

◆ isSingleType()

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

Definition at line 35 of file trackerHitRTTI.h.

References rtti().

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

35 { return (rtti(hit) > 0) && (rtti(hit) < 4); }
RTTI rtti(TrackingRecHit const &hit)

◆ isTiming()

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

Definition at line 43 of file trackerHitRTTI.h.

References mipTiming, and rtti().

43 { return rtti(hit) == mipTiming; }
RTTI rtti(TrackingRecHit const &hit)

◆ isUndef()

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

◆ isVector()

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

Definition at line 44 of file trackerHitRTTI.h.

References rtti(), and vector.

Referenced by VectorHit::sharesInput().

44 { return rtti(hit) == vector; }
RTTI rtti(TrackingRecHit const &hit)

◆ projId()

unsigned int trackerHitRTTI::projId ( TrackingRecHit const &  hit)
inline

Definition at line 45 of file trackerHitRTTI.h.

References createfilelist::int, and rtti().

Referenced by ProjectedSiStripRecHit2D::originalId().

45 { return hit.rawId() + int(rtti(hit)) - 1; }
RTTI rtti(TrackingRecHit const &hit)

◆ rtti()

RTTI trackerHitRTTI::rtti ( TrackingRecHit const &  hit)
inline