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;
80 unsigned find(
unsigned depth,
int ieta,
unsigned iphi)
const;
89 #endif // CondFormats_HcalObjects_HBHELinearMap_h_
HBHEChannelId lookup_[ChannelCount]
static HcalSubdetector getSubdetector(unsigned depth, int ieta)
void getChannelTriple(unsigned index, unsigned *depth, int *ieta, unsigned *iphi) const
bool operator==(const HBHEChannelId &r) const
std::vector< MapPair > ChannelMap
unsigned find(unsigned depth, int ieta, unsigned iphi) const
bool isValidTriple(unsigned depth, int ieta, unsigned iphi) const
bool operator<(const HBHEChannelId &r) 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
unsigned linearIndex(unsigned depth, int ieta, unsigned iphi) const