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 19 of file MultiHitGeneratorFromPairAndLayers.h.

Member Typedef Documentation

Definition at line 52 of file MultiHitGeneratorFromPairAndLayers.h.

Definition at line 53 of file MultiHitGeneratorFromPairAndLayers.h.

Definition at line 22 of file MultiHitGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

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

Definition at line 6 of file MultiHitGeneratorFromPairAndLayers.cc.

6  :
7  theLayerCache(nullptr),
8  theMaxElement(pset.getParameter<unsigned int>("maxElement"))
9 {}
T getParameter(std::string const &) const
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers ( )
virtual

Definition at line 11 of file MultiHitGeneratorFromPairAndLayers.cc.

11 {}

Member Function Documentation

void MultiHitGeneratorFromPairAndLayers::clear ( void  )

Definition at line 22 of file MultiHitGeneratorFromPairAndLayers.cc.

References cache.

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

Definition at line 13 of file MultiHitGeneratorFromPairAndLayers.cc.

References edm::ParameterSetDescription::add().

Referenced by MultiHitGeneratorFromChi2::fillDescriptions().

13  {
14  desc.add<unsigned int>("maxElement", 1000000);
15 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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
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
void MultiHitGeneratorFromPairAndLayers::init ( std::unique_ptr< HitPairGeneratorFromLayerPair > &&  pairGenerator,
LayerCacheType layerCache 
)

Definition at line 17 of file MultiHitGeneratorFromPairAndLayers.cc.

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

17  {
19  theLayerCache = layerCache;
20 }
const HitPairGeneratorFromLayerPair & pairGenerator() const
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
def move(src, dest)
Definition: eostools.py:510
virtual void MultiHitGeneratorFromPairAndLayers::initES ( const edm::EventSetup es)
pure virtual
const HitPairGeneratorFromLayerPair& MultiHitGeneratorFromPairAndLayers::pairGenerator ( ) const
inline

Definition at line 47 of file MultiHitGeneratorFromPairAndLayers.h.

References hitfit::clear().

Referenced by init().

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

Member Data Documentation

cacheHits MultiHitGeneratorFromPairAndLayers::cache
protected
LayerCacheType* MultiHitGeneratorFromPairAndLayers::theLayerCache
protected
const unsigned int MultiHitGeneratorFromPairAndLayers::theMaxElement
protected
std::unique_ptr<HitPairGeneratorFromLayerPair> MultiHitGeneratorFromPairAndLayers::thePairGenerator
protected