CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
TSGFromOrderedHits Class Reference

#include <TSGFromOrderedHits.h>

Inheritance diagram for TSGFromOrderedHits:
TrackerSeedGenerator

Public Member Functions

 TSGFromOrderedHits (const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
 
 ~TSGFromOrderedHits () override
 
- Public Member Functions inherited from TrackerSeedGenerator
const edm::EventgetEvent () const
 
virtual void init (const MuonServiceProxy *service)
 
virtual void setEvent (const edm::Event &)
 
 TrackerSeedGenerator ()
 
virtual void trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &)
 
virtual ~TrackerSeedGenerator ()
 destructor More...
 

Private Member Functions

void run (TrajectorySeedCollection &seeds, const edm::Event &ev, const edm::EventSetup &es, const TrackingRegion &region) override
 

Private Attributes

std::unique_ptr< SeedGeneratorFromRegionHitstheGenerator
 
edm::RunNumber_t theLastRun
 

Additional Inherited Members

- Public Types inherited from TrackerSeedGenerator
typedef std::vector< TrajectorySeedBTSeedCollection
 
typedef std::pair< const Trajectory *, reco::TrackRefTrackCand
 
- Protected Attributes inherited from TrackerSeedGenerator
const edm::EventtheEvent
 
const MuonServiceProxytheProxyService
 

Detailed Description

Definition at line 11 of file TSGFromOrderedHits.h.

Constructor & Destructor Documentation

◆ TSGFromOrderedHits()

TSGFromOrderedHits::TSGFromOrderedHits ( const edm::ParameterSet pset,
edm::ConsumesCollector iC 
)

Definition at line 14 of file TSGFromOrderedHits.cc.

References get, edm::ParameterSet::getParameter(), muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, and theGenerator.

14  : theLastRun(0) {
15  edm::ParameterSet hitsfactoryPSet = pset.getParameter<edm::ParameterSet>("OrderedHitsFactoryPSet");
16  std::string hitsfactoryName = hitsfactoryPSet.getParameter<std::string>("ComponentName");
17 
18  edm::ParameterSet seedCreatorPSet = pset.getParameter<edm::ParameterSet>("SeedCreatorPSet");
19  std::string seedCreatorType = seedCreatorPSet.getParameter<std::string>("ComponentName");
20 
21  theGenerator = std::make_unique<SeedGeneratorFromRegionHits>(
22  OrderedHitsGeneratorFactory::get()->create(hitsfactoryName, hitsfactoryPSet, iC),
23  nullptr,
24  SeedCreatorFactory::get()->create(seedCreatorType, seedCreatorPSet, edm::ConsumesCollector(iC)));
25 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::unique_ptr< SeedGeneratorFromRegionHits > theGenerator
edm::RunNumber_t theLastRun
#define get

◆ ~TSGFromOrderedHits()

TSGFromOrderedHits::~TSGFromOrderedHits ( )
overridedefault

Member Function Documentation

◆ run()

void TSGFromOrderedHits::run ( TrajectorySeedCollection seeds,
const edm::Event ev,
const edm::EventSetup es,
const TrackingRegion region 
)
overrideprivatevirtual

Member Data Documentation

◆ theGenerator

std::unique_ptr<SeedGeneratorFromRegionHits> TSGFromOrderedHits::theGenerator
private

Definition at line 24 of file TSGFromOrderedHits.h.

Referenced by run(), and TSGFromOrderedHits().

◆ theLastRun

edm::RunNumber_t TSGFromOrderedHits::theLastRun
private

Definition at line 23 of file TSGFromOrderedHits.h.