#include <Numbers.h>
Static Public Member Functions | |
static std::vector< DetId > * | crystals (const EcalTrigTowerDetId &id) |
static std::vector< DetId > * | crystals (const EcalElectronicsId &id) |
static std::vector< DetId > * | crystals (unsigned idcc, unsigned isc) |
static float | eta (const DetId &id) |
static const EcalScDetId | getEcalScDetId (const EEDetId &id) |
static const EcalElectronicsMapping * | getElectronicsMapping () |
static unsigned | icEB (const unsigned ism, const unsigned ix, const unsigned iy) |
static unsigned | icEE (const unsigned ism, const unsigned ix, const unsigned iy) |
static int | iEB (const unsigned ism) |
static int | iEE (const unsigned ism) |
static unsigned | indexEB (const unsigned ism, const unsigned ie, const unsigned ip) |
static unsigned | indexEE (const unsigned ism, const unsigned ix, const unsigned iy) |
static void | initGeometry (const edm::EventSetup &setup, bool verbose=false) |
static unsigned | iSC (const EcalScDetId &id) |
static unsigned | iSC (const unsigned ism, const EcalSubdetector subdet, const unsigned i1, const unsigned i2) |
static unsigned | iSM (const unsigned ism, const EcalSubdetector subdet) |
static unsigned | iSM (const EBDetId &id) |
static unsigned | iSM (const EEDetId &id) |
static unsigned | iSM (const EcalTrigTowerDetId &id) |
static unsigned | iSM (const EcalElectronicsId &id) |
static unsigned | iSM (const EcalPnDiodeDetId &id) |
static unsigned | iSM (const EcalScDetId &id) |
static unsigned | iSM (const EcalDCCHeaderBlock &id, const EcalSubdetector subdet) |
static unsigned | iTCC (const unsigned ism, const EcalSubdetector subdet, const unsigned i1, const unsigned i2) |
static unsigned | iTCC (const EcalTrigTowerDetId &id) |
static unsigned | iTT (const unsigned ism, const EcalSubdetector subdet, const unsigned i1, const unsigned i2) |
static unsigned | iTT (const EcalTrigTowerDetId &id) |
static int | ix0EE (const unsigned ism) |
static int | ix0EEm (const unsigned ism) |
static int | iy0EE (const unsigned ism) |
static unsigned | nCCUs (const unsigned ism) |
static unsigned | nTTs (const unsigned itcc) |
static float | phi (const DetId &id) |
static unsigned | RtHalf (const EBDetId &id) |
static unsigned | RtHalf (const EEDetId &id) |
static std::string | sEB (const unsigned ism) |
static std::string | sEE (const unsigned ism) |
static EcalSubdetector | subDet (const EBDetId &id) |
static EcalSubdetector | subDet (const EEDetId &id) |
static EcalSubdetector | subDet (const EcalTrigTowerDetId &id) |
static EcalSubdetector | subDet (const EcalScDetId &id) |
static EcalSubdetector | subDet (const EcalElectronicsId &id) |
static EcalSubdetector | subDet (const EcalPnDiodeDetId &id) |
static EcalSubdetector | subDet (const EcalDCCHeaderBlock &id) |
static bool | validEE (const unsigned ism, const unsigned ix, const unsigned iy) |
static bool | validEESc (const unsigned ism, const unsigned ix, const unsigned iy) |
Private Member Functions | |
Numbers () | |
~Numbers () | |
Static Private Attributes | |
static std::vector< DetId > | crystalsDCC_ [crystalsDCCArraySize_] |
static const unsigned | crystalsDCCArraySize_ = 100 * 54 |
static std::vector< DetId > | crystalsTCC_ [crystalsTCCArraySize_] |
static const unsigned | crystalsTCCArraySize_ = 100 * 108 |
static const CaloGeometry * | geometry = 0 |
static bool | init = false |
static const EcalElectronicsMapping * | map = 0 |
static const EcalTrigTowerConstituentsMap * | mapTT = 0 |
|
inlineprivate |
|
inlineprivate |
|
static |
Definition at line 585 of file Numbers.cc.
References crystalsTCC_, crystalsTCCArraySize_, edm::hlt::Exception, getHLTprescales::index, EcalElectronicsMapping::iTT(), findQualityFiles::size, EcalElectronicsMapping::TCCid(), and EcalElectronicsMapping::ttConstituents().
Referenced by EEStatusFlagsTask::analyze(), EEIntegrityTask::analyze(), EEOccupancyTask::analyze(), EESelectiveReadoutTask::analyze(), crystals(), ecaldqm::fillME(), ecaldqm::getBinContentME(), ecaldqm::getBinEntriesME(), ecaldqm::getBinErrorME(), nTTs(), EETriggerTowerTask::processDigis(), EcalDQMStatusWriter::readEcalDQMTowerStatusFromFile(), ecaldqm::setBinContentME(), ecaldqm::setBinEntriesME(), and ecaldqm::setBinErrorME().
|
static |
Definition at line 644 of file Numbers.cc.
References crystals(), and edm::hlt::Exception.
|
static |
Definition at line 659 of file Numbers.cc.
References crystalsDCC_, crystalsDCCArraySize_, EcalElectronicsMapping::dccTowerConstituents(), edm::hlt::Exception, getHLTprescales::index, and findQualityFiles::size.
|
static |
Definition at line 929 of file Numbers.cc.
References PV3DBase< T, PVType, FrameType >::eta(), geometry, CaloGeometry::getPosition(), and pos.
Referenced by EETimingClient::analyze().
|
static |
Definition at line 679 of file Numbers.cc.
References EcalElectronicsId::dccId(), edm::hlt::Exception, EcalElectronicsMapping::getEcalScDetId(), EcalElectronicsMapping::getElectronicsId(), and EcalElectronicsId::towerId().
Referenced by ecaldqm::fillME(), EESelectiveReadoutTask::readOutUnitOf(), ecaldqm::setBinContentME(), ecaldqm::setBinEntriesME(), and ecaldqm::setBinErrorME().
|
static |
Definition at line 919 of file Numbers.cc.
References edm::hlt::Exception, and map.
Referenced by EELedTask::analyze(), ecaldqm::fillME(), ecaldqm::setBinContentME(), ecaldqm::setBinEntriesME(), and ecaldqm::setBinErrorME().
|
static |
Definition at line 729 of file Numbers.cc.
References indexEB().
Referenced by EBLaserClient::analyze(), EBTimingClient::analyze(), and EBTestPulseClient::analyze().
|
static |
Definition at line 739 of file Numbers.cc.
References edm::hlt::Exception, EcalElectronicsMapping::getElectronicsId(), errorMatrix2Lands_multiChannel::id, EEDetId::kSizeForDenseIndexing, strip(), EcalElectronicsId::stripId(), EcalElectronicsId::towerId(), EcalElectronicsId::xtalId(), and EEDetId::XYMODE.
Referenced by EELaserTask::analyze(), EETestPulseTask::analyze(), EELedTask::analyze(), EESummaryClient::analyze(), EELedClient::analyze(), EELaserClient::analyze(), EETestPulseClient::analyze(), and EETimingClient::analyze().
|
static |
Definition at line 78 of file Numbers.cc.
References edm::hlt::Exception, and ecalpyutils::ism().
Referenced by sEB().
|
static |
Definition at line 113 of file Numbers.cc.
References edm::hlt::Exception, and ecalpyutils::ism().
Referenced by sEE().
|
static |
Definition at line 698 of file Numbers.cc.
References EBDetId::kCrystalsPerSM.
Referenced by icEB().
|
static |
Definition at line 712 of file Numbers.cc.
References edm::hlt::Exception, and EEDetId::validDetId().
Referenced by EcalDQMStatusReader::beginRun().
|
static |
Definition at line 50 of file Numbers.cc.
References gather_cfg::cout, edm::EventSetup::get(), patZpeak::handle, init, and edm::ESHandle< class >::product().
Referenced by EcalBarrelMonitorModule::analyze(), EcalEndcapMonitorModule::analyze(), EcalDQMStatusReader::beginRun(), EcalDQMStatusWriter::beginRun(), EBPedestalOnlineTask::beginRun(), EETestPulseTask::beginRun(), EBCosmicTask::beginRun(), EBPedestalTask::beginRun(), EEClusterTask::beginRun(), EECosmicTask::beginRun(), EBClusterTask::beginRun(), EBLaserTask::beginRun(), EELaserTask::beginRun(), EELedTask::beginRun(), EEPedestalOnlineTask::beginRun(), EBOccupancyTask::beginRun(), EEPedestalTask::beginRun(), EETrendTask::beginRun(), EBTestPulseTask::beginRun(), EBTrendTask::beginRun(), EBClusterTaskExtras::beginRun(), EEClusterTaskExtras::beginRun(), EBTimingTask::beginRun(), EBSelectiveReadoutTask::beginRun(), EERawDataTask::beginRun(), EEStatusFlagsTask::beginRun(), EBRawDataTask::beginRun(), EBStatusFlagsTask::beginRun(), EEIntegrityTask::beginRun(), EBIntegrityTask::beginRun(), EETimingTask::beginRun(), EEOccupancyTask::beginRun(), EETriggerTowerTask::beginRun(), EBTriggerTowerTask::beginRun(), EcalBarrelMonitorClient::beginRun(), EcalEndcapMonitorClient::beginRun(), and EESelectiveReadoutTask::beginRun().
|
static |
Definition at line 437 of file Numbers.cc.
References EcalElectronicsMapping::getDCCandSC().
Referenced by EESelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::analyze(), EcalDQMStatusReader::beginRun(), and iTT().
|
static |
Definition at line 449 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, EcalElectronicsMapping::getElectronicsId(), errorMatrix2Lands_multiChannel::id, EcalElectronicsId::towerId(), and EEDetId::XYMODE.
|
static |
Definition at line 246 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, and ecalpyutils::ism().
Referenced by EBSelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::anaDigi(), EBCosmicTask::analyze(), EBRawDataTask::analyze(), EEStatusFlagsTask::analyze(), EETestPulseTask::analyze(), EBLaserTask::analyze(), EBOccupancyTask::analyze(), EBStatusFlagsTask::analyze(), EEClusterTask::analyze(), EEPedestalTask::analyze(), EECosmicTask::analyze(), EBPedestalOnlineTask::analyze(), EELaserTask::analyze(), EELedTask::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineTask::analyze(), EERawDataTask::analyze(), EcalBarrelMonitorModule::analyze(), EcalEndcapMonitorModule::analyze(), EBIntegrityTask::analyze(), EEIntegrityTask::analyze(), EBTestPulseTask::analyze(), EBClusterTaskExtras::analyze(), EEClusterTaskExtras::analyze(), EBTimingTask::analyze(), EBSelectiveReadoutTask::analyze(), EETimingTask::analyze(), EEOccupancyTask::analyze(), EESelectiveReadoutTask::analyze(), EcalDQMStatusReader::beginRun(), Masks::maskChannel(), EBTriggerTowerTask::processDigis(), EETriggerTowerTask::processDigis(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), RtHalf(), validEE(), and validEESc().
|
static |
Definition at line 274 of file Numbers.cc.
References EcalElectronicsId::dccId(), edm::hlt::Exception, and EcalElectronicsMapping::getElectronicsId().
|
static |
Definition at line 293 of file Numbers.cc.
References EcalElectronicsId::dccId(), edm::hlt::Exception, and EcalElectronicsMapping::getElectronicsId().
|
static |
Definition at line 314 of file Numbers.cc.
References EcalElectronicsMapping::DCCid(), EcalBarrel, EcalEndcap, edm::hlt::Exception, and subDet().
|
static |
|
static |
|
static |
Definition at line 393 of file Numbers.cc.
References edm::hlt::Exception, and EcalElectronicsMapping::getDCCandSC().
|
static |
|
static |
Definition at line 534 of file Numbers.cc.
References EcalBarrel, EcalEndcap, EBDetId::ETAPHIMODE, edm::hlt::Exception, errorMatrix2Lands_multiChannel::id, EcalTrigTowerConstituentsMap::towerOf(), and EEDetId::XYMODE.
Referenced by EESelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::analyze(), EETriggerTowerTask::processDigis(), and EBTriggerTowerTask::processDigis().
|
static |
Definition at line 569 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, and subDet().
|
static |
Definition at line 485 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, errorMatrix2Lands_multiChannel::id, iSC(), EcalTrigTowerConstituentsMap::towerOf(), and EEDetId::XYMODE.
Referenced by EBSelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::analyze(), EESelectiveReadoutTask::analyze(), EcalDQMStatusReader::beginRun(), iTT(), EBTriggerTowerTask::processDigis(), and EETriggerTowerTask::processDigis().
|
static |
Definition at line 518 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, iTT(), and subDet().
|
static |
Definition at line 773 of file Numbers.cc.
Referenced by EEPedestalTask::analyze(), EESummaryClient::analyze(), EELedClient::analyze(), EELaserClient::analyze(), EETestPulseClient::analyze(), EEIntegrityClient::analyze(), EEPedestalClient::analyze(), EEPedestalOnlineClient::analyze(), EETimingClient::analyze(), ecaldqm::bookME(), ecaldqm::getBinME(), ix0EEm(), Masks::maskChannel(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), EELedTask::setup(), EELaserTask::setup(), EEPedestalOnlineTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EEStatusFlagsTask::setup(), EEIntegrityTask::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EELedClient::setup(), EELaserClient::setup(), EETestPulseClient::setup(), EEPedestalOnlineClient::setup(), EEIntegrityClient::setup(), EEPedestalClient::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), and EETriggerTowerTask::setup().
|
static |
|
static |
Definition at line 812 of file Numbers.cc.
Referenced by EEPedestalTask::analyze(), EESummaryClient::analyze(), EELedClient::analyze(), EELaserClient::analyze(), EETestPulseClient::analyze(), EEPedestalClient::analyze(), EEPedestalOnlineClient::analyze(), EEIntegrityClient::analyze(), EETimingClient::analyze(), ecaldqm::bookME(), ecaldqm::getBinME(), Masks::maskChannel(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), EELaserTask::setup(), EELedTask::setup(), EEPedestalOnlineTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EEStatusFlagsTask::setup(), EEIntegrityTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), EELaserClient::setup(), EEIntegrityClient::setup(), EEPedestalOnlineClient::setup(), EEPedestalClient::setup(), EETestPulseClient::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), and EETriggerTowerTask::setup().
|
static |
Definition at line 875 of file Numbers.cc.
|
static |
Definition at line 906 of file Numbers.cc.
References crystals(), EcalElectronicsMapping::iTT(), map, mapTT, EcalElectronicsMapping::tccConstituents(), and EcalTrigTowerConstituentsMap::towerOf().
|
static |
Definition at line 936 of file Numbers.cc.
References geometry, CaloGeometry::getPosition(), PV3DBase< T, PVType, FrameType >::phi(), and pos.
Referenced by EETimingClient::analyze().
|
static |
Definition at line 608 of file Numbers.cc.
Referenced by EBLaserTask::analyze(), EELedTask::analyze(), and EELaserTask::analyze().
|
static |
Definition at line 624 of file Numbers.cc.
References ecalpyutils::ism(), and iSM().
|
static |
Definition at line 94 of file Numbers.cc.
References iEB(), and alignCSCRings::s.
Referenced by EBSummaryClient::analyze(), EBStatusFlagsClient::analyze(), EBTimingClient::analyze(), EBLaserClient::analyze(), EBPedestalClient::analyze(), EBCosmicClient::analyze(), EBPedestalOnlineClient::analyze(), EBIntegrityClient::analyze(), EBOccupancyClient::analyze(), EBTestPulseClient::analyze(), EBTriggerTowerClient::analyze(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), EBDataCertificationTask::beginJob(), EcalDQMStatusReader::beginRun(), EcalBarrelMonitorClient::beginRun(), EBDataCertificationTask::endLuminosityBlock(), EcalBarrelMonitorClient::endRun(), EBPedestalTask::setup(), EBCosmicTask::setup(), EBPedestalOnlineTask::setup(), EBLaserTask::setup(), EBOccupancyTask::setup(), EBTestPulseTask::setup(), EcalBarrelMonitorModule::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), EBRawDataTask::setup(), EBStatusFlagsTask::setup(), EBSummaryClient::setup(), EBIntegrityTask::setup(), EBTimingClient::setup(), EBLaserClient::setup(), EBPedestalOnlineClient::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EBPedestalClient::setup(), EBTriggerTowerClient::setup(), and EBTriggerTowerTask::setup().
|
static |
Definition at line 226 of file Numbers.cc.
References iEE(), and alignCSCRings::s.
Referenced by EESummaryClient::analyze(), EELaserClient::analyze(), EELedClient::analyze(), EEStatusFlagsClient::analyze(), EECosmicClient::analyze(), EETestPulseClient::analyze(), EEOccupancyClient::analyze(), EEIntegrityClient::analyze(), EEPedestalClient::analyze(), EEPedestalOnlineClient::analyze(), EETriggerTowerClient::analyze(), EETimingClient::analyze(), EEDaqInfoTask::beginJob(), EEDataCertificationTask::beginJob(), EEDcsInfoTask::beginJob(), EcalDQMStatusReader::beginRun(), EcalEndcapMonitorClient::beginRun(), EEDataCertificationTask::endLuminosityBlock(), EcalEndcapMonitorClient::endRun(), EcalEndcapMonitorModule::setup(), EELaserTask::setup(), EEPedestalOnlineTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EECosmicTask::setup(), EELedTask::setup(), EERawDataTask::setup(), EEStatusFlagsTask::setup(), EESummaryClient::setup(), EEIntegrityTask::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EELedClient::setup(), EELaserClient::setup(), EEPedestalOnlineClient::setup(), EEIntegrityClient::setup(), EETestPulseClient::setup(), EEPedestalClient::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), and EETriggerTowerTask::setup().
|
static |
Definition at line 145 of file Numbers.cc.
Referenced by EBClusterTask::analyze(), EBLaserTask::analyze(), EBRawDataTask::analyze(), EETestPulseTask::analyze(), EEClusterTask::analyze(), EBStatusFlagsTask::analyze(), EECosmicTask::analyze(), EELaserTask::analyze(), EELedTask::analyze(), EBCosmicTask::analyze(), EBOccupancyTask::analyze(), EEPedestalTask::analyze(), EERawDataTask::analyze(), EBPedestalTask::analyze(), EEStatusFlagsTask::analyze(), EBIntegrityTask::analyze(), EcalEndcapMonitorModule::analyze(), EcalBarrelMonitorModule::analyze(), EEIntegrityTask::analyze(), EBTestPulseTask::analyze(), EBTimingTask::analyze(), EBSelectiveReadoutTask::analyze(), EEOccupancyTask::analyze(), EETimingTask::analyze(), EESelectiveReadoutTask::analyze(), iSM(), iTCC(), iTT(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), and subDet().
|
static |
Definition at line 155 of file Numbers.cc.
|
static |
|
static |
Definition at line 175 of file Numbers.cc.
|
static |
Definition at line 185 of file Numbers.cc.
|
static |
Definition at line 195 of file Numbers.cc.
|
static |
Definition at line 205 of file Numbers.cc.
References EcalBarrel, EcalEndcap, and edm::hlt::Exception.
|
static |
Definition at line 832 of file Numbers.cc.
References errorMatrix2Lands_multiChannel::id, iSM(), EEDetId::validDetId(), and EEDetId::XYMODE.
Referenced by EEPedestalTask::analyze(), EESummaryClient::analyze(), EELaserClient::analyze(), EELedClient::analyze(), EEIntegrityClient::analyze(), EEPedestalClient::analyze(), EEPedestalOnlineClient::analyze(), EETestPulseClient::analyze(), EETimingClient::analyze(), Masks::maskChannel(), EELaserClient::setup(), EELedClient::setup(), EEIntegrityClient::setup(), EEPedestalOnlineClient::setup(), EEPedestalClient::setup(), EETestPulseClient::setup(), and EETimingClient::setup().
|
static |
Definition at line 855 of file Numbers.cc.
References errorMatrix2Lands_multiChannel::id, iSM(), and EcalScDetId::validDetId().
Referenced by EESummaryClient::analyze().
|
staticprivate |
Definition at line 151 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 148 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 150 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 147 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 145 of file Numbers.h.
Referenced by eta(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), and phi().
|
staticprivate |
Definition at line 138 of file Numbers.h.
Referenced by initGeometry().
|
staticprivate |
Definition at line 142 of file Numbers.h.
Referenced by getElectronicsMapping(), and nTTs().
|
staticprivate |