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) {
79 endcapRechits->reserve(hEndcap->
size()/2);
80 for(
const auto& digi : *hEndcap) {
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
def create(alignables, pedeDump, additionalData, outputFile, config)
std::unique_ptr< FTLUncalibratedRecHitAlgoBase > endcap_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~FTLUncalibratedRecHitProducer()
#define DEFINE_FWK_MODULE(type)
FTLUncalibratedRecHitProducer(const edm::ParameterSet &ps)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::EDGetTokenT< FTLDigiCollection > ftlbDigis_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
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_
virtual void produce(edm::Event &evt, const edm::EventSetup &es) override
T get(const Candidate &c)