16 for (
unsigned int i = 0;
i < size();
i++) {
23 std::array<int, HcalHPDRBXMap::NUM_HPDS_PER_RBX> hpdindices;
26 rbx.
hpds_[
j].idnumber_ = hpdindices[
j];
36 return at(0).hpds_.end();
43 return at(0).hpds_.end();
55 for (std::vector<HcalNoiseHPD>::iterator it = rbx.
hpds_.begin(); it != rbx.
hpds_.end(); ++it) {
56 if (it->idnumber_ == hpdindex)
62 <<
"Could not find hpdindex " << hpdindex <<
" in HcalNoiseRBXArray::findHPDfromDetID(). This is a bug.\n";
76 for (std::vector<HcalNoiseHPD>::const_iterator it = rbx.
hpds_.begin(); it != rbx.
hpds_.end(); ++it) {
77 if (it->idnumber_ == hpdindex)
83 <<
"Could not find hpdindex " << hpdindex <<
" in HcalNoiseRBXArray::findHPDfromDetID(). This is a bug.\n";
90 return begin() + rbxindex;
96 return begin() + rbxindex;
144 std::vector<std::vector<HcalNoiseHPD>::const_iterator>& vec)
const {
153 std::vector<int> hpdindices;
155 for (std::vector<int>::const_iterator it = hpdindices.begin(); it != hpdindices.end(); ++it)
170 std::vector<int> hpdindices;
172 for (std::vector<int>::const_iterator it = hpdindices.begin(); it != hpdindices.end(); ++it)
187 std::vector<int> rbxindices;
189 for (std::vector<int>::const_iterator it = rbxindices.begin(); it != rbxindices.end(); ++it)
204 std::vector<int> rbxindices;
206 for (std::vector<int>::const_iterator it = rbxindices.begin(); it != rbxindices.end(); ++it)
static const int NUM_HPDS_PER_RBX
static int indexRBXfromHPD(int hpdindex)
virtual ~HcalNoiseRBXArray()
static void indicesHPDfromRBX(int rbxindex, std::array< int, NUM_HPDS_PER_RBX > &hpdindices)
std::vector< HcalNoiseHPD >::iterator endHPD(void)
static int indexRBX(const HcalDetId &)
static void indexHPDfromEtaPhi(int ieta, int iphi, std::vector< int > &hpdindices)
HcalNoiseRBXArray::iterator findRBX(int rbxindex)
static bool isValidRBX(int index)
static void indexRBXfromEtaPhi(int ieta, int iphi, std::vector< int > &rbxindices)
static bool isValidHPD(int index)
std::vector< HcalNoiseHPD > hpds_
std::vector< HcalNoiseHPD >::iterator findHPD(int hpdindex)
HcalNoiseRBXArray::iterator endRBX(void)
static bool isValid(const HcalDetId &)
static int indexHPD(const HcalDetId &)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.