#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 |
HBHELinearMap::HBHELinearMap | ( | ) |
Definition at line 44 of file HBHELinearMap.cc.
References cms::cuda::assert(), 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, LEDCalibrationChannels::depth, dqmdumpme::first, triggerObjects_cff::id, LEDCalibrationChannels::ieta, inverse_, LEDCalibrationChannels::iphi, cuda_std::lower_bound(), 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, LEDCalibrationChannels::depth, Exception, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and lookup_.
|
static |
Definition at line 113 of file HBHELinearMap.cc.
References funct::abs(), LEDCalibrationChannels::depth, Exception, HcalBarrel, HcalEndcap, LEDCalibrationChannels::ieta, and mitigatedMETSequence_cff::U.
bool HBHELinearMap::isValidTriple | ( | unsigned | depth, |
int | ieta, | ||
unsigned | iphi | ||
) | const |
Definition at line 30 of file HBHELinearMap.cc.
References ChannelCount, LEDCalibrationChannels::depth, find(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
unsigned HBHELinearMap::linearIndex | ( | unsigned | depth, |
int | ieta, | ||
unsigned | iphi | ||
) | const |
Definition at line 35 of file HBHELinearMap.cc.
References ChannelCount, LEDCalibrationChannels::depth, Exception, find(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
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().