CMS 3D CMS Logo

BlobNoises.cc
Go to the documentation of this file.
4 void BlobNoises::fill(unsigned int id, short bsize) {
5  //short id_s = (short)id;
6  for (short i = 0; i < bsize; i++)
7  v_noises.push_back(i + 1);
8  for (unsigned int i = 0; i < id + 1; i++) {
9  DetRegistry reg;
10  reg.detid = i;
11  reg.ibegin = i;
12  reg.iend = i;
13  indexes.push_back(reg);
14  }
15 }
mps_fire.i
i
Definition: mps_fire.py:355
BlobNoises::DetRegistry::iend
uint32_t iend
Definition: BlobNoises.h:17
BlobNoises::indexes
std::vector< DetRegistry > indexes
Definition: BlobNoises.h:44
BlobNoises::fill
void fill(unsigned int id, short bsize)
Definition: BlobNoises.cc:4
BlobNoises::DetRegistry
Definition: BlobNoises.h:14
BlobNoises::BlobNoises
BlobNoises()
Definition: BlobNoises.cc:2
BlobNoises::DetRegistry::ibegin
uint32_t ibegin
Definition: BlobNoises.h:16
BlobNoises::v_noises
std::vector< short > v_noises
Definition: BlobNoises.h:43
BlobNoises.h
BlobNoises::~BlobNoises
virtual ~BlobNoises()
Definition: BlobNoises.cc:3
BlobNoises::DetRegistry::detid
uint32_t detid
Definition: BlobNoises.h:15