#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 cms::cuda::assert(), ChannelCount, LEDCalibrationChannels::depth, mps_fire::i, LEDCalibrationChannels::ieta, inverse_, LEDCalibrationChannels::iphi, MainPageGenerator::l, lookup_, and jetUpdater_cfi::sort.
|
private |
Definition at line 21 of file HBHELinearMap.cc.
References ChannelCount, LEDCalibrationChannels::depth, first, triggerObjects_cff::id, LEDCalibrationChannels::ieta, inverse_, LEDCalibrationChannels::iphi, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and mitigatedMETSequence_cff::U.
Referenced by 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().