14 produces <unsigned int>();
24 std::vector< edm::Handle< edm::DetSetVector<SiStripDigi> > > di;
28 unsigned int digiadc=0;
31 for(std::vector<SiStripDigi>::const_iterator vit=(it->data).begin(); vit!=(it->data).
end(); vit++) digiadc += vit->adc();
36 unsigned int amplclus=0;
38 for(std::vector<SiStripCluster>::const_iterator vit=(it->data).begin(); vit!=(it->data).
end(); vit++){
39 for(
auto ia=vit->amplitudes().begin(); ia!=vit->amplitudes().end(); ia++)
41 if ((*ia)>0){ amplclus+=(*ia); }
46 e.
put(std::make_unique<unsigned int>(amplclus));
47 e.
put(std::make_unique<int>(decision));
void getManyByType(std::vector< Handle< PROD > > &results) const
T getParameter(std::string const &) const
unsigned int ChargeThreshold
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
MTCCHLTrigger(const edm::ParameterSet &ps)
std::string clusterProducer
virtual bool filter(edm::Event &e, edm::EventSetup const &c)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
iterator begin()
Return an iterator to the first DetSet.
collection_type::const_iterator const_iterator