Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [2:0] xtal Index starts from 1. More...
#include <EcalElectronicsId.h>
Public Member Functions | |
int | channelId () const |
so far for EndCap only : More... | |
int | dccId () const |
get the DCC (Ecal Local DCC value not global one) id More... | |
EcalElectronicsId () | |
EcalElectronicsId (uint32_t) | |
EcalElectronicsId (int dccid, int towerid, int stripid, int xtalid) | |
int | linearIndex () const |
get a fast, compact, unique index for linear lookups (maximum value = 4194303) More... | |
int | operator!= (const EcalElectronicsId &id) const |
uint32_t | operator() () |
int | operator< (const EcalElectronicsId &id) const |
Compare the id to another id for use in a map. More... | |
int | operator== (const EcalElectronicsId &id) const |
uint32_t | rawId () const |
int | stripId () const |
get the tower id More... | |
EcalSubdetector | subdet () const |
get the subdet More... | |
int | towerId () const |
get the tower id More... | |
int | xtalId () const |
get the channel id More... | |
int | zside () const |
zside = +1 or -1 More... | |
Static Public Attributes | |
static const int | DCC_EBM = 10 |
static const int | DCC_EBP = 28 |
static const int | DCC_EEM = 1 |
static const int | DCC_EEP = 46 |
static const int | DCCID_PHI0_EBM = 10 |
static const int | DCCID_PHI0_EBP = 28 |
static const int | kDCCChannelBoundary = 17 |
static const int | MAX_CHANNELID = 25 |
static const int | MAX_DCCID = 54 |
static const int | MAX_DCCID_EBM = 27 |
static const int | MAX_DCCID_EBP = 45 |
static const int | MAX_DCCID_EEM = 9 |
static const int | MAX_DCCID_EEP = 54 |
static const int | MAX_STRIPID = 5 |
static const int | MAX_TOWERID = 70 |
static const int | MAX_XTALID = 5 |
static const int | MIN_CHANNELID = 1 |
static const int | MIN_DCCID = 1 |
static const int | MIN_DCCID_EBM = 10 |
static const int | MIN_DCCID_EBP = 28 |
static const int | MIN_DCCID_EEM = 1 |
static const int | MIN_DCCID_EEP = 46 |
static const int | MIN_STRIPID = 1 |
static const int | MIN_TOWERID = 1 |
static const int | MIN_XTALID = 1 |
Private Attributes | |
uint32_t | EcalElectronicsId_ |
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [2:0] xtal Index starts from 1.
Definition at line 20 of file EcalElectronicsId.h.
EcalElectronicsId::EcalElectronicsId | ( | ) |
Default constructor – invalid value
Definition at line 6 of file EcalElectronicsId.cc.
References EcalElectronicsId_.
EcalElectronicsId::EcalElectronicsId | ( | uint32_t | id | ) |
EcalElectronicsId::EcalElectronicsId | ( | int | dccid, |
int | towerid, | ||
int | stripid, | ||
int | xtalid | ||
) |
Constructor from dcc,tower,channel
Definition at line 14 of file EcalElectronicsId.cc.
References EcalElectronicsId_, edm::hlt::Exception, MAX_DCCID, MAX_STRIPID, MAX_TOWERID, MAX_XTALID, MIN_DCCID, MIN_STRIPID, MIN_TOWERID, and MIN_XTALID.
int EcalElectronicsId::channelId | ( | ) | const |
so far for EndCap only :
Definition at line 70 of file EcalElectronicsId.cc.
References dccId(), EEQuadrant(), stripId(), towerId(), and xtalId().
Referenced by EcalABAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
|
inline |
get the DCC (Ecal Local DCC value not global one) id
Definition at line 35 of file EcalElectronicsId.h.
References EcalElectronicsId_.
Referenced by EcalPulseShapeGrapher::analyze(), EcalTPGParamBuilder::analyze(), EcalURecHitHists::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), channelId(), ecaldqm::binning::channelName(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), EcalElectronicsMapping::MapItem::dccId(), TowerBlockFormatter::DigiToRaw(), ecaldqm::binning::findBinSuperCrystal_(), ecaldqm::binning::findPlotIndex(), EcalElectronicsMapping::getDCCandSC(), EcalMipGraphs::getEEIndex(), EcalDisplaysByEvent::getEEIndex(), EcalElectronicsMapping::getLMNumber(), popcon::EcalChannelStatusHandler::laserAnalysis(), EcalDisplaysByEvent::makeHistos(), ecaldqm::memTowerID(), popcon::EcalChannelStatusHandler::nBadLaserModules(), popcon::EcalChannelStatusHandler::pedAnalysis(), printStatusRecords(), EcalDigiToRaw::produce(), EcalPedOffset::readDACs(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), EcalSelectiveReadoutValidation::readOutUnitOf(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalMipGraphs::selectHits(), EcalDisplaysByEvent::selectHits(), subdet(), ecaldqm::towerID(), and zside().
|
inline |
get a fast, compact, unique index for linear lookups (maximum value = 4194303)
Definition at line 50 of file EcalElectronicsId.h.
References EcalElectronicsId_.
|
inline |
Non-Equality operator
Definition at line 88 of file EcalElectronicsId.h.
References EcalElectronicsId_.
|
inline |
|
inline |
Compare the id to another id for use in a map.
Definition at line 90 of file EcalElectronicsId.h.
References EcalElectronicsId_.
|
inline |
|
inline |
Definition at line 32 of file EcalElectronicsId.h.
References EcalElectronicsId_.
Referenced by EcalTrivialConditionRetriever::getMappingFromConfiguration(), EcalMappingElectronicsHandler::getNewObjects(), and ecaldqm::binning::idFromName().
|
inline |
get the tower id
Definition at line 39 of file EcalElectronicsId.h.
References EcalElectronicsId_.
Referenced by EcalABAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), channelId(), ecaldqm::binning::channelName(), EcalDccWeightBuilder::dbId(), TowerBlockFormatter::DigiToRaw(), EcalElectronicsMapper::fillMaps(), EcalMipGraphs::getEEIndex(), EcalDisplaysByEvent::getEEIndex(), printStatusRecords(), and EcalElectronicsMapping::MapItem::stripId().
EcalSubdetector EcalElectronicsId::subdet | ( | ) | const |
get the subdet
Definition at line 24 of file EcalElectronicsId.cc.
References dccId(), EcalBarrel, EcalEndcap, MAX_DCCID_EBM, MAX_DCCID_EBP, MIN_DCCID_EBM, and MIN_DCCID_EBP.
Referenced by EcalElectronicsMapping::getElectronicsId(), and EcalDetIdToBeRecoveredProducer::produce().
|
inline |
get the tower id
Definition at line 37 of file EcalElectronicsId.h.
References EcalElectronicsId_.
Referenced by EcalABAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), channelId(), ecaldqm::binning::channelName(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), TowerBlockFormatter::DigiToRaw(), ecaldqm::binning::findBinSuperCrystal_(), EcalElectronicsMapping::getDCCandSC(), EcalMipGraphs::getEEIndex(), EcalDisplaysByEvent::getEEIndex(), popcon::EcalChannelStatusHandler::laserAnalysis(), ecaldqm::memTowerID(), popcon::EcalChannelStatusHandler::nBadLaserModules(), printStatusRecords(), EcalSelectiveReadoutValidation::readOutUnitOf(), ecaldqm::towerID(), ecaldqm::towerId(), and EcalElectronicsMapping::MapItem::towerId().
|
inline |
get the channel id
Definition at line 41 of file EcalElectronicsId.h.
References EcalElectronicsId_.
Referenced by EcalABAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalTestPulseAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), channelId(), ecaldqm::binning::channelName(), EcalDccWeightBuilder::dbId(), TowerBlockFormatter::DigiToRaw(), EcalElectronicsMapper::fillMaps(), EcalMipGraphs::getEEIndex(), EcalDisplaysByEvent::getEEIndex(), and printStatusRecords().
int EcalElectronicsId::zside | ( | ) | const |
zside = +1 or -1
Definition at line 31 of file EcalElectronicsId.cc.
References dccId(), MAX_DCCID_EBM, MAX_DCCID_EBP, MAX_DCCID_EEM, MAX_DCCID_EEP, MIN_DCCID_EBM, MIN_DCCID_EBP, MIN_DCCID_EEM, and MIN_DCCID_EEP.
Referenced by EcalSelectiveReadout::eeRuInterest().
|
static |
Definition at line 79 of file EcalElectronicsId.h.
|
static |
Definition at line 80 of file EcalElectronicsId.h.
|
static |
Definition at line 81 of file EcalElectronicsId.h.
Referenced by EEQuadrant().
|
static |
Definition at line 82 of file EcalElectronicsId.h.
Referenced by EEQuadrant().
|
static |
Definition at line 75 of file EcalElectronicsId.h.
|
static |
Definition at line 76 of file EcalElectronicsId.h.
|
private |
Definition at line 94 of file EcalElectronicsId.h.
Referenced by dccId(), EcalElectronicsId(), linearIndex(), operator!=(), operator()(), operator<(), operator==(), rawId(), stripId(), towerId(), and xtalId().
|
static |
Definition at line 78 of file EcalElectronicsId.h.
Referenced by EEQuadrant().
|
static |
Definition at line 61 of file EcalElectronicsId.h.
|
static |
Definition at line 55 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 69 of file EcalElectronicsId.h.
|
static |
Definition at line 71 of file EcalElectronicsId.h.
Referenced by BlockFormatter::DigiToRaw(), subdet(), and zside().
|
static |
Definition at line 67 of file EcalElectronicsId.h.
Referenced by TCCBlockFormatter::DigiToRaw(), and zside().
|
static |
Definition at line 73 of file EcalElectronicsId.h.
Referenced by TCCBlockFormatter::DigiToRaw(), and zside().
|
static |
Definition at line 59 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 57 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 63 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 62 of file EcalElectronicsId.h.
|
static |
Definition at line 56 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 68 of file EcalElectronicsId.h.
Referenced by BlockFormatter::DigiToRaw(), subdet(), and zside().
|
static |
Definition at line 70 of file EcalElectronicsId.h.
|
static |
Definition at line 66 of file EcalElectronicsId.h.
Referenced by TCCBlockFormatter::DigiToRaw(), and zside().
|
static |
Definition at line 72 of file EcalElectronicsId.h.
Referenced by BlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), and zside().
|
static |
Definition at line 60 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 58 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().
|
static |
Definition at line 64 of file EcalElectronicsId.h.
Referenced by EcalElectronicsId().