CMS 3D CMS Logo

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 (const edm::ParameterSet &pset)
 
 HitTripletGeneratorFromPairAndLayers (unsigned int maxElement=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
 
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
 
void init (std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
 
const HitPairGeneratorFromLayerPairpairGenerator () const
 
virtual ~HitTripletGeneratorFromPairAndLayers ()
 

Static Public Member Functions

static void fillDescriptions (edm::ParameterSetDescription &desc)
 

Protected Attributes

LayerCacheTypetheLayerCache
 
const unsigned int theMaxElement
 
std::unique_ptr< HitPairGeneratorFromLayerPairthePairGenerator
 

Detailed Description

Definition at line 25 of file HitTripletGeneratorFromPairAndLayers.h.

Member Typedef Documentation

◆ LayerCacheType

Definition at line 27 of file HitTripletGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

◆ HitTripletGeneratorFromPairAndLayers() [1/2]

HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers ( unsigned int  maxElement = 0)
explicit

Definition at line 6 of file HitTripletGeneratorFromPairAndLayers.cc.

◆ HitTripletGeneratorFromPairAndLayers() [2/2]

HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers ( const edm::ParameterSet pset)
explicit

Definition at line 9 of file HitTripletGeneratorFromPairAndLayers.cc.

10  : HitTripletGeneratorFromPairAndLayers(pset.getParameter<unsigned int>("maxElement")) {}

◆ ~HitTripletGeneratorFromPairAndLayers()

HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers ( )
virtual

Definition at line 12 of file HitTripletGeneratorFromPairAndLayers.cc.

12 {}

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 14 of file HitTripletGeneratorFromPairAndLayers.cc.

14  {
15  desc.add<unsigned int>("maxElement", 1000000);
16 }

References edm::ParameterSetDescription::add().

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

◆ hitTriplets() [1/2]

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

◆ hitTriplets() [2/2]

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

◆ init()

void HitTripletGeneratorFromPairAndLayers::init ( std::unique_ptr< HitPairGeneratorFromLayerPair > &&  pairs,
LayerCacheType layerCache 
)

◆ pairGenerator()

const HitPairGeneratorFromLayerPair& HitTripletGeneratorFromPairAndLayers::pairGenerator ( ) const
inline

Definition at line 37 of file HitTripletGeneratorFromPairAndLayers.h.

37 { return *thePairGenerator; }

References thePairGenerator.

Referenced by init().

Member Data Documentation

◆ theLayerCache

LayerCacheType* HitTripletGeneratorFromPairAndLayers::theLayerCache
protected

◆ theMaxElement

const unsigned int HitTripletGeneratorFromPairAndLayers::theMaxElement
protected

◆ thePairGenerator

std::unique_ptr<HitPairGeneratorFromLayerPair> HitTripletGeneratorFromPairAndLayers::thePairGenerator
protected
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
HitTripletGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition: HitTripletGeneratorFromPairAndLayers.h:37
HitTripletGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition: HitTripletGeneratorFromPairAndLayers.h:55
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0)
Definition: HitTripletGeneratorFromPairAndLayers.cc:6
HitTripletGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition: HitTripletGeneratorFromPairAndLayers.h:56
eostools.move
def move(src, dest)
Definition: eostools.py:511
HitTripletGeneratorFromPairAndLayers::theMaxElement
const unsigned int theMaxElement
Definition: HitTripletGeneratorFromPairAndLayers.h:57
HLT_2018_cff.maxElement
maxElement
Definition: HLT_2018_cff.py:8533
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27