CMS 3D CMS Logo

TSGFromOrderedHits.cc
Go to the documentation of this file.
1 #include "TSGFromOrderedHits.h"
2 
8 
11 
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 }
24 
26 
28  const edm::Event &ev,
29  const edm::EventSetup &es,
30  const TrackingRegion &region) {
31  theGenerator->run(seeds, region, ev, es);
32 }
SeedCreatorFactory.h
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition: TrajectorySeedCollection.h:6
SeedGeneratorFromRegionHits.h
TSGFromOrderedHits::theGenerator
std::unique_ptr< SeedGeneratorFromRegionHits > theGenerator
Definition: TSGFromOrderedHits.h:25
TSGFromOrderedHits::~TSGFromOrderedHits
~TSGFromOrderedHits() override
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition: beamerCreator.py:44
TSGFromOrderedHits::TSGFromOrderedHits
TSGFromOrderedHits(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
Definition: TSGFromOrderedHits.cc:12
TSGFromOrderedHits.h
TSGFromOrderedHits::run
void run(TrajectorySeedCollection &seeds, const edm::Event &ev, const edm::EventSetup &es, const TrackingRegion &region) override
Definition: TSGFromOrderedHits.cc:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:231
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
OrderedHitsGeneratorFactory.h
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
edm::EventSetup
Definition: EventSetup.h:58
get
#define get
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TrackingRegion
Definition: TrackingRegion.h:41
TrackingRegion.h
edm::Event
Definition: Event.h:73
RunID.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
OrderedHitsGenerator.h