#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 582 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 641 of file Numbers.cc.
References crystals(), and edm::hlt::Exception.
|
static |
Definition at line 656 of file Numbers.cc.
References crystalsDCC_, crystalsDCCArraySize_, EcalElectronicsMapping::dccTowerConstituents(), edm::hlt::Exception, getHLTprescales::index, and findQualityFiles::size.
|
static |
Definition at line 926 of file Numbers.cc.
References PV3DBase< T, PVType, FrameType >::eta(), geometry, and CaloGeometry::getPosition().
Referenced by EETimingClient::analyze().
|
static |
Definition at line 676 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 916 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 726 of file Numbers.cc.
References indexEB().
Referenced by EBLaserClient::analyze(), EBTimingClient::analyze(), and EBTestPulseClient::analyze().
|
static |
Definition at line 736 of file Numbers.cc.
References edm::hlt::Exception, EcalElectronicsMapping::getElectronicsId(), EEDetId::kSizeForDenseIndexing, 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 75 of file Numbers.cc.
References edm::hlt::Exception, and ecalpyutils::ism().
Referenced by sEB().
|
static |
Definition at line 110 of file Numbers.cc.
References edm::hlt::Exception, and ecalpyutils::ism().
Referenced by sEE().
|
static |
Definition at line 695 of file Numbers.cc.
References EBDetId::kCrystalsPerSM.
Referenced by icEB().
|
static |
Definition at line 709 of file Numbers.cc.
References edm::hlt::Exception, and EEDetId::validDetId().
Referenced by EcalDQMStatusReader::beginRun().
|
static |
Definition at line 47 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(), EEPedestalOnlineTask::beginRun(), EBPedestalTask::beginRun(), EECosmicTask::beginRun(), EEPedestalTask::beginRun(), EETestPulseTask::beginRun(), EBCosmicTask::beginRun(), EBOccupancyTask::beginRun(), EELedTask::beginRun(), EELaserTask::beginRun(), EBTestPulseTask::beginRun(), EBLaserTask::beginRun(), EBTimingTask::beginRun(), EBClusterTaskExtras::beginRun(), EBSelectiveReadoutTask::beginRun(), EEClusterTask::beginRun(), EEClusterTaskExtras::beginRun(), EBClusterTask::beginRun(), EBStatusFlagsTask::beginRun(), EEStatusFlagsTask::beginRun(), EBTrendTask::beginRun(), EETrendTask::beginRun(), EERawDataTask::beginRun(), EBRawDataTask::beginRun(), EBIntegrityTask::beginRun(), EEIntegrityTask::beginRun(), EETimingTask::beginRun(), EEOccupancyTask::beginRun(), EBTriggerTowerTask::beginRun(), EETriggerTowerTask::beginRun(), EcalBarrelMonitorClient::beginRun(), EcalEndcapMonitorClient::beginRun(), and EESelectiveReadoutTask::beginRun().
|
static |
Definition at line 434 of file Numbers.cc.
References EcalElectronicsMapping::getDCCandSC().
Referenced by EESelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::analyze(), EcalDQMStatusReader::beginRun(), and iTT().
|
static |
Definition at line 446 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, EcalElectronicsMapping::getElectronicsId(), EcalElectronicsId::towerId(), and EEDetId::XYMODE.
|
static |
Definition at line 243 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, and ecalpyutils::ism().
Referenced by EBSelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::anaDigi(), EBPedestalOnlineTask::analyze(), EEStatusFlagsTask::analyze(), EBStatusFlagsTask::analyze(), EEPedestalOnlineTask::analyze(), EBRawDataTask::analyze(), EECosmicTask::analyze(), EEIntegrityTask::analyze(), EBIntegrityTask::analyze(), EBPedestalTask::analyze(), EEPedestalTask::analyze(), EERawDataTask::analyze(), EBOccupancyTask::analyze(), EETestPulseTask::analyze(), EBCosmicTask::analyze(), EELaserTask::analyze(), EELedTask::analyze(), EBLaserTask::analyze(), EcalBarrelMonitorModule::analyze(), EcalEndcapMonitorModule::analyze(), EBTestPulseTask::analyze(), EBTimingTask::analyze(), EEClusterTaskExtras::analyze(), EBSelectiveReadoutTask::analyze(), EEClusterTask::analyze(), EBClusterTaskExtras::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 271 of file Numbers.cc.
References EcalElectronicsId::dccId(), edm::hlt::Exception, and EcalElectronicsMapping::getElectronicsId().
|
static |
Definition at line 290 of file Numbers.cc.
References EcalElectronicsId::dccId(), edm::hlt::Exception, and EcalElectronicsMapping::getElectronicsId().
|
static |
Definition at line 311 of file Numbers.cc.
References EcalElectronicsMapping::DCCid(), EcalBarrel, EcalEndcap, edm::hlt::Exception, and subDet().
|
static |
|
static |
|
static |
Definition at line 390 of file Numbers.cc.
References edm::hlt::Exception, and EcalElectronicsMapping::getDCCandSC().
|
static |
|
static |
Definition at line 531 of file Numbers.cc.
References EcalBarrel, EcalEndcap, EBDetId::ETAPHIMODE, edm::hlt::Exception, EcalTrigTowerConstituentsMap::towerOf(), and EEDetId::XYMODE.
Referenced by EESelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::analyze(), EETriggerTowerTask::processDigis(), and EBTriggerTowerTask::processDigis().
|
static |
Definition at line 566 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, and subDet().
|
static |
Definition at line 482 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, 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 515 of file Numbers.cc.
References EcalBarrel, EcalEndcap, edm::hlt::Exception, iTT(), and subDet().
|
static |
Definition at line 770 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(), EEPedestalOnlineTask::setup(), EECosmicTask::setup(), EEPedestalTask::setup(), EELaserTask::setup(), EELedTask::setup(), EETestPulseTask::setup(), EEStatusFlagsTask::setup(), EELedClient::setup(), EEIntegrityTask::setup(), EELaserClient::setup(), EETestPulseClient::setup(), EEPedestalOnlineClient::setup(), EEIntegrityClient::setup(), EEPedestalClient::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), and EETriggerTowerTask::setup().
|
static |
|
static |
Definition at line 809 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(), EEPedestalOnlineTask::setup(), EECosmicTask::setup(), EEPedestalTask::setup(), EELaserTask::setup(), EELedTask::setup(), EETestPulseTask::setup(), EEStatusFlagsTask::setup(), EELedClient::setup(), EEIntegrityTask::setup(), EELaserClient::setup(), EETestPulseClient::setup(), EEIntegrityClient::setup(), EEPedestalOnlineClient::setup(), EEPedestalClient::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), and EETriggerTowerTask::setup().
|
static |
Definition at line 872 of file Numbers.cc.
|
static |
Definition at line 903 of file Numbers.cc.
References crystals(), EcalElectronicsMapping::iTT(), map, mapTT, EcalElectronicsMapping::tccConstituents(), and EcalTrigTowerConstituentsMap::towerOf().
|
static |
Definition at line 933 of file Numbers.cc.
References geometry, CaloGeometry::getPosition(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by EETimingClient::analyze().
|
static |
Definition at line 605 of file Numbers.cc.
Referenced by EELaserTask::analyze(), EELedTask::analyze(), and EBLaserTask::analyze().
|
static |
Definition at line 621 of file Numbers.cc.
References ecalpyutils::ism(), and iSM().
|
static |
Definition at line 91 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(), EBPedestalOnlineTask::setup(), EBPedestalTask::setup(), EBCosmicTask::setup(), EBOccupancyTask::setup(), EBTestPulseTask::setup(), EcalBarrelMonitorModule::setup(), EBLaserTask::setup(), EBSummaryClient::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), EBStatusFlagsTask::setup(), EBLaserClient::setup(), EBRawDataTask::setup(), EBTimingClient::setup(), EBIntegrityTask::setup(), EBPedestalOnlineClient::setup(), EBIntegrityClient::setup(), EBPedestalClient::setup(), EBTestPulseClient::setup(), EBTriggerTowerClient::setup(), and EBTriggerTowerTask::setup().
|
static |
Definition at line 223 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(), EEPedestalOnlineTask::setup(), EEPedestalTask::setup(), EECosmicTask::setup(), EELaserTask::setup(), EETestPulseTask::setup(), EELedTask::setup(), EESummaryClient::setup(), EEStatusFlagsTask::setup(), EELedClient::setup(), EERawDataTask::setup(), EELaserClient::setup(), EEIntegrityTask::setup(), EETestPulseClient::setup(), EEPedestalOnlineClient::setup(), EEIntegrityClient::setup(), EEPedestalClient::setup(), EEOccupancyTask::setup(), EETriggerTowerClient::setup(), EETimingTask::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), and EETriggerTowerTask::setup().
|
static |
Definition at line 142 of file Numbers.cc.
Referenced by EBStatusFlagsTask::analyze(), EEStatusFlagsTask::analyze(), EBIntegrityTask::analyze(), EBRawDataTask::analyze(), EECosmicTask::analyze(), EEIntegrityTask::analyze(), EEPedestalTask::analyze(), EERawDataTask::analyze(), EBPedestalTask::analyze(), EELedTask::analyze(), EBCosmicTask::analyze(), EETestPulseTask::analyze(), EELaserTask::analyze(), EBOccupancyTask::analyze(), EcalEndcapMonitorModule::analyze(), EBLaserTask::analyze(), EBTestPulseTask::analyze(), EcalBarrelMonitorModule::analyze(), EBTimingTask::analyze(), EBClusterTask::analyze(), EBSelectiveReadoutTask::analyze(), EEClusterTask::analyze(), EETimingTask::analyze(), EEOccupancyTask::analyze(), EESelectiveReadoutTask::analyze(), iSM(), iTCC(), iTT(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), and subDet().
|
static |
Definition at line 152 of file Numbers.cc.
|
static |
|
static |
Definition at line 172 of file Numbers.cc.
|
static |
Definition at line 182 of file Numbers.cc.
|
static |
Definition at line 192 of file Numbers.cc.
|
static |
Definition at line 202 of file Numbers.cc.
References EcalBarrel, EcalEndcap, and edm::hlt::Exception.
|
static |
Definition at line 829 of file Numbers.cc.
References 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 852 of file Numbers.cc.
References iSM(), and EcalScDetId::validDetId().
Referenced by EESummaryClient::analyze().
|
staticprivate |
Definition at line 149 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 146 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 148 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 145 of file Numbers.h.
Referenced by crystals().
|
staticprivate |
Definition at line 143 of file Numbers.h.
Referenced by eta(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), and phi().
|
staticprivate |
Definition at line 136 of file Numbers.h.
Referenced by initGeometry().
|
staticprivate |
Definition at line 140 of file Numbers.h.
Referenced by getElectronicsMapping(), and nTTs().
|
staticprivate |