CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
SeedingHitSet Class Reference

#include <SeedingHitSet.h>

Inheritance diagram for SeedingHitSet:
OrderedHitPair OrderedHitTriplet

Public Types

using ConstRecHitPointer = BaseTrackerRecHit const *
 
using RecHit = BaseTrackerRecHit
 
using RecHitPointer = BaseTrackerRecHit *
 

Public Member Functions

const ConstRecHitPointerdata () const
 
ConstRecHitPointer get (unsigned int i) const
 
ConstRecHitPointer operator[] (unsigned int i) const
 
 SeedingHitSet ()
 
 SeedingHitSet (ConstRecHitPointer one, ConstRecHitPointer two)
 
 SeedingHitSet (ConstRecHitPointer one, ConstRecHitPointer two, ConstRecHitPointer three)
 
 SeedingHitSet (ConstRecHitPointer one, ConstRecHitPointer two, ConstRecHitPointer three, ConstRecHitPointer four)
 
unsigned int size () const
 

Static Public Member Functions

static ConstRecHitPointer nullPtr ()
 

Private Attributes

ConstRecHitPointer theRecHits [4]
 

Detailed Description

Definition at line 6 of file SeedingHitSet.h.

Member Typedef Documentation

◆ ConstRecHitPointer

Definition at line 10 of file SeedingHitSet.h.

◆ RecHit

Definition at line 8 of file SeedingHitSet.h.

◆ RecHitPointer

Definition at line 9 of file SeedingHitSet.h.

Constructor & Destructor Documentation

◆ SeedingHitSet() [1/4]

SeedingHitSet::SeedingHitSet ( )
inline

Definition at line 14 of file SeedingHitSet.h.

14 { theRecHits[0] = theRecHits[1] = theRecHits[2] = theRecHits[3] = nullptr; }

References theRecHits.

◆ SeedingHitSet() [2/4]

SeedingHitSet::SeedingHitSet ( ConstRecHitPointer  one,
ConstRecHitPointer  two 
)
inline

Definition at line 16 of file SeedingHitSet.h.

18  {
19  theRecHits[0] = one;
20  theRecHits[1] = two;
21  theRecHits[2] = theRecHits[3] = nullptr;
22  }

References SiPixelPI::one, theRecHits, and SiPixelPI::two.

◆ SeedingHitSet() [3/4]

SeedingHitSet::SeedingHitSet ( ConstRecHitPointer  one,
ConstRecHitPointer  two,
ConstRecHitPointer  three 
)
inline

Definition at line 23 of file SeedingHitSet.h.

25  {
26  theRecHits[0] = one;
27  theRecHits[1] = two;
28  theRecHits[2] = three;
29  theRecHits[3] = nullptr;
30  }

References SiPixelPI::one, theRecHits, and SiPixelPI::two.

◆ SeedingHitSet() [4/4]

SeedingHitSet::SeedingHitSet ( ConstRecHitPointer  one,
ConstRecHitPointer  two,
ConstRecHitPointer  three,
ConstRecHitPointer  four 
)
inline

Definition at line 32 of file SeedingHitSet.h.

32  {
33  theRecHits[0] = one;
34  theRecHits[1] = two;
35  theRecHits[2] = three;
36  theRecHits[3] = four;
37  }

References SiPixelPI::one, theRecHits, and SiPixelPI::two.

Member Function Documentation

◆ data()

const ConstRecHitPointer* SeedingHitSet::data ( ) const
inline

Definition at line 39 of file SeedingHitSet.h.

39 { return theRecHits; }

References theRecHits.

◆ get()

ConstRecHitPointer SeedingHitSet::get ( unsigned int  i) const
inline

◆ nullPtr()

static ConstRecHitPointer SeedingHitSet::nullPtr ( )
inlinestatic

Definition at line 12 of file SeedingHitSet.h.

12 { return nullptr; }

Referenced by PixelTrackCleanerWrapper::clean(), and SeedGeneratorFromProtoTracksEDProducer::produce().

◆ operator[]()

ConstRecHitPointer SeedingHitSet::operator[] ( unsigned int  i) const
inline

Definition at line 44 of file SeedingHitSet.h.

44 { return theRecHits[i]; }

References mps_fire::i, and theRecHits.

◆ size()

unsigned int SeedingHitSet::size ( void  ) const
inline

Member Data Documentation

◆ theRecHits

ConstRecHitPointer SeedingHitSet::theRecHits[4]
private

Definition at line 47 of file SeedingHitSet.h.

Referenced by data(), get(), operator[](), SeedingHitSet(), and size().

mps_fire.i
i
Definition: mps_fire.py:428
SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
SeedingHitSet::theRecHits
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:47
SiPixelPI::two
Definition: SiPixelPayloadInspectorHelper.h:39