|
|
Go to the documentation of this file.
31 if (absieta <= 29 && absieta >= 1 &&
iphi >= 1 &&
iphi <= 72) {
34 if (absieta >= 21 &&
iphi % 2 == 1)
44 <<
" HPD index " <<
index <<
" is invalid in HcalHPDRBXMap::subdetHPD().\n";
56 <<
" RBX index " <<
index <<
" is invalid in HcalHPDRBXMap::subdetRBX().\n";
68 <<
" HPD index " <<
index <<
" is invalid in HcalHPDRBXMap::zsideHPD().\n";
80 <<
" RBX index " <<
index <<
" is invalid in HcalHPDRBXMap::zsideRBX().\n";
92 <<
" HPD index " <<
index <<
" is invalid in HcalHPDRBXMap::iphiloHPD().\n";
116 <<
" RBX index " <<
index <<
" is invalid in HcalHPDRBXMap::iphiloRBX().\n";
119 std::array<int, NUM_HPDS_PER_RBX> arr;
130 <<
" HPD index " <<
index <<
" is invalid in HcalHPDRBXMap::iphihiHPD().\n";
154 <<
" RBX index " <<
index <<
" is invalid in HcalHPDRBXMap::iphihiRBX().\n";
157 std::array<int, NUM_HPDS_PER_RBX> arr;
168 <<
" RBX index " << rbxindex <<
" is invalid in HcalHPDRBXMap::indicesHPD().\n";
170 for (
unsigned int i = 0;
i < hpdindices.size();
i++)
180 <<
" HPD index " << hpdindex <<
" is invalid in HcalHPDRBXMap::indexRBX().\n";
190 <<
" HcalDetId " <<
id <<
" is invalid in HcalHPDRBXMap::indexHPD().\n";
204 int iphi =
id.iphi();
216 if ((subdet == 2 || subdet == 3) && absieta >= 21 && absieta <= 29) {
217 if (
iphi % 4 == 3 && absieta % 2 == 1 && absieta != 29)
219 if (
iphi % 4 == 3 && absieta == 29 &&
id.
depth() == 2)
221 if (
iphi % 4 == 1 && absieta % 2 == 0 && absieta != 29)
223 if (
iphi % 4 == 1 && absieta == 29 &&
id.
depth() == 1)
238 }
else if (absieta == 16) {
241 }
else if (absieta < 29) {
258 }
else if (absieta == 16) {
static int zsideHPD(int index)
static void indicesHPDfromRBX(int rbxindex, std::array< int, NUM_HPDS_PER_RBX > &hpdindices)
static int iphiloHPD(int index)
const static int NUM_HPDS_PER_RBX
const static int NUM_HPDS
static HcalSubdetector subdetRBX(int index)
static int iphihiRBX(int index)
static int iphihiHPD(int index)
static int iphiloRBX(int index)
static int zsideRBX(int index)
static HcalSubdetector subdetHPD(int index)
static bool isValidHPD(int index)
static int indexRBX(const HcalDetId &)
static void indexRBXfromEtaPhi(int ieta, int iphi, std::vector< int > &rbxindices)
static void indexHPDfromEtaPhi(int ieta, int iphi, std::vector< int > &hpdindices)
const static int NUM_RBXS_PER_SUBDET
const static int NUM_HPDS_PER_SUBDET
static bool isValid(const HcalDetId &)
const static int NUM_RBXS
Abs< T >::type abs(const T &t)
static int indexRBXfromHPD(int hpdindex)
static bool isValidRBX(int index)
static int indexHPD(const HcalDetId &)