4#include "KVDataTransferXRD.h"
5#include "KVDataRepository.h"
7#include "KVDataSetManager.h"
64 cout <<
"TFile::Cp(\"" << src_full.
Data() <<
"\", \"" << dest_full.
Data() <<
"\")" << endl;
67 TFile::Cp(src_full.
Data(), dest_full.
Data());
const KVString & GetDataType() const
virtual KVDataSetManager * GetDataSetManager() const
Return pointer to data set manager for this repository.
virtual const Char_t * GetFullPathToTransferFile(const KVDataSet *dataset, const Char_t *datatype, const Char_t *runfile)
virtual Bool_t IsConnected()
Always returns kTRUE for local repositories.
const KVNumberList & GetRunList() const
const KVDataSet * GetDataSet() const
KVDataSet * GetDataSet(Int_t) const
Return pointer to DataSet using index in list of all datasets, index>=0.
Manage an experimental dataset corresponding to a given experiment or campaign.
const Char_t * GetRunfileName(const Char_t *type, Int_t run) const
TString GetFullPathToRunfile(const Char_t *type, Int_t run) const
Transfer data from remote repository using xrootd.
virtual void ExecuteCommand()
virtual ~KVDataTransferXRD()
Destructor.
KVDataRepository * fTargetRep
repository where files will be copied
KVDataRepository * fSourceRep
repository containing source files
virtual const char * GetName() const
const char * Data() const
TString & ReplaceAll(const char *s1, const char *s2)