Go to the documentation of this file. 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_
void getChannelTriple(unsigned index, unsigned *depth, int *ieta, unsigned *iphi) const
bool operator!=(const HBHEChannelId &r) const
static HcalSubdetector getSubdetector(unsigned depth, int ieta)
HBHEChannelId(const unsigned i_depth, const int i_ieta, const unsigned i_iphi)
std::pair< HBHEChannelId, unsigned > MapPair
unsigned find(unsigned depth, int ieta, unsigned iphi) const
bool isValidTriple(unsigned depth, int ieta, unsigned iphi) const
bool operator<(const HBHEChannelId &r) const
unsigned linearIndex(unsigned depth, int ieta, unsigned iphi) const
bool operator==(const HBHEChannelId &r) const
HBHEChannelId lookup_[ChannelCount]
const HBHELinearMap & hbheChannelMap()
std::vector< MapPair > ChannelMap