#include <HBHELinearMap.h>
Classes | |
class | HBHEChannelId |
Public Types | |
enum | { ChannelCount = 5184U } |
Public Member Functions | |
void | getChannelTriple (unsigned index, unsigned *depth, int *ieta, unsigned *iphi) const |
HBHELinearMap () | |
bool | isValidTriple (unsigned depth, int ieta, unsigned iphi) const |
unsigned | linearIndex (unsigned depth, int ieta, unsigned iphi) const |
Static Public Member Functions | |
static HcalSubdetector | getSubdetector (unsigned depth, int ieta) |
Private Types | |
typedef std::vector< MapPair > | ChannelMap |
typedef std::pair< HBHEChannelId, unsigned > | MapPair |
Private Member Functions | |
unsigned | find (unsigned depth, int ieta, unsigned iphi) const |
Private Attributes | |
ChannelMap | inverse_ |
HBHEChannelId | lookup_ [ChannelCount] |
Definition at line 16 of file HBHELinearMap.h.
|
private |
Definition at line 78 of file HBHELinearMap.h.
|
private |
Definition at line 77 of file HBHELinearMap.h.
anonymous enum |
Enumerator | |
---|---|
ChannelCount |
Definition at line 18 of file HBHELinearMap.h.
HBHELinearMap::HBHELinearMap | ( | ) |
Definition at line 44 of file HBHELinearMap.cc.
References ChannelCount, LEDCalibrationChannels::depth, mps_fire::i, LEDCalibrationChannels::ieta, inverse_, LEDCalibrationChannels::iphi, cmsLHEtoEOSManager::l, and lookup_.
|
private |
Definition at line 21 of file HBHELinearMap.cc.
References ChannelCount, dqmdumpme::first, triggerObjects_cff::id, inverse_, and mitigatedMETSequence_cff::U.
Referenced by BeautifulSoup.Tag::__getattr__(), BeautifulSoup.Tag::firstText(), isValidTriple(), and linearIndex().
void HBHELinearMap::getChannelTriple | ( | unsigned | index, |
unsigned * | depth, | ||
int * | ieta, | ||
unsigned * | iphi | ||
) | const |
Definition at line 7 of file HBHELinearMap.cc.
References ChannelCount, HBHELinearMap::HBHEChannelId::depth(), Exception, and lookup_.
|
static |
Definition at line 113 of file HBHELinearMap.cc.
References funct::abs(), Exception, HcalBarrel, HcalEndcap, and mitigatedMETSequence_cff::U.
bool HBHELinearMap::isValidTriple | ( | unsigned | depth, |
int | ieta, | ||
unsigned | iphi | ||
) | const |
Definition at line 30 of file HBHELinearMap.cc.
References ChannelCount, and find().
unsigned HBHELinearMap::linearIndex | ( | unsigned | depth, |
int | ieta, | ||
unsigned | iphi | ||
) | const |
Definition at line 35 of file HBHELinearMap.cc.
References ChannelCount, Exception, and find().
Referenced by HcalInterpolatedPulseColl::getChannelPulse().
|
private |
Definition at line 83 of file HBHELinearMap.h.
Referenced by find(), and HBHELinearMap().
|
private |
Definition at line 82 of file HBHELinearMap.h.
Referenced by getChannelTriple(), and HBHELinearMap().