MTDUncalibratedRecHitProducer::MTDUncalibratedRecHitProducer |
( |
const edm::ParameterSet & |
ps | ) |
|
|
explicit |
Definition at line 32 of file MTDUncalibratedRecHitProducer.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
const edm::EDGetTokenT< ETLDigiCollection > ftleDigis_
def create(alignables, pedeDump, additionalData, outputFile, config)
const std::string ftlbInstance_
const std::string ftleInstance_
const edm::EDGetTokenT< BTLDigiCollection > ftlbDigis_
std::unique_ptr< MTDUncalibratedRecHitAlgoBase > barrel_
std::unique_ptr< MTDUncalibratedRecHitAlgoBase > endcap_
ParameterSet const & getParameterSet(std::string const &) const
T get(const Candidate &c)
MTDUncalibratedRecHitProducer::~MTDUncalibratedRecHitProducer |
( |
| ) |
|
|
override |
Definition at line 56 of file MTDUncalibratedRecHitProducer.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().
66 auto barrelRechits = std::make_unique<FTLUncalibratedRecHitCollection>();
67 auto endcapRechits = std::make_unique<FTLUncalibratedRecHitCollection>();
71 barrelRechits->reserve(hBarrel->size()/2);
72 for(
const auto& digi : *hBarrel) {
73 barrelRechits->emplace_back(
barrel_->makeRecHit(digi) );
78 endcapRechits->reserve(hEndcap->
size()/2);
79 for(
const auto& digi : *hEndcap) {
80 endcapRechits->emplace_back(
endcap_->makeRecHit(digi) );
const edm::EDGetTokenT< ETLDigiCollection > ftleDigis_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const std::string ftlbInstance_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const std::string ftleInstance_
const edm::EDGetTokenT< BTLDigiCollection > ftlbDigis_
std::unique_ptr< MTDUncalibratedRecHitAlgoBase > barrel_
std::unique_ptr< MTDUncalibratedRecHitAlgoBase > endcap_
const std::string MTDUncalibratedRecHitProducer::ftlbInstance_ |
|
private |
const std::string MTDUncalibratedRecHitProducer::ftleInstance_ |
|
private |