CMS 3D CMS Logo

Functions | Variables

getHLTprescales Namespace Reference

Functions

def getPrescalesFromKey
 my $pyPrintTable = "echo 'for X in process.PrescaleService.prescaleTable: print \"%s %s" % (X.pathName.value(), X.prescales[0])'";
def queryRR
def readIndex

Variables

list Absent = []
int absent = 0
string edmCfgFromDB = "edmConfigFromDB --orcoff --format summary.ascii --paths "
tuple index = int(MapIndex[run])
tuple jsonFile = open(options.jsonOut, "w")
dictionary jsout = {}
list key = runKeys[run]
tuple parser = OptionParser(usage="usage: %prog [options] Trigger_Path")
list path = args[0]
dictionary prescaleTable = {}
int psfactor = 1
tuple runKeys = queryRR()
tuple runs = runKeys.keys()

Function Documentation

def getHLTprescales::getPrescalesFromKey (   key)

my $pyPrintTable = "echo 'for X in process.PrescaleService.prescaleTable: print \"%s %s" % (X.pathName.value(), X.prescales[0])'";

Definition at line 21 of file getHLTprescales.py.

00022                             :
00023     #stderr.write("\t%s ...\n" % key);
00024     cmd = ( edmCfgFromDB +" --configName "+key + " | grep -i "+ path + " | tail -1 | awk ' $2 ==\"%s\" {print $NL}' " ) % path
00025     res = commands.getoutput(cmd)
00026     res_split = res.split()
00027     psCols = []
00028     if len(res)>0:
00029         for uu in range(3,len(res_split)-1):
00030                 if uu % 2 == 1:
00031                    psCols.append(res_split[uu])
00032     return psCols
00033 

def getHLTprescales::queryRR ( )

Definition at line 34 of file getHLTprescales.py.

00035              :
00036     stderr.write("Querying run registry for range [%d, %d], group name like %s ...\n" % (options.firstRun, options.lastRun, options.groupName))
00037     import xmlrpclib
00038     import xml.dom.minidom
00039     server = xmlrpclib.ServerProxy(options.rrurl)
00040     run_data = server.DataExporter.export('RUN', 'GLOBAL', 'xml_datasets', "{runNumber} >= %d AND {runNumber} <= %d AND {groupName} like '%s' AND {datasetName} = '/Global/Online/ALL'"  % (options.firstRun, options.lastRun, options.groupName))
00041     ret = {}
00042     xml_data = xml.dom.minidom.parseString(run_data)
00043     xml_runs = xml_data.documentElement.getElementsByTagName("RUN_DATASET")
00044     for xml_run in xml_runs:
00045         ret[xml_run.getElementsByTagName("RUN_NUMBER")[0].firstChild.nodeValue] = xml_run.getElementsByTagName("RUN_HLTKEY")[0].firstChild.nodeValue
00046     return ret

def getHLTprescales::readIndex ( )

Definition at line 47 of file getHLTprescales.py.

00048                :
00049         asciiFile=open("columns.txt","read")
00050         mapIndex={}
00051         fl="go"
00052         while fl:
00053           fl=asciiFile.readline()
00054           if len(fl)>0:
00055                 ll=fl.split()
00056                 runnumber=ll[0]
00057                 pindex=ll[1]
00058                 mapIndex[runnumber]=pindex
00059         asciiFile.close()
00060         return mapIndex
00061 
00062         
MapIndex=readIndex()

Variable Documentation

Definition at line 65 of file getHLTprescales.py.

Definition at line 74 of file getHLTprescales.py.

string getHLTprescales::edmCfgFromDB = "edmConfigFromDB --orcoff --format summary.ascii --paths "

Definition at line 19 of file getHLTprescales.py.

int getHLTprescales::index = int(MapIndex[run])

Definition at line 79 of file getHLTprescales.py.

