CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CondFormats/Calibration/src/BlobNoises.cc

Go to the documentation of this file.
00001 #include "CondFormats/Calibration/interface/BlobNoises.h"
00002 BlobNoises::BlobNoises(){}
00003 BlobNoises::~BlobNoises(){}
00004 void BlobNoises::fill(unsigned int id, short bsize){
00005   //short id_s = (short)id;
00006   for(short i=0;i<bsize;i++) v_noises.push_back(i+1);
00007   for(unsigned int i=0;i<id+1;i++) {
00008     DetRegistry reg;
00009     reg.detid = i;
00010     reg.ibegin = i;
00011     reg.iend = i;
00012     indexes.push_back(reg);
00013   }
00014 }