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 12 of file TSGFromOrderedHits.h.

Constructor & Destructor Documentation

◆ TSGFromOrderedHits()

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

Definition at line 12 of file TSGFromOrderedHits.cc.

12  : theLastRun(0) {
13  edm::ParameterSet hitsfactoryPSet = pset.getParameter<edm::ParameterSet>("OrderedHitsFactoryPSet");
14  std::string hitsfactoryName = hitsfactoryPSet.getParameter<std::string>("ComponentName");
15 
16  edm::ParameterSet seedCreatorPSet = pset.getParameter<edm::ParameterSet>("SeedCreatorPSet");
17  std::string seedCreatorType = seedCreatorPSet.getParameter<std::string>("ComponentName");
18 
19  theGenerator = std::make_unique<SeedGeneratorFromRegionHits>(
20  OrderedHitsGeneratorFactory::get()->create(hitsfactoryName, hitsfactoryPSet, iC),
21  nullptr,
22  SeedCreatorFactory::get()->create(seedCreatorType, seedCreatorPSet));
23 }

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

◆ ~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

Reimplemented from TrackerSeedGenerator.

Definition at line 27 of file TSGFromOrderedHits.cc.

30  {
31  theGenerator->run(seeds, region, ev, es);
32 }

References ev, HLT_FULL_cff::region, InitialStep_cff::seeds, and theGenerator.

Member Data Documentation

◆ theGenerator

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

Definition at line 25 of file TSGFromOrderedHits.h.

Referenced by run(), and TSGFromOrderedHits().

◆ theLastRun

edm::RunNumber_t TSGFromOrderedHits::theLastRun
private

Definition at line 24 of file TSGFromOrderedHits.h.

TSGFromOrderedHits::theGenerator
std::unique_ptr< SeedGeneratorFromRegionHits > theGenerator
Definition: TSGFromOrderedHits.h:25
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition: beamerCreator.py:44
TSGFromOrderedHits::theLastRun
edm::RunNumber_t theLastRun
Definition: TSGFromOrderedHits.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:231
edm::ParameterSet
Definition: ParameterSet.h:47
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88267
get
#define get
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27