Functions | |
int | hashedIndex (int ieta, int iphi) |
std::vector< int > | hashedIndexToEtaPhi (int hashedindex) |
std::vector< int > | hashedIndexToXY (int hashedindex) |
int | ism (int ieta, int iphi) |
int ecalpyutils::hashedIndex | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 42 of file EcalPyUtils.cc.
References EBDetId::hashedIndex().
Referenced by EcalTestPulseAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), EcalURecHitHists::analyze(), EcalABAnalyzer::analyze(), EcalLaserAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), BOOST_PYTHON_MODULE(), CaloGeometryHelper::buildCrystal(), popcon::EcalLaserHandler::checkAPDPNs(), EcalSimpleUncalibRecHitFilter::filter(), EcalMIPRecHitFilter::filter(), popcon::EcalLaserHandler::getNewObjects(), EcalEndcapRecHitsMaker::loadPCaloHits(), EcalBarrelRecHitsMaker::loadPCaloHits(), PFSimParticleProducer::produce(), EcalBarrelRecHitsMaker::randomNoisifier(), StoreEcalCondition::readEcalChannelStatusFromFile(), EcalUncalibRecHitWorkerWeights::run(), EcalUncalibRecHitWorkerGlobal::run(), EcalUncalibRecHitWorkerRatio::run(), and EcalLaserAPDPNRatios::setTime().
{ EBDetId d(ieta,iphi); return d.hashedIndex(); }
std::vector<int> ecalpyutils::hashedIndexToEtaPhi | ( | int | hashedindex | ) |
Definition at line 21 of file EcalPyUtils.cc.
References EBDetId::ieta(), EBDetId::iphi(), runTheMatrix::ret, and EBDetId::unhashIndex().
Referenced by BOOST_PYTHON_MODULE().
{ int ieta= EBDetId::unhashIndex(hashedindex).ieta(); int iphi= EBDetId::unhashIndex(hashedindex).iphi(); std::vector<int> ret; ret.push_back(ieta); ret.push_back(iphi); return ret; }
std::vector<int> ecalpyutils::hashedIndexToXY | ( | int | hashedindex | ) |
Definition at line 30 of file EcalPyUtils.cc.
References EEDetId::ix(), EEDetId::iy(), runTheMatrix::ret, EEDetId::unhashIndex(), and EEDetId::zside().
Referenced by BOOST_PYTHON_MODULE().
{ int ix= EEDetId::unhashIndex(hashedindex).ix(); int iy= EEDetId::unhashIndex(hashedindex).iy(); int zside = EEDetId::unhashIndex(hashedindex).zside(); std::vector<int> ret; ret.push_back(ix); ret.push_back(iy); ret.push_back(zside); return ret; }
int ecalpyutils::ism | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 47 of file EcalPyUtils.cc.
References EBDetId::ism().
Referenced by EcalBarrelGeometry::alignmentTransformIndexLocal(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::anaDigi(), EcalEndcapMonitorModule::analyze(), EEIntegrityTask::analyze(), EELedTask::analyze(), TreeProducerCalibSimul::analyze(), EBLaserTask::analyze(), EBRawDataTask::analyze(), EESelectiveReadoutTask::analyze(), EBClusterTaskExtras::analyze(), EBCosmicTask::analyze(), EBStatusFlagsTask::analyze(), EBTestPulseTask::analyze(), EESummaryClient::analyze(), EELaserTask::analyze(), EcalBarrelMonitorModule::analyze(), EERawDataTask::analyze(), EECosmicTask::analyze(), EBPedestalOnlineTask::analyze(), EEOccupancyTask::analyze(), EETimingTask::analyze(), EEClusterTaskExtras::analyze(), EBHltTask::analyze(), EBIntegrityTask::analyze(), EBOccupancyTask::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineTask::analyze(), EcalBarrelRecHitsValidation::analyze(), EBCosmicClient::analyze(), EBSummaryClient::analyze(), EEHltTask::analyze(), EETestPulseTask::analyze(), EBTimingTask::analyze(), EEClusterTask::analyze(), EBSelectiveReadoutTask::analyze(), L1TdeECAL::analyze(), testChannel::analyze(), EEPedestalTask::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), EECosmicClient::analyze(), EEStatusFlagsTask::analyze(), EcalDQMStatusReader::beginRun(), BOOST_PYTHON_MODULE(), EBTimingClient::cleanup(), EBLaserClient::cleanup(), EECosmicClient::cleanup(), EESummaryClient::cleanup(), EETriggerTowerClient::cleanup(), EBTestPulseClient::cleanup(), EELedClient::cleanup(), EBCosmicClient::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EBPedestalOnlineClient::cleanup(), EEOccupancyClient::cleanup(), EETimingClient::cleanup(), EBOccupancyClient::cleanup(), EBStatusFlagsClient::cleanup(), EELaserClient::cleanup(), EEIntegrityClient::cleanup(), EEStatusFlagsClient::cleanup(), EETestPulseClient::cleanup(), EEPedestalOnlineClient::cleanup(), EBSummaryClient::cleanup(), EBTriggerTowerClient::cleanup(), EEPedestalClient::cleanup(), MEEBGeom::dcc(), MEEBGeom::dccFromSm(), MEGeom::drawGlobalBoundaries(), EBCosmicClient::EBCosmicClient(), EBIntegrityClient::EBIntegrityClient(), EBLaserClient::EBLaserClient(), EBOccupancyClient::EBOccupancyClient(), EBPedestalClient::EBPedestalClient(), EBPedestalOnlineClient::EBPedestalOnlineClient(), EBStatusFlagsClient::EBStatusFlagsClient(), EBSummaryClient::EBSummaryClient(), EBTestPulseClient::EBTestPulseClient(), EBTimingClient::EBTimingClient(), EBTriggerTowerClient::EBTriggerTowerClient(), EECosmicClient::EECosmicClient(), EEIntegrityClient::EEIntegrityClient(), EELaserClient::EELaserClient(), EELedClient::EELedClient(), EEOccupancyClient::EEOccupancyClient(), EEPedestalClient::EEPedestalClient(), EEPedestalOnlineClient::EEPedestalOnlineClient(), EEStatusFlagsClient::EEStatusFlagsClient(), EESummaryClient::EESummaryClient(), EETestPulseClient::EETestPulseClient(), EETimingClient::EETimingClient(), EETriggerTowerClient::EETriggerTowerClient(), EEDataCertificationTask::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), EBDataCertificationTask::endRun(), EBDaqInfoTask::fillMonitorElements(), EBDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), EEDcsInfoTask::fillMonitorElements(), MEGeom::getBoundary(), MEEBGeom::getGraphBoundary(), MEGeom::getHist(), popcon::EcalTPGBadTTHandler::getNewObjects(), NumbersPn::getPNs(), Numbers::icEE(), Numbers::iEB(), Numbers::iEE(), NumbersPn::iLM(), NumbersPn::ipnEE(), Numbers::iSC(), Numbers::iSM(), Numbers::iTCC(), Numbers::iTT(), MEEBGeom::lmr(), Masks::maskChannel(), Masks::maskPn(), EETriggerTowerTask::processDigis(), FakeCaloAlignmentEP::produceEBAli(), TestCaloAlignmentEP::produceEBAli(), StoreEcalCondition::readEcalChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMTowerStatusFromFile(), Numbers::RtHalf(), EEPedestalClient::setup(), EBTriggerTowerClient::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EBTimingClient::setup(), EETriggerTowerClient::setup(), EEPedestalOnlineClient::setup(), EBPedestalOnlineClient::setup(), EETimingClient::setup(), EBPedestalClient::setup(), EETestPulseClient::setup(), EBLaserClient::setup(), EELedClient::setup(), EEIntegrityClient::setup(), MEEBGeom::sm(), MEEBGeom::smFromDcc(), MEEEGeom::smFromDcc(), ME::smName(), MEEEGeom::smName(), and MEEBGeom::smName().
{ EBDetId d(ieta,iphi); return d.ism(); }