#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, hcalRecHitTable_cff::depth, mps_fire::i, hcalRecHitTable_cff::ieta, inverse_, hcalRecHitTable_cff::iphi, MainPageGenerator::l, lookup_, and jetUpdater_cfi::sort.
|
private |
Definition at line 21 of file HBHELinearMap.cc.
References ChannelCount, hcalRecHitTable_cff::depth, dqmdumpme::first, l1ctLayer2EG_cff::id, hcalRecHitTable_cff::ieta, inverse_, hcalRecHitTable_cff::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, hcalRecHitTable_cff::depth, Exception, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, and lookup_.
|
static |
Definition at line 113 of file HBHELinearMap.cc.
References funct::abs(), hcalRecHitTable_cff::depth, Exception, HcalBarrel, HcalEndcap, hcalRecHitTable_cff::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, hcalRecHitTable_cff::depth, find(), hcalRecHitTable_cff::ieta, and hcalRecHitTable_cff::iphi.
unsigned HBHELinearMap::linearIndex | ( | unsigned | depth, |
int | ieta, | ||
unsigned | iphi | ||
) | const |
Definition at line 35 of file HBHELinearMap.cc.
References ChannelCount, hcalRecHitTable_cff::depth, Exception, find(), hcalRecHitTable_cff::ieta, and hcalRecHitTable_cff::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().