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 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 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
HitPairGeneratorFromLayerPair
pairGenerator () 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
< HitPairGeneratorFromLayerPair
thePairGenerator
 

Detailed Description

Definition at line 24 of file MultiHitGeneratorFromPairAndLayers.h.

Member Typedef Documentation

Definition at line 56 of file MultiHitGeneratorFromPairAndLayers.h.

Definition at line 57 of file MultiHitGeneratorFromPairAndLayers.h.

Definition at line 26 of file MultiHitGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

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

Definition at line 6 of file MultiHitGeneratorFromPairAndLayers.cc.

7  : theLayerCache(nullptr), theMaxElement(pset.getParameter<unsigned int>("maxElement")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers ( )
virtual

Definition at line 9 of file MultiHitGeneratorFromPairAndLayers.cc.

9 {}

Member Function Documentation

void MultiHitGeneratorFromPairAndLayers::clear ( void  )

Definition at line 21 of file MultiHitGeneratorFromPairAndLayers.cc.

References cache.

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

Definition at line 11 of file MultiHitGeneratorFromPairAndLayers.cc.

References edm::ParameterSetDescription::add().

Referenced by MultiHitGeneratorFromChi2::fillDescriptions().

11  {
12  desc.add<unsigned int>("maxElement", 1000000);
13 }
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

Implemented in MultiHitGeneratorFromChi2.

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

Implemented in MultiHitGeneratorFromChi2.

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

Definition at line 15 of file MultiHitGeneratorFromPairAndLayers.cc.

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

16  {
18  theLayerCache = layerCache;
19 }
const HitPairGeneratorFromLayerPair & pairGenerator() const
def move
Definition: eostools.py:511
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
virtual void MultiHitGeneratorFromPairAndLayers::initES ( const edm::EventSetup es)
pure virtual

Implemented in MultiHitGeneratorFromChi2.

const HitPairGeneratorFromLayerPair& MultiHitGeneratorFromPairAndLayers::pairGenerator ( ) const
inline

Definition at line 51 of file MultiHitGeneratorFromPairAndLayers.h.

References thePairGenerator.

Referenced by init().

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