Referenced by ora::InputRelationalData::addBlobData(), helper::ClusterStorer::addCluster(), ora::InputRelationalData::addData(), edm::IndexIntoFile::addEntry(), edm::Principal::addGroup_(), ora::InputRelationalData::addId(), DetGroupMerger::addSameLevel(), PhysicsTools::TreeReader::addTypeMulti(), PhysicsTools::TreeReader::addTypeSingle(), CastorCondObjectContainer< Item >::addValues(), HcalCholeskyMatrices::addValues(), HcalCondObjectContainer< Item >::addValues(), HcalCovarianceMatrices::addValues(), ora::InputRelationalData::addWhereId(), ora::SelectOperation::addWhereId(), edm::Principal::adjustIndexesAfterProductRegistryAddition(), AlignmentMonitorMuonResiduals::afterAlignment(), reco::Conversion::algoByName(), HcalGeometry::alignmentTransformIndexLocal(), EcalEndcapGeometry::alignmentTransformIndexLocal(), EcalBarrelGeometry::alignmentTransformIndexLocal(), EBTriggerTowerClient::analyze(), TrackerDpgAnalysis::analyze(), JetPlotsExample< Jet >::analyze(), PhotonValidator::analyze(), recoBSVTagInfoValidationAnalyzer::analyze(), SVTagInfoValidationAnalyzer::analyze(), evf::ExceptionGenerator::analyze(), OccupancyPlotter::analyze(), JetTagMVAExtractor::analyze(), JetAnaPythia< Jet >::analyze(), TopElectronHLTOfflineSource::analyze(), HLTJetMETDQMSource::analyze(), VertexHistoryAnalyzer::analyze(), HLTrigReport::analyze(), PrimaryVertexAnalyzer::analyze(), FourVectorHLTriggerOffline::analyze(), HcalDetDiagNoiseMonitor::analyze(), TrackCategoriesAnalyzer::analyze(), GenPurposeSkimmerData::analyze(), JetTagMVATreeTrainer::analyze(), HcalRecHitsValidation::analyze(), EwkMuDQM::analyze(), FourVectorHLT::analyze(), HcalRecHitsAnalyzer::analyze(), PixelVTXMonitor::analyze(), SimplePhotonAnalyzer::analyze(), TrackHistoryAnalyzer::analyze(), HeavyFlavorValidation::analyze(), EETriggerTowerClient::analyze(), TrackingParticleCategoriesAnalyzer::analyze(), EwkElecDQM::analyze(), EwkDQM::analyze(), MuonAlignmentAnalyzer::analyze(), JetTagMVATrainer::analyze(), CaloTowerAnalyzer::analyze(), EcalLaserAnalyzerYousi::analyze(), GeneralHLTOffline::analyze(), PrimaryVertexAnalyzer4PU::analyzeVertexCollection(), gen::PhotosInterface::apply(), HybridNew::applyClsQuantile(), TKinFitter::applyDeltaA(), TKinFitter::applyDeltaY(), RPCConeBuilder::areConnected(), TShapeAnalysis::assignChannel(), reco::PFDisplacedVertexCandidate::associatedElements(), reco::SecondaryVertexTagInfo::TrackData::associatedToVertex(), TrackingTruthProducer::associator(), VEcalCalibBlock::at(), attrEscape(), BackgroundHandler::BackgroundHandler(), HcalTBTiming::BeamCoincidenceHits(), EETrendClient::beginJob(), EBTrendClient::beginJob(), RPCSeedPattern::BestRefRecHit(), HcalTBTiming::BH1Hits(), HcalTBTiming::BH2Hits(), HcalTBTiming::BH3Hits(), HcalTBTiming::BH4Hits(), FWCastorRecHitProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), TOBLayerBuilder::build(), FWPRCaloTowerProxyBuilder::build(), MuonSeedBuilder::build(), FWPCaloHitProxyBuilder::build(), FWZDCRecHitProxyBuilder::build(), FWHBHERecHitProxyBuilder::build(), FWHFRecHitProxyBuilder::build(), PixelBarrelLayerBuilder::build(), FWSimpleProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWHORecHitProxyBuilder::build(), FWEcalRecHitProxyBuilder::build(), gen::AMPTHadronizer::build_ampt(), gen::HijingHadronizer::build_hijing(), gen::HydjetHadronizer::build_hyjet(), pos::PixelNameTranslation::buildROCsFromFEDChannel(), FWSimpleProxyBuilder::buildViewType(), LocalCacheFile::cache(), Averages::calc(), CSCTFPtLUT::calcPt(), CSCHaloAlgo::Calculate(), MedianCommonModeCalculator::calculateCommonMode(), dqmTnP::AbstractFitter::calculateEfficiency(), HcalGeometry::cellGeomPtr(), HcalDDDGeometry::cellGeomPtr(), FWCollectionSummaryTableManager::cellRenderer(), ChamberSegmentUtility::ChamberSegmentUtility(), PFPileUpAlgo::chargedHadronVertex(), RPCSeedPattern::checkSegmentAlgorithmSpecial(), RPCSeedPattern::checkSimplePattern(), TiXmlHandle::Child(), TiXmlHandle::ChildElement(), FWModelContextMenuHandler::chosenItem(), SeedClusterRemover::cleanup(), HLTTrackClusterRemover::cleanup(), TrackClusterRemover::cleanup(), FWFromSliceSelector::clear(), stor::QueueCollection< T >::clearQueue(), evf::FUShmBuffer::clientPrcId(), MuonMillepedeAlgorithm::collect(), ora::MappingRules::columnNameForOID(), HFShower::compute(), HDShower::compute(), HcalSiPMShape::computeShape(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), L1GtVmeWriterCore::condIndex2reg(), RingMaker::constructRings(), VirtualJetProducer::copyConstituents(), MuonAlignmentFromReference::correctBField(), L1RCTParameters::correctedTPGSum(), TCMETAlgo::correctMETforMuon(), TCMETAlgo::correctSumEtForMuon(), reco::GsfComponent5D::covariance(), Numbers::crystals(), L1MuGMTPSB::CSCMuon(), CSCTFSectorProcessor::CSCTFSectorProcessor(), pat::MuonSelector::customSelection_(), pat::ElectronSelector::customSelection_(), HLTConfigData::datasetIndex(), gen::EvtGenInterface::decay(), EcalShapeBase::derivative(), SurveyDet::derivatives(), FWEventItem::destroy(), cscdqm::Detector::Detector(), GenericMVAJetTagComputer::discriminator(), reco::PFBlock::dist(), CachedTrajectory::distance(), RooMinimizerFcnOpt::DoEval(), FWHFTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), evf::FUShmBuffer::dqmState(), L1MuGMTPSB::DTBXMuon(), DTROSWordType::DTROSWordType(), TKStatus::dumpTkDcsStatus(), BeamFitter::dumpTxtFile(), EcalDigiProducer::EcalDigiProducer(), stor::QueueCollection< T >::empty(), cond::IOVRange::end(), cond::IOVProxy::end(), FWModelChangeManager::endChanges(), HcalDetDiagNoiseMonitor::endLuminosityBlock(), EcalEleCalibLooper::endOfLoop(), RPCRecHitValid::endRun(), EcalSimHitsValidProducer::energyInEBMatrix(), EcalSimHitsValidProducer::energyInEEMatrix(), EcalBarrelSimHitsValidation::energyInMatrixEB(), EcalEndcapSimHitsValidation::energyInMatrixEE(), stor::QueueCollection< T >::enqueueEvent_(), edm::RefVector< C, T, F >::erase(), edm::RefVectorBase< key_type >::eraseAtIndex(), MuonAlignmentFromReference::eraseNotSelectedResiduals(), HLTBitVariable::eval(), TrackClassifierByProxy< Collection >::evaluate(), VertexClassifierByProxy< reco::SecondaryVertexTagInfoCollection >::evaluate(), L1GtCaloCondition::evaluateCondition(), L1GtMuonCondition::evaluateCondition(), PFPhotonAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), evf::FUShmBuffer::evtNumber(), evf::FUShmBuffer::evtPrcId(), evf::FUShmBuffer::evtState(), evf::FUShmBuffer::evtTimeStamp(), ora::existAttribute(), HcalCondObjectContainer< Item >::exists(), CastorCondObjectContainer< Item >::exists(), HcalCholeskyMatrices::exists(), HcalCovarianceMatrices::exists(), CastorQIEShape::expand(), HcalQIEShape::expand(), ClusterShapeAlgo::fast_AbsZernikeMoment(), EcalClusterTools::fast_AbsZernikeMoment(), pos::PixelCalibConfiguration::fedCardsAndChannels(), CmsShowSearchFiles::fileEntryChanged(), PedsFullNoiseTask::fill(), PhysicsTools::TreeReader::Value::fill(), ChannelPattern::Fill(), PedestalsTask::fill(), HMassResolutionVSPart::Fill(), VpspScanTask::fill(), PFClusterShapeAlgo::fill5x5Map(), TrackingMaterialPlotter::fill_gradient(), FWHFTowerProxyBuilderBase::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), MixCollectionValidation::fillCaloHitTime(), reco::fillCovariance(), GenParticleProducer::fillDaughters(), EcalSimHitsValidProducer::fillEBMatrix(), EcalBarrelSimHitsValidation::fillEBMatrix(), EcalEndcapSimHitsValidation::fillEEMatrix(), EcalSimHitsValidProducer::fillEEMatrix(), MixCollectionValidation::fillGenParticleMulti(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), edm::fillInProcessIndexes(), edm::fillLookup(), EcalTrigPrimFunctionalAlgo::fillMap(), BTagHLTOfflineSource::fillMEforTriggerNTfired(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), CmsShowModelPopup::fillModelPopup(), MixCollectionValidation::fillMultiplicity(), reco::Mustache::FillMustacheVar(), HcalDeadCellMonitor::fillNevents_recentdigis(), HcalDeadCellMonitor::fillNevents_recentrechits(), MuonAlignmentFromReference::fillNtuple(), evf::fuep::TriggerReportHelpers::fillPathIndexTable(), FWTGeoRecoGeometry::Info::fillPoints(), FWRecoGeometryESProducer::fillPoints(), edm::IndexIntoFile::fillRunOrLumiIndexes(), MixCollectionValidation::fillSimHitTime(), TrigResRateMon::filltestHisto(), HLTRHemisphere::filter(), FWFileEntry::filterEventsWithCustomParser(), find(), edm::LazyGetter< T >::find(), EcalRecHitsValidation::findBarrelMatrix(), EcalDQMBinningService::findBins(), EcalDQMBinningService::findBinsCrystal_(), EcalDQMBinningService::findBinsDCC_(), EcalDQMBinningService::findBinsProjEta_(), EcalDQMBinningService::findBinsProjPhi_(), EcalDQMBinningService::findBinsSuperCrystal_(), EcalDQMBinningService::findBinsTCC_(), EcalDQMBinningService::findBinsTriggerTower_(), CalibratableTest::findCandidatesInDeltaR(), TagInfoMVACategorySelector::findCategory(), FWColorRow::FindColorIndex(), EcalRecHitsValidation::findEndcapMatrix(), L1GctHardwareJetFinder::findFinalClusters(), TrackingMaterialAnalyser::findLayer(), GenParticlesHelper::findParticles(), PFClusterShapeAlgo::findPFRHIndexFromDetId(), CalibratableTest::findPrimarySimParticles(), FFTJetPFPileupCleaner::findSomeVertex(), sistrip::MeanAndStdDev::fit(), ora::MappingRules::fkNameForIdentity(), reco::SecondaryVertexTagInfo::flightDirection(), reco::SecondaryVertexTagInfo::flightDistance(), MuonSeedBuilder::foundMatchingSegment(), stor::QueueCollection< T >::full(), GammaSeries(), JetTagComputer::TagInfoHelper::get(), MuonDigiCollection< IndexType, DigiType >::get(), pat::EventHypothesis::getAs(), JetTagComputer::TagInfoHelper::getBase(), SiStripDelay::getBaseDelay(), DTMuonMillepede::getbcsMatrix(), fwlite::DataGetterHelper::getBranchData(), fwlite::DataGetterHelper::getByLabel(), fwlite::DataGetterHelper::getByProductID(), Gflash::getCalorimeterNumber(), DTMuonMillepede::getCcsMatrix(), CaloSubdetectorGeometry::getClosestCell(), LMFDefFabric::getColor(), GenericMVAComputerCache::getComputer(), VirtualJetProducer::getConstituents(), RxCalculator::getCRx(), ChamberSegmentUtility::getCSCRHmap(), ChamberSegmentUtility::getCSCSegmentsInChamber(), edm::Principal::getExistingGroup(), stor::QueueCollection< T >::getExpirationInterval(), edm::Principal::getGroup(), edm::Principal::getGroupByIndex(), SiStripCorrelateNoise::getHisto(), BscAnalysisHistManager::GetHisto(), SiStripCorrelateBadStripAndNoise::getHisto(), SiStripPlotGain::getHisto(), Fp420AnalysisHistManager::GetHisto(), Fp420AnalysisHistManager::GetHisto2(), BscAnalysisHistManager::GetHisto2(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), EcalEndcapSimHitsValidation::getIdsAroundMax(), EcalBarrelSimHitsValidation::getIdsAroundMax(), SiStripGain::getLabelName(), SiStripDelay::getLabelName(), MuonAssociatorByHits::getMatchedIds(), TKinFitter::getMeasParticle(), HcalDbOnline::getObject(), SiStripGain::getRange(), SiStripGain::getRcdName(), SiStripDelay::getRcdName(), GBRTree2D::GetResponse(), GBRTree::GetResponse(), RxCalculator::getRFx(), RxCalculator::getROx(), RxCalculator::getRx(), CaloGeometry::getSubdetectorGeometry(), SiStripGain::getTagNorm(), SiStripDelay::getTagSign(), cond::getTotalErrors(), HcalTestNumberingScheme::getUnitID(), HcalNumberingScheme::getUnitID(), CastorNumberingScheme::getUnitID(), ZdcNumberingScheme::getUnitID(), TKinFitter::getUnmeasParticle(), CaloGeometry::getValidDetIds(), CastorCondObjectContainer< Item >::getValues(), HcalCholeskyMatrices::getValues(), HcalCondObjectContainer< Item >::getValues(), HcalCovarianceMatrices::getValues(), CachedTrajectory::getWideTrajectory(), gen::Herwig6Instance::give(), CmsShowNavigator::goToRunEvent(), reco::GsfComponent5D::GsfComponent5D(), HcalGenericDetId::hashedId(), HcalRecHitsClient::HcalRecHitsEndjob(), HcalRecHitsDQMClient::HcalRecHitsEndjob(), HFShowerFibreBundle::HFShowerFibreBundle(), HFShowerPMT::HFShowerPMT(), TEcnaHistos::HistoPlot(), HLTTrackerHaloFilter::hltFilter(), HLTSummaryFilter::hltFilter(), CmsShowSearchFiles::hyperlinkClicked(), MuonSeedBuilder::IdentifyShowering(), evf::FUShmBuffer::incEvtDiscard(), HcalHPDRBXMap::indexHPD(), triggerExpression::HLTReader::init(), TShapeAnalysis::init(), HcalRecHitsMaker::init(), pftools::LinearCalibrator::initEijMatrix(), Thrust::initialAxis(), CSCTFSectorProcessor::initialize(), MuonAlignmentFromReference::initialize(), FWColorManager::initialize(), edm::Schedule::initializeEarlyDelete(), edm::ProductRegistry::initializeLookupTables(), MultiGaussianStateTransform::innerMultiState1D(), MuonDigiCollection< IndexType, DigiType >::insertDigi(), MagneticFieldGrid::interpolateAtPoint(), HLTInclusiveVBFSource::isHLTPathAccepted(), JetMETHLTOfflineSource::isHLTPathAccepted(), BTagHLTOfflineSource::isHLTPathAccepted(), lhef::Matching< Delta >::isMatched1st(), btag::Matching< Delta >::isMatched1st(), lhef::Matching< Delta >::isMatched2nd(), RPCCosmicSeedrecHitFinder::isouterLayer(), BTagHLTOfflineSource::isTriggerObjectFound(), JetMETHLTOfflineSource::isTriggerObjectFound(), HLTInclusiveVBFSource::isTriggerObjectFound(), gen::JetMatchingMadgraph::JetMatchingMadgraph(), L1AcceptBunchCrossing::L1AcceptBunchCrossing(), TrackQuality::layer(), DisplayManager::loadGPFBlocks(), CaloTPGTranscoderULUT::loadHCALCompress(), fftjetcms::FFTJetInterface::loadInputCollection(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), HcalTBTiming::M1Hits(), HcalTBTiming::M2Hits(), HcalTBTiming::M3Hits(), main(), L1GctHardwareJetFinder::makeProtoJet(), edmNew::makeRefTo(), edm::makeRefTo(), edm::makeRefToDetSetLazyVector(), edm::makeRefToDetSetRefVector(), edm::makeRefToLazyGetter(), edm::ContainerMask< T >::mask(), pf2pat::TopProjectorAlgo< Top, Bottom >::maskAncestors(), TopProjector< Top, Bottom >::maskAncestors(), ecaldqm::memDCCIndex(), TrackingTruthProducer::mergeBremsstrahlung(), MarkovChainMC::mergeChains(), FWProxyBuilderBase::modelChanges(), HLTConfigData::moduleIndex(), MuonScenarioBuilder::moveCSCSectors(), MuonScenarioBuilder::moveDTSectors(), MultiGaussianStateTransform::multiState1D(), MuonGeometrySanityCheckPoint::MuonGeometrySanityCheckPoint(), HcalDDDGeometry::newCell(), HcalGeometry::newCell(), FWGUIEventDataAdder::newIndexSelected(), ora::MappingRules::newNameForSchemaObject(), cscdqm::Detector::NextAddressBoxByPartition(), HcalQIECoder::offset(), CastorQIECoder::offset(), FWDetailViewManager::openDetailViewFor(), EcalShapeBase::operator()(), edm::UpdateGetterAdapter< T >::operator()(), edm::FindValue< T >::operator()(), edm::LazyAdapter< T >::operator()(), reco::tau::Combinatoric< T >::ValueAccessor::operator()(), Grid3D::operator()(), JetTagMVAExtractor::Index::operator<(), operator<<(), JetTagMVAExtractor::Index::operator==(), edm::RefGetter< T >::operator[](), edm::LazyGetter< T >::operator[](), MultiGaussianStateTransform::outerMultiState1D(), AlignmentSurfaceDeformations::parameters(), MuonAlignmentFromReference::parseReference(), CaloTowerConstituentsMapBuilder::parseTextMap(), ParticleDecayProducer::ParticleDecayProducer(), PFClusterWidthAlgo::PFClusterWidthAlgo(), PFTauMVAInputDiscriminantTranslator::PFTauMVAInputDiscriminantTranslator(), pos::PixelCalibConfiguration::PixelCalibConfiguration(), pos::PixelNameTranslation::PixelNameTranslation(), HDQMInspector::plot(), pftools::LinearCalibrator::populateDetElIndex(), SiStripRegionCabling::position(), evf::FUShmBuffer::postIndex(), TopProjector< Top, Bottom >::printAncestors(), pf2pat::TopProjectorAlgo< Top, Bottom >::printAncestors(), TShapeAnalysis::printshapeData(), ErsatzMEt::probeFinder(), PFAlgoTestBenchElectrons::processBlock(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), HcalBeamMonitor::processEvent(), PFRootEventManagerColin::processHIGH_E_TAUS(), DialogFrame::ProcessMessage(), TrackListCombiner::produce(), pat::PATElectronProducer::produce(), FastTrackMerger::produce(), cms::DigitizerFP420::produce(), PileupInformation::produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >::produce(), SecondaryVertexTagInfoProxy::produce(), GenParticlePruner::produce(), JetTracksAssociationDRCalo::produce(), cms::JetCorrectionProducer< T >::produce(), TrackCandidateProducer::produce(), HITSiStripRawToClustersRoI::produce(), MuonTrackProducer::produce(), pat::PATMuonProducer::produce(), pat::PATTriggerMatchEmbedder< PATObjectType >::produce(), QualityFilter::produce(), pat::PATConversionProducer::produce(), ScalersRawToDigi::produce(), SecondaryVertexProducer::produce(), MuonDigiCollection< IndexType, DigiType >::put(), TShapeAnalysis::putAllVals(), MagneticFieldGrid::putCoordGetInd(), MagneticFieldGrid::putIndGetCoord(), SiPixelTemplate::qbin(), SiStripTemplate::qbin(), SiPixelTemplate::qbin_dist(), evf::FUShmBuffer::rawCellReadyForDiscard(), L1CaloRegionDetId::rctCard(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), DQMRootSource::readElements(), Roads::readInFromAsciiFile(), Rings::readInFromAsciiFile(), CSCTFSectorProcessor::readParameters(), DQMRootSource::readRunAuxiliary_(), MuonAlignmentFromReference::readTmpFiles(), TkPixelMeasurementDet::recHits(), edm::Principal::recombine(), PFRootEventManager::reconstructGenJets(), PFRootEventManager::reconstructPFJets(), fwlite::Record::Record(), GenParticlePruner::recursiveFlagDaughters(), GenParticlePruner::recursiveFlagMothers(), edm::RefGetter< T >::RefGetter(), SiStripRegionCabling::region(), MinL3AlgoUnivErr< IDdet >::registerPartialSolution(), lhef::LHEEvent::removeParticle(), edmplugin::CacheParser::replaceSpaces(), BackgroundHandler::rescale(), resetColors(), FWColorPopup::ResetColors(), edm::Schedule::resetEarlyDelete(), edmplugin::CacheParser::restoreSpaces(), PhotonOfflineClient::retrieveHisto(), ZeeCalibration::ringNumberCorrector(), FWCollectionSummaryTableManager::rowHeader(), L1MuGMTPSB::RPCMuon(), CMSMidpointAlgorithm::run(), EcalTrigPrimFunctionalAlgo::run_part2(), FWEventItem::runFilter(), runInspector(), DTOccupancyTest::runOccupancyTest(), PFPhotonAlgo::RunPFPhoton(), HcalTBTiming::S1Hits(), HcalTBTiming::S2Hits(), HcalTBTiming::S3Hits(), HcalTBTiming::S4Hits(), HcalDetDiagNoiseMonitor::SaveRates(), FWEcalRecHitProxyBuilder::scaleProduct(), FWPFEcalRecHitRPProxyBuilder::scaleProduct(), FWHBHERecHitProxyBuilder::scaleProduct(), reco::SecondaryVertexTagInfo::secondaryVertex(), RPCSeedPattern::SegmentAlgorithmSpecial(), HLTEventSelector::select(), FWViewContextMenuHandlerGL::select(), FWModelExpressionSelector::select(), MuonAlignmentFromReference::selectResidualsPeaks(), CmsShowSearchFiles::sendToWebBrowser(), ElectronDqmAnalyzerBase::setBookIndex(), CalibrationInterface< CategoryT, CalibDataT >::setCalibData(), FWEventItem::setDefaultDisplayProperties(), FWEventItem::setDisplayProperties(), evf::FUShmBuffer::setDqmState(), edm::Path::setEarlyDeleteHelpers(), SimpleL1MuGMTCand::setEta(), CombinedMVAJetTagComputer::setEventSetup(), evf::FUShmBuffer::setEvtDiscard(), evf::FUShmBuffer::setEvtNumber(), evf::FUShmBuffer::setEvtPrcId(), evf::FUShmBuffer::setEvtState(), evf::FUShmBuffer::setEvtTimeStamp(), FWPSetTableManager::setExpanded(), stor::QueueCollection< T >::setExpirationInterval(), HBHEStatusBitSetter::SetFlagsFromDigi(), HBHEStatusBitSetter::SetFlagsFromRecHits(), JetMatchingHook::setHEPEVT(), RPCLogCone::setIdx(), reco::PFDisplacedVertexCandidate::setLink(), reco::PFBlock::setLink(), PFElectronAlgo::SetLinks(), HcalQIECoder::setOffset(), CastorQIECoder::setOffset(), fit::RootMinuit< Function >::setParameters(), DreamSD::setPbWO2MaterialProperties_(), SimpleL1MuGMTCand::setPhi(), reco::PFTrack::setPoint(), SimpleL1MuGMTCand::setPt(), edm::OwnArray< T, MAX_SIZE, P >::setPtr(), edm::OwnVector< T, P >::setPtr(), reco::SoftLeptonProperties::setQuality(), gen::Pythia6Service::setSLHAFromHeader(), HcalQIECoder::setSlope(), CastorQIECoder::setSlope(), CaloGeometry::setSubdetGeometry(), CaloTopology::setSubdetTopology(), FWConvTrackHitsDetailView::setTextInfo(), FWCaloTowerDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), FWTrackHitsDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), edm::IndexIntoFile::IndexIntoFileItrSorted::setToLastEventInRange(), DQMRootSource::setupFile(), SiPixelPerformanceSummary::setValue(), MonitorElement::ShiftFillLast(), FWGUIValidatingTextEntry::showOptions(), CmsShowSearchFiles::showPrefixes(), FWModelContextMenuHandler::showSelectedModelContext(), L1DummyProducer::SimpleDigi(), SiPixelDetSummary::SiPixelDetSummary(), stor::QueueCollection< T >::size(), HcalQIECoder::slope(), CastorQIECoder::slope(), stor::ThroughputMonitorCollection::smoothIdleTimes(), CSCChamberSpecs::specsValue(), TrackingMaterialAnalyser::split(), stor::QueueCollection< T >::stale(), DQMRootOutputModule::startEndFile(), HLTConfigData::streamIndex(), PileUpSubtractor::subtractPedestal(), cond::PayLoadInspector< DataT >::summary(), reco::GsfTrackExtra::tangentDeltaP(), reco::GsfTrackExtra::tangentMomentum(), reco::GsfTrackExtra::tangentPosition(), TauDQMHistPlotter::TauDQMHistPlotter(), SiPixelTemplate::temperrors(), GBRTree2D::TerminalIndex(), GBRTree::TerminalIndex(), TEveElementIter::TEveElementIter(), EcalShapeBase::timeIndex(), HFTimingTrust::timerr_hf(), CSCCFEBTimeSlice::timeSample(), timeshift_ns_hbheho(), timeshift_ns_hf(), reco::SecondaryVertexTagInfo::track(), reco::SecondaryVertexTagInfo::trackData(), reco::SecondaryVertexTagInfo::trackIPData(), reco::PFTrack::trajectoryPoint(), HLTConfigData::triggerIndex(), edm::TriggerNames::TriggerNames(), CSCOfflineMonitor::typeIndex(), CSCValidation::typeIndex(), uniqueElectronFinder(), TrackCategories::unknownTrack(), VertexCategories::unknownVertex(), CSCTFEvent::unpack(), edm::LazyGetter< T >::unpacked(), DCCMemBlock::unpackMemTowerData(), FWPSetTableManager::update(), HcaluLUTTPGCoder::update(), FP420Test::update(), G4StepStatistics::update(), BscTest::update(), gen::EvtGenInterface::update_candlist(), SiStripRawToClustersRoI::updateCabling(), EcalRegionCabling::updateEcalRefGetterWithElementIndex(), EcalRegionCabling::updateEcalRefGetterWithEtaPhi(), HcalDetDiagNoiseMonitor::UpdateHistos(), FWTableView::updateItems(), SiStripRegionCabling::updateSiStripRefGetter(), MeasurementTrackerImpl::updateStrips(), HcalTBTiming::V775(), HLTMuon::validChambers(), PrimaryVertexMonitor::vertexPlots(), sistrip::EnsembleCalibrationLA::write_ensembles_text(), GctFormatTranslateMCLegacy::writeRctEmCandBlocks(), MuonAlignmentFromReference::writeTmpFiles(), and L1GtVmeWriterCore::writeVME().

tuple getHLTprescales::jsonFile = open(options.jsonOut, "w")

Definition at line 108 of file getHLTprescales.py.

dictionary getHLTprescales::jsout = {}

Definition at line 68 of file getHLTprescales.py.

Definition at line 70 of file getHLTprescales.py.

tuple getHLTprescales::parser = OptionParser(usage="usage: %prog [options] Trigger_Path")

Definition at line 6 of file getHLTprescales.py.

list getHLTprescales::path = args[0]

Definition at line 16 of file getHLTprescales.py.

Definition at line 64 of file getHLTprescales.py.

Definition at line 73 of file getHLTprescales.py.

tuple getHLTprescales::runKeys = queryRR()

Definition at line 63 of file getHLTprescales.py.

tuple getHLTprescales::runs = runKeys.keys()

Definition at line 66 of file getHLTprescales.py.