30 edm::LogInfo(
"RPCStripNoisesReader") <<
"[RPCStripNoisesReader::analyze] End Reading RPCStripNoises" << std::endl;
31 std::vector<RPCStripNoises::NoiseItem> vnoise = noiseRcd->
getVNoise();
32 std::vector<float> vcls = noiseRcd->
getCls();
34 for (
unsigned int n = 0;
n < vcls.size(); ++
n) {
35 std::cout <<
"Cls Value: " << vcls[
n] << std::endl;
39 for (std::vector<RPCStripNoises::NoiseItem>::iterator
it = vnoise.begin();
it != vnoise.end(); ++
it) {
41 std::cout <<
"DetId: " <<
it->dpid <<
" " <<
it->time <<
" " << std::endl;
42 std::cout <<
" Noise Value: " << (
it->noise) <<
" " << (
it->eff) << std::endl;
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
std::vector< NoiseItem > const & getVNoise() const
RPCStripNoisesRcdRead(const edm::ParameterSet &iConfig)
std::vector< float > const & getCls() const
#define DEFINE_FWK_MODULE(type)
Log< level::Info, false > LogInfo
edm::ESGetToken< RPCStripNoises, RPCStripNoisesRcd > noise_RcdToken_
~RPCStripNoisesRcdRead() override