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

Member Typedef Documentation

Definition at line 22 of file HitTripletGeneratorFromPairAndLayers.h.

Constructor & Destructor Documentation

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

Definition at line 11 of file HitTripletGeneratorFromPairAndLayers.cc.

11  :
12  HitTripletGeneratorFromPairAndLayers(pset.getParameter<unsigned int>("maxElement"))
13 {}
T getParameter(std::string const &) const
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers ( )
virtual

Definition at line 15 of file HitTripletGeneratorFromPairAndLayers.cc.

15 {}

Member Function Documentation

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

Definition at line 17 of file HitTripletGeneratorFromPairAndLayers.cc.

References edm::ParameterSetDescription::add().

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

17  {
18  desc.add<unsigned int>("maxElement", 1000000);
19 }
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 21 of file HitTripletGeneratorFromPairAndLayers.cc.

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

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

Definition at line 32 of file HitTripletGeneratorFromPairAndLayers.h.

References HiRegitMuonDetachedTripletStep_cff::doublets, ev, and mps_fire::result.

Referenced by init().

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