31 unsigned iDCC(
dccId(_id) - 1);
32 if(iDCC <= kEEmHigh || iDCC >=
kEEpLow){
35 2010000000UL + 1000000 * (eeid.
positiveZ() ? 2 : 0) + 1000 * eeid.
ix() + eeid.
iy(),
42 1011000000UL + 10000 * ism + ebid.
ic(),
50 unsigned iDCC(_id.
dccId() - 1);
51 if(iDCC <= kEEmHigh || iDCC >=
kEEpLow){
53 2110000000UL + 100 * (601 + iDCC) + _id.
towerId(),
59 1021000000UL + 10000 * ism + _id.
towerId(),
68 unsigned iDCC(_id.
iDCCId() - 1);
69 int memId((_id.
iPnId() - 1) % 5 + ((_id.
iPnId() - 1) / 5) * 25 + 1);
70 if(iDCC <= kEEmHigh || iDCC >=
kEEpLow){
72 100 * (601 + iDCC) + memId,
78 1191000000UL + 10000 * ism + memId,
86 unsigned iDCC(_id.
dccId() - 1);
87 if(iDCC <= kEEmHigh || iDCC >=
kEEpLow){
89 100 * (601 + iDCC) + _id.
towerId(),
95 1181000000UL + 10000 * ism + _id.
towerId(),
103 unsigned iDCC(_id.
iDCCId() - 1);
104 int pnid(_id.
iPnId());
105 if(iDCC <= kEEmHigh || iDCC >=
kEEpLow){
107 100 * (601 + iDCC) + pnid,
113 1131000000UL + 10000 * ism + pnid,
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
int towerId() const
get the tower id
int iPnId() const
get the PnId
EcalLogicID memChannelID(EcalPnDiodeDetId const &)
DetId toDetId(EcalLogicID const &)
int iDCCId() const
get the DCCId
int dccId() const
get the DCC (Ecal Local DCC value not global one) id
int ic() const
get ECAL/crystal number inside SM
EcalLogicID lmPNID(EcalPnDiodeDetId const &)
EcalLogicID subdetID(EcalSubdetector)
EcalLogicID towerID(EcalElectronicsId const &)
EcalLogicID memTowerID(EcalElectronicsId const &)
int ism(int ieta, int iphi)
unsigned dccId(DetId const &)
EcalLogicID crystalID(DetId const &)