|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef SAMPLE_HANDLER__GRID_TOOLS_H
6 #define SAMPLE_HANDLER__GRID_TOOLS_H
56 [[
deprecated(
"please use rucioDirectAccessGlob instead")]]
57 std::vector<std::string>
71 [[
deprecated(
"please use rucioDirectAccessRegex instead")]]
72 std::vector<std::string>
85 std::vector<std::string>
87 const std::string& selectOptions);
100 std::vector<std::string>
102 const std::string& selectOptions);
124 std::vector<RucioListDidsEntry>
157 std::vector<RucioListFileReplicasEntry>
169 std::map<std::string,std::unique_ptr<MetaObject> >
197 std::vector<RucioDownloadResult>
199 const std::vector<std::string>& datasets);
209 std::vector<std::string>
212 const std::string& fileGlob);
std::vector< std::string > 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...
std::vector< RucioListDidsEntry > rucioListDids(const std::string &dataset)
run rucio-list-dids for the given dataset
bool checkVomsProxy()
return whether we have a valid VOMS proxy available
std::string adler32
the checksum
std::vector< std::string > 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 (...
std::vector< RucioListFileReplicasEntry > rucioListFileReplicas(const std::string &dataset)
run rucio-list-file-replicas for the given dataset
std::string replica
the replica
one entry from the rucio-list-file-replicas command
std::vector< std::string > 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 (...
std::string filesize
the file size
std::string scope
the scope
one entry from the rucio-list-dids command
std::string scope
the scope
std::map< std::string, std::unique_ptr< MetaObject > > rucioGetMetadata(const std::set< std::string > &datasets)
run rucio-get-metadata for the given list of datasets
RucioDownloadResult rucioDownload(const std::string &location, const std::string &dataset)
run rucio-download
void ensureVomsProxy()
ensure that we have a valid VOMS proxy available
std::vector< std::string > rucioCacheDatasetGlob(const std::string &location, const std::string &dataset, const std::string &fileGlob)
download the dataset, and return a list matching the pattern
the result from rucio_download
const std::string & downloadStageEnvVar()
the name of the environment variable containing the directory for staging files from the grid
This module provides a lot of global definitions, forward declarations and includes that are used by ...
std::vector< RucioDownloadResult > rucioDownloadList(const std::string &location, const std::vector< std::string > &datasets)
run rucio-download with multiple datasets
std::vector< std::string > 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...
std::string disk
the disk the replica is on