#include "Utilities/StorageFactory/interface/RemoteFile.h"
#include "Utilities/StorageFactory/src/Throw.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <sys/wait.h>
#include <sys/types.h>
#include <cerrno>
#include <cassert>
#include <spawn.h>
#include <unistd.h>
#include <ostream>
#include <cstring>
Go to the source code of this file.
Functions | |
static std::string | join (char **cmd) |
|
static |
Definition at line 18 of file RemoteFile.cc.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, findQualityFiles::size, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by counter.Counter::__add__(), VIDSelectorBase.VIDSelectorBase::__call__(), DOTExport.DotProducer::__call__(), cond2xml.CondXmlProcessor::__del__(), dataset.Dataset::__fileListSnippet(), Mixins._TypedParameterizable::__findDefaultsFor(), dirstructure.Directory::__get_full_path(), alignment.Alignment::__getConditions(), contentValuesCheck.OptionParser::__init__(), tfile.TFileService::__init__(), plottingOptions.PlottingOptionsTrackSplitting::__init__(), Mixins._ValidatingListBase::__init__(), dataset.Dataset::__lumiSelectionSnippet(), DictTypes.SortedKeysDict::__repr__(), python.XML2Python.DataNode::__repr__(), XML2Python.DataNode::__repr__(), svgfig.SVG::__standalone_xml(), TriggerObject.TriggerObject::__str__(), DiObject.DiObject::__str__(), rltinfo.RLTInfo::__str__(), event.Event::__str__(), config.CFG::__str__(), Tau.Tau::__str__(), DiObject.DiElectron::__str__(), analyzer.Analyzer::__str__(), VBF.VBF::__str__(), TriggerAnalyzer::__str__(), counter.Counters::__str__(), psClasses.BuildTreeNodeList::__str__(), ntuplePrintersDiff._DiffResult::__str__(), config.Sequence::__str__(), config.Config::__str__(), BeautifulSoup.Tag::__str__(), PhaseITreeProducer.ModuleLvlValuesReader::__TraverseDirTree(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::__TraverseDirTree(), Vispa.Main.Application.Application::_collectFileExtensions(), validation::_copySubDir(), mps_create_file_lists.FileListCreator::_create_dataset_cff(), mps_create_file_lists.FileListCreator::_create_dataset_ini_section(), mps_create_file_lists.FileListCreator::_create_dataset_txt(), mps_alisetup.SetupAlignment::_create_pede_jobs(), cfg-viewer.unscheduled::_createObjects(), validation.Validation::_doPlots(), validation.SimpleValidation::_doPlots(), validation.Validation::_doPlotsFastFull(), validation.Validation::_doPlotsPileup(), BeautifulSoup.UnicodeDammit::_ebcdic_to_ascii(), mps_alisetup.SetupAlignment::_fetch_datasets(), progressbar.ProgressBar::_format_line(), ntuplePrintersDiff::_formatHitDiffForTwiki(), mps_create_file_lists::_get_properties(), cfg-viewer.unscheduled::_getData(), plotting::_getDirectoryDetailed(), validation.Validation::_getRefFileAndSelection(), chain.Chain::_guessTreeName(), mps_alisetup.SetupAlignment::_handle_process_call(), cfg-viewer.html::_items(), Vispa.Main.Application.Application::_loadPlugins(), ntuplePrintersDiff._RecHitPrinter::_printHits(), ntuplePrintersDiff.TrackingParticlePrinter::_printMatchedTracks(), ntuplePrintersDiff.TrackingParticlePrinter::_printTP(), ntuplePrintersDiff._TrackingParticleMatchPrinter::_printTrackingParticles(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler::_queryTier0DataSvc(), tier0.Tier0Handler::_queryTier0DataSvc(), cfg-viewer.unscheduled::_saveData(), cfg-viewer.html::_scripts(), cfg-viewer.html::_searchitems(), personalPlayback.FrameworkJob::_set_name(), taus_cff::_tauIdWPMask(), mps_create_file_lists.FileListCreator::_write_file_lists(), ConfigBuilder.ConfigBuilder::addCustomise(), confdb.HLTProcess::addEras(), ConfigBuilder.ConfigBuilder::addOutput(), ConfigBuilder.ConfigBuilder::addStandardSequences(), Impl.AlCa.AlCa::alcaHarvesting(), Reco.Reco::alcaHarvesting(), Impl.AlCa.AlCa::alcaSkim(), Reco.Reco::alcaSkim(), Config.Process::analyzerNames(), ConfigBuilder::anyOf(), trackSplittingValidation.TrackSplittingValidation::appendToMerge(), primaryVertexValidation.PrimaryVertexValidation::appendToMerge(), offlineValidation.OfflineValidation::appendToMerge(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), cmsPerfSuiteHarvest::assign_event_content_for_product(), utils_v2::auth_download_file(), Histogrammer.Histogrammer::beginLoop(), DQMEventInfo::bookHistograms(), config.Analyzer::build_name(), config.Service::build_name(), dirstructure.Directory::calcStats(), ValidationMatrix_v2::call_compare_using_files(), CrabHelper.CrabHelper::check_crabtask(), cmsHarvester::check_input_status(), DTWorkflow.DTWorkflow::check_missing_options(), cmsHarvester::check_ref_hist_tag(), models::class_name_to_column(), CommonHcalNoiseRBXData::CommonHcalNoiseRBXData(), ValidationMatrix_v2.ReleaseComparison::compare(), cmsHarvester.CMSHarvester::config_file_header(), mps_setup_new_align::copy_default_templates(), cmsHarvester::create_and_check_castor_dir(), geometry.Alignables::create_children_list(), cmsHarvester::create_crab_config(), cmsHarvester::create_es_prefer_snippet(), cmsHarvester::create_harvesting_config(), cmsHarvester::create_me_extraction_config(), cmsHarvester::create_multicrab_config(), web.dbfile2html::create_page(), tools::create_single_iov_db(), dataset.Dataset::createdatasetfile_hippy(), showPage::createLogFiles(), convertParamsToOnlineFormat::createMIF(), dataset::createMyDataset(), heppy_loop::createOutputDir(), pickleFileCreater::createPickleFile(), genericValidation.ValidationWithPlots::createPlottingScript(), convertParamsToOnlineFormat::createXML(), Photon.Photon::CutBasedIDWP(), MatrixUtil.InputInfo::das(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), web.app_utils::db_list_with_releases(), web.dbfile2html::dbfile2html(), makeLayoutFileForGui::defaults(), cmstc.TagCollector::deprecateReleases(), EnviromentSettings::detectEnviroment(), Utils::dictIO(), python.rootplot.core::diffpart(), directories2html::directory2html(), genericValidation.ValidationWithComparison::doComparison(), SkimsCosmics_cff::documentSkims(), Skims_cff::documentSkims(), SkimsHeavyIons_cff::documentSkims(), plotscripts::doTestsForMapPlots(), DOTExport.DotExport::dotIndenter(), validation.Validation::download(), Utils::dqmSeq(), Config.Process::dumpConfig(), Mixins._Parameterizable::dumpPython(), SequenceTypes.Schedule::dumpPython(), Types.EDAlias::dumpPython(), addOnTests.StandardTester::dumpTest(), lumiReport::dumptocsv(), HTMLExport::elem(), makeLayoutFileForGui::eleRej(), BeautifulSoup.BeautifulStoneSoup::endData(), cmsHarvester.DBSXMLHandler::endElement(), mergeAndRegister::filecheck(), dqmPostProcessing_online::filecheck(), dataDML::fillInRange(), reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), dataDML::fillrunMap(), Config.Process::filterNames(), edmConvertToStreamModule::find_all_module_classes(), dcsonly_json_2012::findFileInPath(), golden_json_2012::findFileInPath(), muon_json_2012::findFileInPath(), golden_json_2015::findFileInPath(), edmTracerLogToSimpleConfig.ConsumesParser::finish(), ztee.GZipLog::flush_block(), cmsHarvester.CMSHarvesterHelpFormatter::format_usage(), connectstrParser.connectstrParser::fullfrontierStr(), submitDQMOfflineCAF::Func_MagConfig(), utils::functor(), relval_steps::gen2018HiMix(), pkg.AbstractPkg::generate(), models::generate(), condformats_serialization_generate.SerializationCodeGenerator::generate(), generate2023Geometry::generateGeom(), RemoteFile::get(), rrapi.RRApi::get(), util.rrapi.RRApi::get(), core.autovars.NTupleCollection::get_cpp_declaration(), web.app_utils::get_dataset_name(), web.app_utils::get_directory_summary_stats(), cmsPerfSuiteHarvest::get_modules_sequences_relationships(), python.rootplot.core::get_plotpath(), condformats_serialization_generate::get_serializable_classes_members(), utils_v2::get_size_to_download(), directories2html::get_subdirs_section(), dirstructure.Directory::get_summary_chart_name(), utils_v2::get_version(), betterConfigParser.BetterConfigParser::getAlignments(), python.Lumis::getByLabel(), python.Runs::getByLabel(), python.Events::getByLabel(), LumiList.LumiList::getCMSSWString(), dataset::getDatasetFromCache(), ECFAdder::getECF(), filesFinder::getFilePathsFromWalk(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectContent(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectLabel(), makeHLTPrescaleTable::getProcessObjectFromConfDB(), confdb.HLTProcess::getRawConfigurationFromDB(), genericValidation.GenericValidationData_CTSR::getRepMap(), dataset.Dataset::getrunnumberfromfilename(), trackselectionRefitting::getSequence(), confdb.HLTProcess::getSetupConfigurationFromDB(), GlobalTag::GlobalTag(), dqmMemoryStats.HistogramAnalyzer::group(), mps_create_file_lists::guess_run(), edmPickEvents::guessEmail(), heppy_hadd::hadd(), heppy_hadd::haddChunks(), heppy_hadd::haddRec(), esMonitoring.AsyncLineReaderMixin::handle_close(), esMonitoring.AsyncLineReaderMixin::handle_read(), queryDataSource::hltFromOldLumi(), queryDataSource::hltFromRuninfoV2(), VIDSelectorBase::id_generator(), fit::RootMinuitCommands< Function >::init(), fileTransfer::injectFile(), confdb.HLTProcess::instrumentOpenMode(), python.rootplot.tree2hists::join_cuts(), Vispa.Plugins.EdmBrowser.EventContentDataAccessor.EventContentDataAccessor::label(), makeLayoutFileForGui::layDefaults(), MatrixToProcess.MatrixToProcess::listAll(), cfg-viewer::listBase(), conddblib::listObject(), create_public_lumi_plots::loadCertificationJSON(), python.rootplot.utilities::loadROOT(), dqm_interfaces.DQMcommunicator::ls(), MatrixUtil.InputInfo::lumiRanges(), MatrixUtil.InputInfo::lumis(), generateStandaloneCode::main(), magneticFieldFilterJSON::main(), mps_parse_pedechi2hist::main(), mps_setup_new_align::main(), das::main(), confdbOfflineConverter::main(), validateAlignments::main(), cfg-viewer::main(), timingPdfMaker::maininfo(), python.rootplot.tree2hists::make_all_hists_all_files(), python.rootplot.core::make_html_index(), directories2html::make_summary_table(), gen.GeneratorAnalyzer.GeneratorAnalyzer::makeMCInfo(), DOTExport.DotProducer::makePath(), python.rootplot.core::merge_pdf(), autoSkim::mergeMapping(), miniAodFiles::miniAodFiles(), timingPdfMaker::moduleinfo(), EnablePSetHistory::new_dumpHistory(), EnablePSetHistory::new_dumpModifications(), Vispa.Main.Application.Application::openFileDialog(), cmsHarvester.CMSHarvester::option_handler_harvesting_mode(), cmsHarvester.CMSHarvester::option_handler_harvesting_type(), cmsPerfSuite.PerfSuite::optionParse(), cmsDriverOptions::OptionsFromItems(), TreeCrawler::packageNameFromFilename(), SpecificationBuilder_cfi::parent(), uploadConditions::parse_arguments(), python.rootplot.core::parse_arguments(), iniparser.ConfigData::parseConfig(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::parseGeneralInfo(), Config.Process::pathNames(), timingPdfMaker::pathsinfo(), plotscripts::phiedges2c(), create_public_lumi_plots::PlotAllYears(), cmsswPreprocessor.CmsswPreprocessor::prefetchOneXrootdFile(), python.rootplot.core::prep_first_draw(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_SKIM(), batchmanager.BatchManager::PrepareJob(), ntuplePrintersDiff.TrackPrinter::printHeader(), ntuplePrintersDiff.TrackingParticlePrinter::printHits(), PhysicsObjects::printOut(), edmStreamStallGrapher::printStalledModulesInOrder(), SimpleJetAnalyzer.SimpleJetAnalyzer::process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), DOTExport.DotExport::processMap(), HTMLExport.HTMLExportStatic::produce(), DOTExport.DotProducer::produceNodes(), Config.Process::producerNames(), Config.Process::prune(), confdbOfflineConverter.OfflineConverter::query(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::readConnections(), PhaseITreeProducer.ModuleLvlValuesReader::ReadHistograms(), TH2PolyOfflineMaps.TH2PolyOfflineMaps::ReadHistograms(), MatrixReader.MatrixReader::readMatrix(), pickleFileParser::readPicFiles(), lumiPatch::recalibrateLumiForRun(), python.rootplot.rootinfo::recurse_thru_file(), utils_v2::recursive_search_online(), BeautifulSoup.Tag::renderContents(), edmIntegrityCheck.IntegrityCheck::report(), contrib::CMSBoostedTauSeedingAlgorithm::result(), CMSTopTagger::result(), HEPTopTaggerV2::result(), python.rootplot.core::rootplot(), parseEventContent::rule_to_regexp(), external::HEPTopTaggerV2_fixed_R::run(), CATopJetAlgorithm::run(), showPage::run(), dqm_interfaces.DirWalkerDB::run(), production_tasks.RunCMSBatch::run(), production_tasks.MonitorJobs::run(), tools::run_checked(), cms::CSJetProducer::runAlgorithm(), cmsPerfSuite.PerfSuite::runCmdSet(), validateAlignments.ParallelMergeJob::runJob(), heppy_loop::runLoop(), cmsCodeRulesChecker::runRules(), MatrixRunner.MatrixRunner::runTests(), SpecificationBuilder_cfi.Specification::saveAll(), Vispa.Main.Application.Application::saveFileAsDialog(), makeLayoutFileForGui::sCone(), dataformats::search(), runregparse::searchrun(), o2o_helper::send_mail(), query::sendMessage(), MatrixReader.MatrixReader::showRaw(), makeLayoutFileForGui::sizeSumpt(), Reco.Reco::skimming(), timingPdfMaker::specificpathinfo(), svgfig.SVG::standalone_xml(), personalPlayback.FrameworkJob::start_run(), Utils::stepALCAPRODUCER(), Utils::stepSKIMPRODUCER(), genericValidation.ValidationWithPlotsSummaryBase::summaryitemsstring(), Vispa.Main.TabController.TabController::supportedFileFilters(), svgfig.Path::SVG(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker::test_coverage(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker::test_systematics_values_vs_centrals(), main::tmpl_dir(), lumiReport::toCSVLumiByLSXing(), lumiReport::toScreenConfHlt(), lumiReport::toScreenHeader(), lumiReport::toScreenLSBeam(), lumiReport::toScreenLSHlt(), lumiReport::toScreenLSTrg(), lumiReport::toScreenSingleTag(), lumiReport::toScreenTotEffective(), svgfig.SVG::tree(), queryDataSource::trgFromOldLumi(), BeautifulSoup.BeautifulStoneSoup::unknown_starttag(), o2o_helper::upload_payload(), dqmd_manager::usage(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::uses(), web_templates::usual_validation_dataset_template(), presentation.ValidationPlots::validationclass(), HEPTopTaggerV2Structure::W(), compare_using_files_v2.RootFileComparison::walk_through(), wordWrappers::wrap_always(), dataformats::wrap_always(), wordWrappers::wrap_onspace_strict(), rltinfo.RLTInfo::write(), electronStore.flushfile::write(), presentation.SubsectionBase::write(), betterConfigParser.BetterConfigParser::write(), DQMIO2histo.DQMIO::write_to_file(), MCScenario_CRAFT1_22X::write_xml(), cmsRelvalreportInput::writeCommands(), crabConfigParser.CrabConfigParser::writeCrabConfig(), dataset::writeDatasetToCache(), presentation::writePage(), cmsRelvalreportInput::writeUnprofiledSteps(), MCScenario_CRAFT1_22X.Alignable::writeXML(), MCScenario_CRAFT1_22X.Position::writeXML(), MCScenario_CRAFT1_22X.Operation::writeXML(), geometryXMLparser.MuonGeometry::xml(), and svgfig.SVG::xml().