KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDataTransferDMS.cpp
1
#include "KVDataTransferDMS.h"
2
#include "KVDataSetManager.h"
3
4
ClassImp
(
KVDataTransferDMS
)
5
6
7
9
10
void
KVDataTransferDMS
::ExecuteCommand()
11
{
12
// loop over runs
13
GetRunList().Begin();
14
while
(!GetRunList().
End
()) {
15
16
Int_t
irun = GetRunList().Next();
17
18
// name of file to transfer
19
TString
file_name
= GetDataSet()->GetRunfileName(
GetDataType
(), irun);
20
21
// full path to destination in target repository
22
KVDataSet
* targ_ds = fTargetRep->GetDataSetManager()->GetDataSet(GetDataSet()->GetName());
23
TString
dest_full = fTargetRep->GetFullPathToTransferFile(targ_ds,
GetDataType
(),
file_name
);
24
25
// copy file
26
fSourceRep->CopyFileFromRepository(GetDataSet(),
GetDataType
(),
file_name
, dest_full);
27
}
28
}
29
30
31
32
33
Int_t
int Int_t
KVDataSet
Manage an experimental dataset corresponding to a given experiment or campaign.
Definition
KVDataSet.h:35
KVDataTransferDMS
Transfer data from/to a DMS data repository.
Definition
KVDataTransferDMS.h:23
file_name
tuple file_name
GetDataType
BinData::ErrorType GetDataType(const TGraph *gr, DataOptions &fitOpt)
End
void End()
TString
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
KVMultiDet
analysis
KVDataTransferDMS.cpp
Generated on Wed Oct 23 2024 12:45:19 for KaliVeda by
1.9.8