Functions | |
def | check_proxy () |
def | findInJson (jsondict, strings) |
def | getData (dasQuery, dasLimit=0) |
def | main () |
def | parseArguments () |
Variables | |
action | |
def | commandLineArguments = parseArguments() |
dasData = das_client.get_data(dasQuery, dasLimit) | |
default | |
description | |
def | error = findInJson(jsondict,["data","error"]) |
formatter_class | |
help | |
int | i = 0 |
inputFile = open(commandLineArguments.input,"r") | |
inputFileList = inputFile.readlines() | |
jsondict = json.loads( dasData ) | |
string | jsonfile = "das_query_output_%i.txt" |
def | jsonstr = findInJson(jsondict,"reason") |
string | msg = "The DAS query returned an error. The output is very long, and has been stored in:\n" + jsonfile |
def | myData = getData("run file={}".format(inputFile)) |
list | myRunsArray = [] |
outputFile = open(outputFileName, "w") | |
def | outputFileName = commandLineArguments.output |
parser | |
required | |
dictionary | runDictionary = {} |
runNumber = jsonDictionary["run_number"] | |
stdout = dump) | |
list | strings = [ strings ] |
theFile = open( jsonfile, "w" ) | |
def makeListRunsInFiles.check_proxy | ( | ) |
def makeListRunsInFiles.findInJson | ( | jsondict, | |
strings | |||
) |
Definition at line 36 of file makeListRunsInFiles.py.
def makeListRunsInFiles.getData | ( | dasQuery, | |
dasLimit = 0 |
|||
) |
Definition at line 62 of file makeListRunsInFiles.py.
def makeListRunsInFiles.main | ( | ) |
def makeListRunsInFiles.parseArguments | ( | ) |
Definition at line 11 of file makeListRunsInFiles.py.
makeListRunsInFiles.action |
Definition at line 16 of file makeListRunsInFiles.py.
def makeListRunsInFiles.commandLineArguments = parseArguments() |
Main program
Definition at line 109 of file makeListRunsInFiles.py.
makeListRunsInFiles.dasData = das_client.get_data(dasQuery, dasLimit) |
Get data from DAS query. Code copy-pasted from dataset.py
Definition at line 66 of file makeListRunsInFiles.py.
makeListRunsInFiles.default |
Definition at line 17 of file makeListRunsInFiles.py.
makeListRunsInFiles.description |
Definition at line 15 of file makeListRunsInFiles.py.
Referenced by optutl::VariableMapCont._checkKey(), TFileDirectory._mkdir(), cms::cuda.abortOnCudaError(), cms::rocm.abortOnError(), cms::cuda.abortOnNvmlError(), cms::rocm.abortOnRsmiError(), edm::eventsetup::looper.addFinderTo(), edm::eventsetup.addProviderTo(), edm::eventsetup::looper.addProviderTo(), edm::eventsetup::ComponentMaker< edm::eventsetup::LooperMakerTraits, TType >.addTo(), algorithm(), edm::EventProcessor.beginJob(), edm.checkForModuleDependencyCorrectness(), ConfFitterBuilder< O >.ConfFitterBuilder(), ConfRecoBuilder< O >.ConfRecoBuilder(), sistrip::SpyEventMatcher.constructSource(), cond::persistency.copyIov(), edm::eventsetup::ComponentMakerBaseHelper.createComponentDescription(), SiStripHistoId.createHistoId(), SiStripHistoId.createHistoLayer(), createObject(), cms::cuda.cudaCheck_(), SiStripConfigDb.deviceAddress(), FastTimerService::PlotsPerPath.fill(), FastTimerService::PlotsPerProcess.fill(), edm::RawInputSource.fillDescription(), L1GTEvaluationProducer.fillDescriptions(), l1t::L1GTProducer.fillDescriptions(), L1GTAlgoBlockProducer.fillDescriptions(), edm.fillMaxEventsDescription(), edm.fillMaxLuminosityBlocksDescription(), edm.fillMaxSecondsUntilRampdownDescription(), edm.fillOptionsDescription(), getCollection(), cond::persistency::TAG::Table.getMetadata(), L1TCorrelatorLayer1PatternFileWriter.getParameterSetDescription(), cms::rocm.hipCheck_(), cond::persistency.importIovs(), ExpressionHisto< T >.initialize(), cond::persistency::GLOBAL_TAG::Table.insert(), cond::persistency::TAG::Table.insert(), edm::SubProcess.keepOnlyConsumedUnscheduledModules(), edm.nonConsumedUnscheduledModules(), ExceptionHandler.Notify(), cms::cuda.nvmlCheck_(), edm::service::RandomNumberGeneratorService.preModuleConstruction(), edm::service::RandomNumberGeneratorService.preModuleDestruction(), p2eg::Cluster.printClusterInfo(), edm::ConfigurationDescriptions.printForLabel(), p2eg::GCTcluster_t.printGCTClusterInfo(), p2eg::GCTtower_t.printGCTTowerInfoFromGlobalIdx(), p2eg::SimpleCaloHit.printHitInfo(), p2eg.printl1tp2TowerInfo(), optutl::CommandLineParser.printOptionValues(), edm::PathsAndConsumesOfModules.removeModules(), edm::WorkerT< T >.resolvePutIndicies(), cms::rocm.rsmiCheck_(), cond::persistency::GLOBAL_TAG::Table.select(), SiStripCondObjBuilderFromDb.setValuesCabling(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >.TwoObjectVariable(), cond::persistency::GLOBAL_TAG::Table.update(), cond::persistency::TAG::Table.updateMetadata(), edm.validateTopLevelParameterSets(), l1tVertexFinder::VertexNTupler.VertexNTupler(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.write(), npstat::StorableInterpolationFunctor< Numeric, Axis, Converter >.write(), edm::OutputModuleCommunicatorT< T >.writeLumiAsync(), edm::OutputModuleCommunicatorT< T >.writeProcessBlockAsync(), and edm::OutputModuleCommunicatorT< T >.writeRunAsync().
makeListRunsInFiles.error = findInJson(jsondict,["data","error"]) |
Definition at line 73 of file makeListRunsInFiles.py.
makeListRunsInFiles.formatter_class |
Definition at line 15 of file makeListRunsInFiles.py.
makeListRunsInFiles.help |
Definition at line 16 of file makeListRunsInFiles.py.
int makeListRunsInFiles.i = 0 |
Definition at line 83 of file makeListRunsInFiles.py.
makeListRunsInFiles.inputFile = open(commandLineArguments.input,"r") |
Definition at line 112 of file makeListRunsInFiles.py.
Referenced by GBRForestWriter.analyze(), edm::JobReport::JobReportImpl.associateInputLumiSection(), edm::JobReport::JobReportImpl.associateInputRun(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >.beginEvent(), AntiElectronIDMVA6< TauType, ElectronType >.beginEvent(), PPSModifySingularModes.beginRun(), TauDQMFileLoader::cfgEntryFileSet.cfgEntryFileSet(), LaserSorter.closeOutStream(), cond::auth::DecodingKey.createFromInputFile(), EffectiveAreas.EffectiveAreas(), EmulateCPPF.EmulateCPPF(), TauDQMFileLoader.endRun(), edm::JobReport::JobReportImpl.flushFiles(), matrixSaver.getConcreteMatrixVector(), WatcherStreamFileReader.getHeader(), edm::JobReport::JobReportImpl.getInputFileForToken(), matrixSaver.getMatrix(), matrixSaver.getMatrixVector(), WatcherStreamFileReader.getNextEvent(), METCorrectorParametersCollection.getSections(), MEtXYcorrectParametersCollection.getSections(), JetCorrectorParametersCollection.getSections(), HCovarianceVSParts.HCovarianceVSParts(), HCovarianceVSxy.HCovarianceVSxy(), jetHtPlotter(), PlotAlignmentValidation.loadFileList(), PFMETAlgorithmMVA.loadMVAfromFile(), main(), makePlots(), MaterialEffects.MaterialEffects(), WatcherStreamFileReader.newHeader(), NuclearInteractionSimulator.NuclearInteractionSimulator(), L1GtVhdlTemplateFile.open(), DCCTBDataParser.parseFile(), PlotAlignmentValidation.PlotAlignmentValidation(), PlotAlignmentValidation.plotChi2(), cond::XMLAuthenticationService::XMLAuthenticationService.processFile(), ptHatFilesAndValues(), cond::FileReader.read(), SiStripDetInfoFileReader.read(), NuclearInteractionSimulator.read(), fastsim::NuclearInteraction.read(), StoreEcalCondition.readEcalADCToGeVConstantFromFile(), StoreEcalCondition.readEcalChannelStatusFromFile(), StoreEcalCondition.readEcalGainRatiosFromFile(), StoreEcalCondition.readEcalIntercalibConstantsFromFile(), StoreEcalCondition.readEcalIntercalibConstantsMCFromFile(), StoreEcalCondition.readEcalPFRecHitThresholdsFromFile(), StoreEcalCondition.readEcalTBWeightsFromFile(), StoreEcalCondition.readEcalWeightXtalGroupsFromFile(), StoreESCondition.readESChannelStatusFromFile(), StoreESCondition.readESEEIntercalibConstantsFromFile(), StoreESCondition.readESGainFromFile(), StoreESCondition.readESIntercalibConstantsFromFile(), StoreESCondition.readESMissingEnergyFromFile(), StoreESCondition.readESPedestalsFromFile(), StoreESCondition.readESRecHitRatioCutsFromFile(), StoreESCondition.readESThresholdsFromFile(), StoreESCondition.readESTimeSampleWeightsFromFile(), popcon::EcalTPGPhysicsConstHandler.readFromFile(), popcon::EcalTPGLinConstHandler.readFromFile(), popcon::EcalTPGLutIdMapHandler.readFromFile(), popcon::EcalTPGFineGrainEBIdMapHandler.readFromFile(), popcon::EcalTPGBadXTHandler.readFromFile(), popcon::EcalTPGFineGrainEBGroupHandler.readFromFile(), popcon::EcalTPGBadStripHandler.readFromFile(), popcon::EcalTPGBadTTHandler.readFromFile(), popcon::EcalTPGOddWeightIdMapHandler.readFromFile(), popcon::EcalTPGTPModeHandler.readFromFile(), popcon::EcalTPGWeightIdMapHandler.readFromFile(), popcon::EcalTPGSlidingWindowHandler.readFromFile(), popcon::EcalTPGFineGrainTowerEEHandler.readFromFile(), popcon::EcalTPGPedestalsHandler.readFromFile(), popcon::EcalTPGFineGrainStripEEHandler.readFromFile(), popcon::EcalTPGSpikeThresholdHandler.readFromFile(), popcon::EcalTPGWeightGroupHandler.readFromFile(), popcon::EcalTPGOddWeightGroupHandler.readFromFile(), popcon::EcalTPGLutGroupHandler.readFromFile(), jsoncollector::FileIO.readStringFromFile(), runAndLumiLists(), Herwig::HerwigUIProvider.setRunMode(), matrixSaver.touch(), popcon::EcalTPGLutIdMapHandler.writeFile(), popcon::EcalTPGPhysicsConstHandler.writeFile(), popcon::EcalTPGFineGrainEBIdMapHandler.writeFile(), popcon::EcalTPGLinConstHandler.writeFile(), popcon::EcalTPGBadXTHandler.writeFile(), popcon::EcalTPGBadTTHandler.writeFile(), popcon::EcalTPGBadStripHandler.writeFile(), popcon::EcalTPGFineGrainEBGroupHandler.writeFile(), popcon::EcalTPGWeightIdMapHandler.writeFile(), popcon::EcalTPGTPModeHandler.writeFile(), popcon::EcalTPGOddWeightIdMapHandler.writeFile(), popcon::EcalTPGSlidingWindowHandler.writeFile(), popcon::EcalTPGFineGrainTowerEEHandler.writeFile(), popcon::EcalTPGFineGrainStripEEHandler.writeFile(), popcon::EcalTPGPedestalsHandler.writeFile(), popcon::EcalTPGSpikeThresholdHandler.writeFile(), popcon::EcalTPGLutGroupHandler.writeFile(), popcon::EcalTPGOddWeightGroupHandler.writeFile(), and popcon::EcalTPGWeightGroupHandler.writeFile().
makeListRunsInFiles.inputFileList = inputFile.readlines() |
Definition at line 113 of file makeListRunsInFiles.py.
Referenced by TauDQMFileLoader::cfgEntryFileSet.cfgEntryFileSet(), and HcalCalibrator.endJob().
makeListRunsInFiles.jsondict = json.loads( dasData ) |
Definition at line 68 of file makeListRunsInFiles.py.
string makeListRunsInFiles.jsonfile = "das_query_output_%i.txt" |
Definition at line 82 of file makeListRunsInFiles.py.
makeListRunsInFiles.jsonstr = findInJson(jsondict,"reason") |
Definition at line 78 of file makeListRunsInFiles.py.
string makeListRunsInFiles.msg = "The DAS query returned an error. The output is very long, and has been stored in:\n" + jsonfile |
Definition at line 90 of file makeListRunsInFiles.py.
Definition at line 121 of file makeListRunsInFiles.py.
Referenced by DCCTBDataParser.parseFile().
list makeListRunsInFiles.myRunsArray = [] |
Definition at line 123 of file makeListRunsInFiles.py.
makeListRunsInFiles.outputFile = open(outputFileName, "w") |
Definition at line 138 of file makeListRunsInFiles.py.
def makeListRunsInFiles.outputFileName = commandLineArguments.output |
Definition at line 137 of file makeListRunsInFiles.py.
Referenced by SiStripMonitorQuality.dqmEndRun(), SiStripMonitorRawData.dqmEndRun(), LogMessageMonitor.endJob(), TkConvValidator.endJob(), main(), makePlots(), PlotAlignmentValidation.plotOutlierModules(), SiStripClassToMonitorCondData.save(), matrixSaver.saveMatrix(), TagProbeFitter.TagProbeFitter(), vizualizationScript(), L1GtVhdlWriterCore.writeAlgoSetup(), L1GtVhdlWriterCore.writeConditionChipSetup(), and DTCalibrationMap.writeConsts().
makeListRunsInFiles.parser |
Parse the control line arguments
Definition at line 15 of file makeListRunsInFiles.py.
makeListRunsInFiles.required |
Definition at line 16 of file makeListRunsInFiles.py.
dictionary makeListRunsInFiles.runDictionary = {} |
Definition at line 117 of file makeListRunsInFiles.py.
makeListRunsInFiles.runNumber = jsonDictionary["run_number"] |
Definition at line 129 of file makeListRunsInFiles.py.
makeListRunsInFiles.stdout = dump) |
Check if GRID proxy has been initialized.
Definition at line 30 of file makeListRunsInFiles.py.
list makeListRunsInFiles.strings = [ strings ] |
Find string from json file. Code copy-pasted from dataset.py
Definition at line 41 of file makeListRunsInFiles.py.
Referenced by DQMMessageLogger.bookHistograms(), edm.decode(), edm.encode(), UniqueStringProducer.fillDescriptions(), edm::service::CPU.getModelFromCPUFeatures(), edm::ParameterSet.getParameterNamesForType(), edm.operator<<(), edm.ParameterSet::getParameterNamesForType< std::vector< PdtEntry > >(), dqm::implementation::DQMStore.printTrace(), edm.regexMatch(), UniqueStringProducer.UniqueStringProducer(), and hcaltb::HcalTBSlowDataUnpacker.unpackMaps().
makeListRunsInFiles.theFile = open( jsonfile, "w" ) |
Definition at line 87 of file makeListRunsInFiles.py.
Referenced by DTTTrigCalibration.analyze(), CSCEfficiency.CSCEfficiency(), DTTTrigCalibration.DTTTrigCalibration(), DTTTrigCalibration.endJob(), HcalForwardAnalysis.init(), MultipleScatteringX0Data.MultipleScatteringX0Data(), RootNeutronWriter.RootNeutronWriter(), CSCValHists.writeHists(), CSCValHists.writeTrees(), CSCEfficiency.~CSCEfficiency(), DTTTrigCalibration.~DTTTrigCalibration(), fastsim::NuclearInteraction.~NuclearInteraction(), and RootNeutronWriter.~RootNeutronWriter().