1 #ifndef CondFormats_HcalObjects_HBHELinearMap_h_ 2 #define CondFormats_HcalObjects_HBHELinearMap_h_ 45 inline HBHEChannelId(
const unsigned i_depth,
const int i_ieta,
const unsigned i_iphi)
77 typedef std::pair<HBHEChannelId, unsigned>
MapPair;
89 #endif // CondFormats_HcalObjects_HBHELinearMap_h_ bool operator!=(const HBHEChannelId &r) const
HBHEChannelId lookup_[ChannelCount]
static HcalSubdetector getSubdetector(unsigned depth, int ieta)
bool isValidTriple(unsigned depth, int ieta, unsigned iphi) const
bool operator<(const HBHEChannelId &r) const
void getChannelTriple(unsigned index, unsigned *depth, int *ieta, unsigned *iphi) const
unsigned linearIndex(unsigned depth, int ieta, unsigned iphi) const
std::vector< MapPair > ChannelMap
unsigned find(unsigned depth, int ieta, unsigned iphi) const
bool operator==(const HBHEChannelId &r) const
HBHEChannelId(const unsigned i_depth, const int i_ieta, const unsigned i_iphi)
const HBHELinearMap & hbheChannelMap()
std::pair< HBHEChannelId, unsigned > MapPair