ATLAS Offline Software
Classes | Namespaces | Functions
GridTools.h File Reference
#include <SampleHandler/Global.h>
#include <AsgMessaging/MessageCheck.h>
#include <map>
#include <memory>
#include <set>
#include <vector>
Include dependency graph for GridTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SH::RucioListDidsEntry
 one entry from the rucio-list-dids command More...
 
struct  SH::RucioListFileReplicasEntry
 one entry from the rucio-list-file-replicas command More...
 
struct  SH::RucioDownloadResult
 the result from rucio_download More...
 

Namespaces

 SH
 This module provides a lot of global definitions, forward declarations and includes that are used by all modules.
 

Functions

const std::string & SH::downloadStageEnvVar ()
 the name of the environment variable containing the directory for staging files from the grid More...
 
bool SH::checkVomsProxy ()
 return whether we have a valid VOMS proxy available More...
 
void SH::ensureVomsProxy ()
 ensure that we have a valid VOMS proxy available More...
 
std::vector< std::string > SH::faxListFilesGlob (const std::string &name, const std::string &filter)
 list the FAX URLs for all the files in the dataset or dataset container matching the given filter (as glob expression) More...
 
std::vector< std::string > SH::faxListFilesRegex (const std::string &name, const std::string &filter)
 list the FAX URLs for all the files in the dataset or dataset container matching the given filter (as regular expression) More...
 
std::vector< std::string > SH::rucioDirectAccessGlob (const std::string &name, const std::string &filter, const std::string &selectOptions)
 list the rucio URLs for all the files in the dataset or dataset container matching the given filter (as glob expression) More...
 
std::vector< std::string > SH::rucioDirectAccessRegex (const std::string &name, const std::string &filter, const std::string &selectOptions)
 list the rucio URLs for all the files in the dataset or dataset container matching the given filter (as regular expression) More...
 
std::vector< RucioListDidsEntry > SH::rucioListDids (const std::string &dataset)
 run rucio-list-dids for the given dataset More...
 
std::vector< RucioListFileReplicasEntry > SH::rucioListFileReplicas (const std::string &dataset)
 run rucio-list-file-replicas for the given dataset More...
 
std::map< std::string, std::unique_ptr< MetaObject > > SH::rucioGetMetadata (const std::set< std::string > &datasets)
 run rucio-get-metadata for the given list of datasets More...
 
RucioDownloadResult SH::rucioDownload (const std::string &location, const std::string &dataset)
 run rucio-download More...
 
std::vector< RucioDownloadResult > SH::rucioDownloadList (const std::string &location, const std::vector< std::string > &datasets)
 run rucio-download with multiple datasets More...
 
std::vector< std::string > SH::rucioCacheDatasetGlob (const std::string &location, const std::string &dataset, const std::string &fileGlob)
 download the dataset, and return a list matching the pattern More...