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 std::auto_ptr< unsigned int >
output(
new unsigned int(amplclus) );
47 std::auto_ptr< int > output_dec(
new int(decision) );
void getManyByType(std::vector< Handle< PROD > > &results) const
T getParameter(std::string const &) const
unsigned int ChargeThreshold
MTCCHLTrigger(const edm::ParameterSet &ps)
std::string clusterProducer
virtual bool filter(edm::Event &e, edm::EventSetup const &c)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
iterator begin()
Return an iterator to the first DetSet.
collection_type::const_iterator const_iterator