13 produces<std::vector<unsigned> >(
"id");
14 produces<std::vector<unsigned> >(
"subdet");
15 produces<std::vector<unsigned> >(
"strip");
16 produces<std::vector<unsigned> >(
"adc");
17 produces<std::vector<float> >(
"noise");
32 for (
auto const& digi :
set) {
33 p.id->push_back(
set.detId());
34 p.subdet->push_back((
set.detId() >> 25) & 0x7);
35 p.strip->push_back(digi.strip());
36 p.adc->push_back(digi.adc());
37 p.noise->push_back(
noises.getNoise(digi.strip(), detNoiseRange));
std::vector< edm::InputTag > inputTags
void insert(products &, edm::Event &)
ShallowDigisProducer(const edm::ParameterSet &)
bool getData(T &iHolder) const
inputTags
All input tags are specified in this pset for convenience.
bool findInput(edm::Handle< T > &, const edm::Event &)
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noisesToken_
void recordDigis(const T &, products &, const SiStripNoises &noises)
void produce(edm::Event &, const edm::EventSetup &) override
Log< level::Warning, false > LogWarning
std::pair< ContainerIterator, ContainerIterator > Range