CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes
MultiHitGeneratorFromPairAndLayers Class Referenceabstract

#include <MultiHitGeneratorFromPairAndLayers.h>

Inheritance diagram for MultiHitGeneratorFromPairAndLayers:
MultiHitGeneratorFromChi2

Public Types

typedef LayerHitMapCache LayerCacheType
 

Public Member Functions

void clear ()
 
virtual void hitSets (const TrackingRegion &region, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers)=0
 
virtual void hitTriplets (const TrackingRegion &region, OrderedMultiHits &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 > &&pairGenerator, LayerCacheType *layerCache)
 
virtual void initES (const edm::EventSetup &es)=0
 
 MultiHitGeneratorFromPairAndLayers (const edm::ParameterSet &pset)
 
const HitPairGeneratorFromLayerPairpairGenerator () const
 
virtual ~MultiHitGeneratorFromPairAndLayers ()
 

Static Public Member Functions

static void fillDescriptions (edm::ParameterSetDescription &desc)
 

Protected Types

using cacheHitPointer = std::unique_ptr< BaseTrackerRecHit >
 
using cacheHits = std::vector< cacheHitPointer >
 

Protected Attributes

cacheHits cache
 
LayerCacheTypetheLayerCache
 
const unsigned int theMaxElement
 
std::unique_ptr< HitPairGeneratorFromLayerPairthePairGenerator
 

Detailed Description

Definition at line 24 of file MultiHitGeneratorFromPairAndLayers.h.

Member Typedef Documentation

◆ cacheHitPointer

Definition at line 57 of file MultiHitGeneratorFromPairAndLayers.h.

◆ cacheHits

Definition at line 58 of file MultiHitGeneratorFromPairAndLayers.h.

◆ LayerCacheType

Definition at line 26 of file MultiHitGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

◆ MultiHitGeneratorFromPairAndLayers()

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

Definition at line 6 of file MultiHitGeneratorFromPairAndLayers.cc.

7  : theLayerCache(nullptr), theMaxElement(pset.getParameter<unsigned int>("maxElement")) {}

◆ ~MultiHitGeneratorFromPairAndLayers()

MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers ( )
virtual

Definition at line 9 of file MultiHitGeneratorFromPairAndLayers.cc.

9 {}

Member Function Documentation

◆ clear()

void MultiHitGeneratorFromPairAndLayers::clear ( void  )

Definition at line 21 of file MultiHitGeneratorFromPairAndLayers.cc.

21 { cache.clear(); }

References cache.

◆ fillDescriptions()

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

Definition at line 11 of file MultiHitGeneratorFromPairAndLayers.cc.

11  {
12  desc.add<unsigned int>("maxElement", 1000000);
13 }

References submitPVResolutionJobs::desc.

Referenced by MultiHitGeneratorFromChi2::fillDescriptions().

◆ hitSets()

virtual void MultiHitGeneratorFromPairAndLayers::hitSets ( const TrackingRegion region,
OrderedMultiHits trs,
const edm::Event ev,
const edm::EventSetup es,
SeedingLayerSetsHits::SeedingLayerSet  pairLayers,
std::vector< SeedingLayerSetsHits::SeedingLayer thirdLayers 
)
pure virtual

Implemented in MultiHitGeneratorFromChi2.

◆ hitTriplets()

virtual void MultiHitGeneratorFromPairAndLayers::hitTriplets ( const TrackingRegion region,
OrderedMultiHits result,
const edm::EventSetup es,
const HitDoublets doublets,
const RecHitsSortedInPhi **  thirdHitMap,
const std::vector< const DetLayer * > &  thirdLayerDetLayer,
const int  nThirdLayers 
)
pure virtual

Implemented in MultiHitGeneratorFromChi2.

◆ init()

void MultiHitGeneratorFromPairAndLayers::init ( std::unique_ptr< HitPairGeneratorFromLayerPair > &&  pairGenerator,
LayerCacheType layerCache 
)

◆ initES()

virtual void MultiHitGeneratorFromPairAndLayers::initES ( const edm::EventSetup es)
pure virtual

Implemented in MultiHitGeneratorFromChi2.

◆ pairGenerator()

const HitPairGeneratorFromLayerPair& MultiHitGeneratorFromPairAndLayers::pairGenerator ( ) const
inline

Definition at line 52 of file MultiHitGeneratorFromPairAndLayers.h.

52 { return *thePairGenerator; }

References thePairGenerator.

Referenced by init().

Member Data Documentation

◆ cache

cacheHits MultiHitGeneratorFromPairAndLayers::cache
protected

◆ theLayerCache

LayerCacheType* MultiHitGeneratorFromPairAndLayers::theLayerCache
protected

◆ theMaxElement

const unsigned int MultiHitGeneratorFromPairAndLayers::theMaxElement
protected

◆ thePairGenerator

std::unique_ptr<HitPairGeneratorFromLayerPair> MultiHitGeneratorFromPairAndLayers::thePairGenerator
protected
MultiHitGeneratorFromPairAndLayers::theMaxElement
const unsigned int theMaxElement
Definition: MultiHitGeneratorFromPairAndLayers.h:63
MultiHitGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition: MultiHitGeneratorFromPairAndLayers.h:52
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
MultiHitGeneratorFromPairAndLayers::cache
cacheHits cache
Definition: MultiHitGeneratorFromPairAndLayers.h:59
MultiHitGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition: MultiHitGeneratorFromPairAndLayers.h:62
MultiHitGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition: MultiHitGeneratorFromPairAndLayers.h:61
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27