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

ConstRecHitPointer const * data () 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

Definition at line 11 of file SeedingHitSet.h.

Definition at line 9 of file SeedingHitSet.h.

Definition at line 10 of file SeedingHitSet.h.

Constructor & Destructor Documentation

SeedingHitSet::SeedingHitSet ( )
inline

Definition at line 15 of file SeedingHitSet.h.

References theRecHits.

15 {theRecHits[0]=theRecHits[1]=theRecHits[2]=theRecHits[3]=nullptr;}
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:53
SeedingHitSet::SeedingHitSet ( ConstRecHitPointer  one,
ConstRecHitPointer  two 
)
inline

Definition at line 17 of file SeedingHitSet.h.

References theRecHits.

19  {
20  theRecHits[0]=one;
21  theRecHits[1]=two;
22  theRecHits[2]=theRecHits[3]=nullptr;
23  }
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:53
SeedingHitSet::SeedingHitSet ( ConstRecHitPointer  one,
ConstRecHitPointer  two,
ConstRecHitPointer  three 
)
inline

Definition at line 24 of file SeedingHitSet.h.

References theRecHits.

27  {
28  theRecHits[0]=one;
29  theRecHits[1]=two;
30  theRecHits[2]=three;
31  theRecHits[3]=nullptr;
32  }
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:53
SeedingHitSet::SeedingHitSet ( ConstRecHitPointer  one,
ConstRecHitPointer  two,
ConstRecHitPointer  three,
ConstRecHitPointer  four 
)
inline

Definition at line 34 of file SeedingHitSet.h.

References theRecHits.

36  {
37  theRecHits[0]=one;
38  theRecHits[1]=two;
39  theRecHits[2]=three;
40  theRecHits[3]=four;
41  }
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:53

Member Function Documentation

ConstRecHitPointer const* SeedingHitSet::data ( ) const
inline

Definition at line 44 of file SeedingHitSet.h.

References theRecHits.

44 { return theRecHits;}
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:53
ConstRecHitPointer SeedingHitSet::get ( unsigned int  i) const
inline
static ConstRecHitPointer SeedingHitSet::nullPtr ( )
inlinestatic

Definition at line 13 of file SeedingHitSet.h.

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

13 { return nullptr;}
ConstRecHitPointer SeedingHitSet::operator[] ( unsigned int  i) const
inline

Definition at line 49 of file SeedingHitSet.h.

References mps_fire::i, and theRecHits.

49 { return theRecHits[i]; }
ConstRecHitPointer theRecHits[4]
Definition: SeedingHitSet.h:53
unsigned int SeedingHitSet::size ( void  ) const
inline

Member Data Documentation

ConstRecHitPointer SeedingHitSet::theRecHits[4]
private

Definition at line 53 of file SeedingHitSet.h.

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