42 auto sumes = consumesCollector();
69 auto barrelRechits = std::make_unique<FTLRecHitCollection>();
70 auto endcapRechits = std::make_unique<FTLRecHitCollection>();
74 barrelRechits->reserve(hBarrel->size()/2);
75 for(
const auto& uhit : *hBarrel) {
83 endcapRechits->reserve(hEndcap->
size()/2);
84 for(
const auto& uhit : *hEndcap) {
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
~MTDRecHitProducer() override
def create(alignables, pedeDump, additionalData, outputFile, config)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
MTDRecHitProducer(const edm::ParameterSet &ps)
std::vector< Variable::Flags > flags
std::unique_ptr< MTDRecHitAlgoBase > endcap_
const edm::EDGetTokenT< FTLUncalibratedRecHitCollection > ftleURecHits_
const std::string ftleInstance_
const std::string ftlbInstance_
ParameterSet const & getParameterSet(std::string const &) const
void produce(edm::Event &evt, const edm::EventSetup &es) override
std::unique_ptr< MTDRecHitAlgoBase > barrel_
const edm::EDGetTokenT< FTLUncalibratedRecHitCollection > ftlbURecHits_
T get(const Candidate &c)