Go to the documentation of this file.
16 #include "boost/bind.hpp"
28 produces<edm::DetSetVector<SiStripProcessedRawDigi> >(
"");
41 if (
"VirginRaw" ==
label)
43 else if (
"ProcessedRaw" ==
label)
66 return "Input Not Found";
71 std::vector<float> digis;
75 digis.resize(digi->strip(), 0);
76 digis.push_back(digi->adc());
85 std::vector<float> digis;
95 std::vector<int16_t> int_digis(detset->size());
97 std::vector<float> digis(int_digis.begin(), int_digis.end());
104 std::vector<float>& digis,
108 for (std::vector<float>::iterator it = digis.begin(); it < digis.end(); ++it)
113 copy(digis.begin(), digis.end(), back_inserter(ds.
data));
static std::unique_ptr< SiStripPedestalsSubtractor > create_SubtractorPed(const edm::ParameterSet &)
static const std::string input
void vr_process(const edm::DetSetVector< SiStripRawDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
void zs_process(const edm::DetSetVector< SiStripDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
static float getStripGain(const uint16_t &strip, const SiStripApvGain::Range &range)
std::vector< edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > > inputTokensDigi
std::vector< edm::InputTag > inputTags
const SiStripApvGain::Range getRange(uint32_t detID) const
inputTags
All input tags are specified in this pset for convenience.
std::unique_ptr< SiStripPedestalsSubtractor > subtractorPed
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
void produce(edm::Event &e, const edm::EventSetup &es) override
std::vector< edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > > inputTokensRawDigi
std::unique_ptr< SiStripCommonModeNoiseSubtractor > subtractorCMN
collection_type::const_iterator const_iterator
void pr_process(const edm::DetSetVector< SiStripRawDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
edm::ESHandle< SiStripGain > gainHandle
static std::unique_ptr< SiStripCommonModeNoiseSubtractor > create_SubtractorCMN(const edm::ParameterSet &)
std::pair< ContainerIterator, ContainerIterator > Range
void common_process(const uint32_t, std::vector< float > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
SiStripProcessedRawDigiProducer(edm::ParameterSet const &)
std::string findInput(edm::Handle< T > &handle, const std::vector< edm::EDGetTokenT< T > > &tokens, const edm::Event &e)
collection_type::const_iterator const_iterator