test
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 | Protected Attributes
HitTripletGeneratorFromPairAndLayers Class Referenceabstract

#include <HitTripletGeneratorFromPairAndLayers.h>

Inheritance diagram for HitTripletGeneratorFromPairAndLayers:
PixelTripletHLTGenerator PixelTripletLargeTipGenerator PixelTripletLowPtGenerator PixelTripletNoTipGenerator

Public Types

typedef LayerHitMapCache LayerCacheType
 

Public Member Functions

 HitTripletGeneratorFromPairAndLayers (unsigned int maxElement=0)
 
 HitTripletGeneratorFromPairAndLayers (const edm::ParameterSet &pset)
 
virtual void hitTriplets (const TrackingRegion &region, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers)=0
 
void init (std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
 
const
HitPairGeneratorFromLayerPair
pairGenerator () const
 
virtual ~HitTripletGeneratorFromPairAndLayers ()
 

Protected Attributes

LayerCacheTypetheLayerCache
 
const unsigned int theMaxElement
 
std::unique_ptr
< HitPairGeneratorFromLayerPair
thePairGenerator
 

Detailed Description

Definition at line 19 of file HitTripletGeneratorFromPairAndLayers.h.

Member Typedef Documentation

Definition at line 22 of file HitTripletGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers ( unsigned int  maxElement = 0)
explicit
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers ( const edm::ParameterSet pset)
explicit

Definition at line 10 of file HitTripletGeneratorFromPairAndLayers.cc.

10  :
11  HitTripletGeneratorFromPairAndLayers(pset.getParameter<unsigned int>("maxElement"))
12 {}
T getParameter(std::string const &) const
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers ( )
virtual

Definition at line 14 of file HitTripletGeneratorFromPairAndLayers.cc.

14 {}

Member Function Documentation

virtual void HitTripletGeneratorFromPairAndLayers::hitTriplets ( const TrackingRegion region,
OrderedHitTriplets trs,
const edm::Event ev,
const edm::EventSetup es,
SeedingLayerSetsHits::SeedingLayerSet  pairLayers,
const std::vector< SeedingLayerSetsHits::SeedingLayer > &  thirdLayers 
)
pure virtual
void HitTripletGeneratorFromPairAndLayers::init ( std::unique_ptr< HitPairGeneratorFromLayerPair > &&  pairs,
LayerCacheType layerCache 
)

Definition at line 16 of file HitTripletGeneratorFromPairAndLayers.cc.

References eostools::move(), pairGenerator(), theLayerCache, and thePairGenerator.

16  {
18  theLayerCache = layerCache;
19 }
def move
Definition: eostools.py:510
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
const HitPairGeneratorFromLayerPair& HitTripletGeneratorFromPairAndLayers::pairGenerator ( ) const
inline

Definition at line 30 of file HitTripletGeneratorFromPairAndLayers.h.

References thePairGenerator.

Referenced by init().

30 { return *thePairGenerator; }
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator

Member Data Documentation

LayerCacheType* HitTripletGeneratorFromPairAndLayers::theLayerCache
protected
const unsigned int HitTripletGeneratorFromPairAndLayers::theMaxElement
protected
std::unique_ptr<HitPairGeneratorFromLayerPair> HitTripletGeneratorFromPairAndLayers::thePairGenerator
protected