Functions | |
std::string | arraystoXML (const std::vector< float > &eb, const std::vector< float > &ee) |
int | hashedIndex (int ieta, int iphi) |
int | hashedIndexEE (int ix, int iy, int iz) |
std::vector< int > | hashedIndexToEtaPhi (int hashedindex) |
std::vector< int > | hashedIndexToXY (int hashedindex) |
int | ism (int ieta, int iphi) |
std::string ecalpyutils::arraystoXML | ( | const std::vector< float > & | eb, |
const std::vector< float > & | ee | ||
) |
Definition at line 61 of file EcalPyUtils.cc.
References EcalCondTools::dumpXML(), and h.
Referenced by BOOST_PYTHON_MODULE().
{ EcalCondHeader h; return EcalFloatCondObjectContainerXMLTranslator::dumpXML(h,eb,ee); }
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(), EcalDQMBinningService::getBinMapEB_(), EcalDQMBinningService::getBinMapEcal_(), EcalDQMBinningService::getBinMapEE_(), EcalDQMBinningService::getBinMapSM_(), popcon::EcalLaserHandler::getNewObjects(), EcalMIPRecHitFilter::hltFilter(), EcalSimpleUncalibRecHitFilter::hltFilter(), 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(); }
int ecalpyutils::hashedIndexEE | ( | int | ix, |
int | iy, | ||
int | iz | ||
) |
Definition at line 47 of file EcalPyUtils.cc.
References EEDetId::hashedIndex(), and EEDetId::validDetId().
Referenced by BOOST_PYTHON_MODULE().
{ if (EEDetId::validDetId(ix,iy,iz)) { EEDetId d(ix,iy,iz); return d.hashedIndex(); } return 0; }
std::vector<int> ecalpyutils::hashedIndexToEtaPhi | ( | int | hashedindex | ) |
Definition at line 21 of file EcalPyUtils.cc.
References EBDetId::ieta(), EBDetId::iphi(), run_regression::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(), run_regression::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 56 of file EcalPyUtils.cc.
References EBDetId::ism().
Referenced by EcalBarrelGeometry::alignmentTransformIndexLocal(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::anaDigi(), EcalEndcapMonitorModule::analyze(), EEIntegrityTask::analyze(), EELedTask::analyze(), EBLaserTask::analyze(), EBRawDataTask::analyze(), EESelectiveReadoutTask::analyze(), TreeProducerCalibSimul::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(), EcalBarrelRecHitsValidation::analyze(), EEClusterTaskExtras::analyze(), EBHltTask::analyze(), EBIntegrityTask::analyze(), EBOccupancyTask::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineTask::analyze(), EBCosmicClient::analyze(), EBSummaryClient::analyze(), EEHltTask::analyze(), EETestPulseTask::analyze(), EBTimingTask::analyze(), EEClusterTask::analyze(), EBSelectiveReadoutTask::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(), EBDataCertificationTask::endLuminosityBlock(), EBDataCertificationTask::endRun(), EBDaqInfoTask::fillMonitorElements(), EBDcsInfoTask::fillMonitorElements(), EEDaqInfoTask::fillMonitorElements(), EEDcsInfoTask::fillMonitorElements(), ecaldqm::getBinME(), MEGeom::getBoundary(), MEEBGeom::getGraphBoundary(), MEGeom::getHist(), popcon::EcalTPGBadTTHandler::getNewObjects(), NumbersPn::getPNs(), Numbers::iEB(), Numbers::iEE(), NumbersPn::iLM(), NumbersPn::ipnEE(), Numbers::iSM(), MEEBGeom::lmr(), Masks::maskChannel(), Masks::maskPn(), EETriggerTowerTask::processDigis(), FakeCaloAlignmentEP::produceEBAli(), TestCaloAlignmentEP::produceEBAli(), StoreEcalCondition::readEcalChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMTowerStatusFromFile(), Numbers::RtHalf(), ecaldqm::MeInfoMap::set(), 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(), MEEBGeom::smName(), and TEcnaHistos::ViewHisto().
{ EBDetId d(ieta,iphi); return d.ism(); }