67 auto barrelRechits = std::make_unique<FTLRecHitCollection>();
68 auto endcapRechits = std::make_unique<FTLRecHitCollection>();
72 barrelRechits->reserve(hBarrel->size()/2);
73 for(
const auto& uhit : *hBarrel) {
81 endcapRechits->reserve(hEndcap->
size()/2);
82 for(
const auto& uhit : *hEndcap) {
T getParameter(std::string const &) const
std::unique_ptr< FTLRecHitAlgoBase > endcap_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
~FTLRecHitProducer() override
def create(alignables, pedeDump, additionalData, outputFile, config)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::vector< Variable::Flags > flags
FTLRecHitProducer(const edm::ParameterSet &ps)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const std::string ftleInstance_
std::unique_ptr< FTLRecHitAlgoBase > barrel_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const edm::EDGetTokenT< FTLUncalibratedRecHitCollection > ftlbURecHits_
ParameterSet const & getParameterSet(std::string const &) const
const std::string ftlbInstance_
void produce(edm::Event &evt, const edm::EventSetup &es) override
const edm::EDGetTokenT< FTLUncalibratedRecHitCollection > ftleURecHits_
T get(const Candidate &c)