CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static 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, const SeedingLayerSetsHits::SeedingLayerSet &pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers)=0
 
virtual void hitTriplets (const TrackingRegion &region, OrderedHitTriplets &result, const edm::EventSetup &es, const HitDoublets &doublets, const RecHitsSortedInPhi **thirdHitMap, const std::vector< const DetLayer * > &thirdLayerDetLayer, const int nThirdLayers)=0
 
void init (std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
 
const
HitPairGeneratorFromLayerPair
pairGenerator () const
 
virtual ~HitTripletGeneratorFromPairAndLayers ()
 

Static Public Member Functions

static void fillDescriptions (edm::ParameterSetDescription &desc)
 

Protected Attributes

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

Detailed Description

Definition at line 25 of file HitTripletGeneratorFromPairAndLayers.h.

Member Typedef Documentation

Definition at line 27 of file HitTripletGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

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

Definition at line 9 of file HitTripletGeneratorFromPairAndLayers.cc.

10  : HitTripletGeneratorFromPairAndLayers(pset.getParameter<unsigned int>("maxElement")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers ( )
virtual

Definition at line 12 of file HitTripletGeneratorFromPairAndLayers.cc.

12 {}

Member Function Documentation

void HitTripletGeneratorFromPairAndLayers::fillDescriptions ( edm::ParameterSetDescription desc)
static

Definition at line 14 of file HitTripletGeneratorFromPairAndLayers.cc.

References edm::ParameterSetDescription::add().

Referenced by PixelTripletHLTGenerator::fillDescriptions(), and PixelTripletLargeTipGenerator::fillDescriptions().

14  {
15  desc.add<unsigned int>("maxElement", 1000000);
16 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
virtual void HitTripletGeneratorFromPairAndLayers::hitTriplets ( const TrackingRegion region,
OrderedHitTriplets trs,
const edm::Event ev,
const edm::EventSetup es,
const SeedingLayerSetsHits::SeedingLayerSet pairLayers,
const std::vector< SeedingLayerSetsHits::SeedingLayer > &  thirdLayers 
)
pure virtual
virtual void HitTripletGeneratorFromPairAndLayers::hitTriplets ( const TrackingRegion region,
OrderedHitTriplets result,
const edm::EventSetup es,
const HitDoublets doublets,
const RecHitsSortedInPhi **  thirdHitMap,
const std::vector< const DetLayer * > &  thirdLayerDetLayer,
const int  nThirdLayers 
)
pure virtual
void HitTripletGeneratorFromPairAndLayers::init ( std::unique_ptr< HitPairGeneratorFromLayerPair > &&  pairs,
LayerCacheType layerCache 
)

Definition at line 18 of file HitTripletGeneratorFromPairAndLayers.cc.

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

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

Definition at line 37 of file HitTripletGeneratorFromPairAndLayers.h.

References thePairGenerator.

Referenced by init().

37 { 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