13 produces<unsigned int>();
23 std::vector<edm::Handle<edm::DetSetVector<SiStripDigi> > > di;
27 unsigned int digiadc = 0;
31 for (std::vector<SiStripDigi>::const_iterator vit = (it->data).begin(); vit != (it->data).
end(); vit++)
32 digiadc += vit->adc();
37 unsigned int amplclus = 0;
39 for (std::vector<SiStripCluster>::const_iterator vit = (it->data).begin(); vit != (it->data).
end(); vit++) {
40 for (
auto ia = vit->amplitudes().begin(); ia != vit->amplitudes().end(); ia++) {
48 e.
put(std::make_unique<unsigned int>(amplclus));
49 e.
put(std::make_unique<int>(decision));
unsigned int ChargeThreshold
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EventSetup & c
MTCCHLTrigger(const edm::ParameterSet &ps)
std::string clusterProducer
void getManyByType(std::vector< Handle< PROD >> &results) const
bool filter(edm::Event &e, edm::EventSetup const &c) override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T getParameter(std::string const &) const
iterator begin()
Return an iterator to the first DetSet.
collection_type::const_iterator const_iterator
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.