34 std::vector<DetId>::const_iterator barrelIt;
36 for (barrelIt = barrelCells.begin(); barrelIt != barrelCells.end(); barrelIt++) {
41 int chs = (*chStatus)[*barrelIt].getStatusCode() & 0x001F;
42 if (chs <= statusThresold)
61 std::vector<DetId>::const_iterator endcapIt;
62 for (endcapIt = endcapCells.begin(); endcapIt != endcapCells.end(); endcapIt++) {
63 auto cellGeometry = endcapGeometry->
getGeometry(*endcapIt);
71 cellPos_[ix][iy] = cellGeometry->getPosition();
72 cellPhi_[ix][iy] = cellGeometry->getPosition().phi();
78 for (
int i = 0;
i < 4;
i++) {
79 int iplus1 =
i == 3 ? 0 :
i + 1;
81 cellCorners[iplus1].eta() *
float(cellCorners[
i].
phi());
94 int chs = (*chStatus)[*endcapIt].getStatusCode() & 0x001F;
95 if (chs <= statusThresold)
106 std::cout <<
"Eta ring " <<
ring <<
" : " << eta_ring << std::endl;
142 float philast = -999.;
162 for (endcapIt = endcapCells.begin(); endcapIt != endcapCells.end(); endcapIt++) {