FTLUncalibratedRecHitProducer::FTLUncalibratedRecHitProducer |
( |
const edm::ParameterSet & |
ps | ) |
|
|
explicit |
Definition at line 32 of file FTLUncalibratedRecHitProducer.cc.
References Reference_intrackfit_cff::barrel, barrel_, beamerCreator::create(), makeMuonMisalignmentScenario::endcap, endcap_, ftlbInstance_, ftleInstance_, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.
41 auto sumes = consumesCollector();
T getParameter(std::string const &) const
def create(alignables, pedeDump, additionalData, outputFile, config)
std::unique_ptr< FTLUncalibratedRecHitAlgoBase > endcap_
const edm::EDGetTokenT< FTLDigiCollection > ftlbDigis_
const edm::EDGetTokenT< FTLDigiCollection > ftleDigis_
const std::string ftlbInstance_
std::unique_ptr< FTLUncalibratedRecHitAlgoBase > barrel_
ParameterSet const & getParameterSet(std::string const &) const
const std::string ftleInstance_
T get(const Candidate &c)
FTLUncalibratedRecHitProducer::~FTLUncalibratedRecHitProducer |
( |
| ) |
|
|
override |
Definition at line 56 of file FTLUncalibratedRecHitProducer.cc.
References barrel_, DEFINE_FWK_MODULE, endcap_, ftlbDigis_, ftlbInstance_, ftleDigis_, ftleInstance_, edm::Event::getByToken(), eostools::move(), edm::Event::put(), and edm::SortedCollection< T, SORT >::size().
67 auto barrelRechits = std::make_unique<FTLUncalibratedRecHitCollection>();
68 auto endcapRechits = std::make_unique<FTLUncalibratedRecHitCollection>();
72 barrelRechits->reserve(hBarrel->size()/2);
73 for(
const auto& digi : *hBarrel) {
74 barrelRechits->emplace_back(
barrel_->makeRecHit(digi) );
79 endcapRechits->reserve(hEndcap->
size()/2);
80 for(
const auto& digi : *hEndcap) {
81 endcapRechits->emplace_back(
endcap_->makeRecHit(digi) );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::unique_ptr< FTLUncalibratedRecHitAlgoBase > endcap_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const edm::EDGetTokenT< FTLDigiCollection > ftlbDigis_
const edm::EDGetTokenT< FTLDigiCollection > ftleDigis_
const std::string ftlbInstance_
std::unique_ptr< FTLUncalibratedRecHitAlgoBase > barrel_
const std::string ftleInstance_
const std::string FTLUncalibratedRecHitProducer::ftlbInstance_ |
|
private |
const std::string FTLUncalibratedRecHitProducer::ftleInstance_ |
|
private |