17 for(
unsigned int i=0;
i<
size();
i++) {
24 boost::array<int, HcalHPDRBXMap::NUM_HPDS_PER_RBX> hpdindices;
27 rbx.
hpds_[
j].idnumber_=hpdindices[
j];
40 return at(0).hpds_.end();
48 return at(0).hpds_.end();
60 for(std::vector<HcalNoiseHPD>::iterator it=rbx.
hpds_.begin(); it!=rbx.
hpds_.end(); ++it) {
61 if(it->idnumber_==hpdindex)
return it;
66 <<
"Could not find hpdindex " << hpdindex <<
" in HcalNoiseRBXArray::findHPDfromDetID(). This is a bug.\n";
80 for(std::vector<HcalNoiseHPD>::const_iterator it=rbx.
hpds_.begin(); it!=rbx.
hpds_.end(); ++it) {
81 if(it->idnumber_==hpdindex)
return it;
86 <<
"Could not find hpdindex " << hpdindex <<
" in HcalNoiseRBXArray::findHPDfromDetID(). This is a bug.\n";
90 HcalNoiseRBXArray::iterator
94 return begin()+rbxindex;
97 HcalNoiseRBXArray::const_iterator
101 return begin()+rbxindex;
104 std::vector<HcalNoiseHPD>::iterator
111 std::vector<HcalNoiseHPD>::const_iterator
118 HcalNoiseRBXArray::iterator
125 HcalNoiseRBXArray::const_iterator
132 std::vector<HcalNoiseHPD>::iterator
136 std::vector<HcalNoiseHPD>::const_iterator
140 HcalNoiseRBXArray::iterator
144 HcalNoiseRBXArray::const_iterator
148 std::vector<HcalNoiseHPD>::iterator
152 std::vector<HcalNoiseHPD>::const_iterator
156 HcalNoiseRBXArray::iterator
160 HcalNoiseRBXArray::const_iterator
174 std::vector<int> hpdindices;
176 for(std::vector<int>::const_iterator it=hpdindices.begin(); it!=hpdindices.end(); ++it)
191 std::vector<int> hpdindices;
193 for(std::vector<int>::const_iterator it=hpdindices.begin(); it!=hpdindices.end(); ++it)
208 std::vector<int> rbxindices;
210 for(std::vector<int>::const_iterator it=rbxindices.begin(); it!=rbxindices.end(); ++it)
225 std::vector<int> rbxindices;
227 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()
std::vector< HcalNoiseHPD >::iterator endHPD(void)
static int indexRBX(const HcalDetId &)
HcalDetId id() const
get the id
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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
static bool isValid(const HcalDetId &)
static void indicesHPDfromRBX(int rbxindex, boost::array< int, NUM_HPDS_PER_RBX > &hpdindices)
const HcalDetId & id() const
static int indexHPD(const HcalDetId &)
tuple size
Write out results.