CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | 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 get (unsigned int i) const
 
ConstRecHitPointer operator[] (unsigned int i) const
 
 SeedingHitSet ()
 
 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 ()
 

Public Attributes

 theRecHits [1] =two
 

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;}
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  }
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  }

Member Function Documentation

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 47 of file SeedingHitSet.h.

References i, and theRecHits.

47 { return theRecHits[i]; }
int i
Definition: DBlmapReader.cc:9
unsigned int SeedingHitSet::size ( void  ) const
inline

Member Data Documentation

SeedingHitSet::theRecHits[2] =two

Definition at line 21 of file SeedingHitSet.h.

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

ConstRecHitPointer SeedingHitSet::theRecHits[4]
private

Definition at line 51 of file SeedingHitSet.h.