10#include "KVRemoteAvailableRunsFile.h"
11#include "KVDataRepository.h"
77 (
"%s.DataRepository.RemoteAvailableRuns.protocol",
127 Warning(
"OpenAvailableRunsFile(ifstream& runlist)",
128 "%s.DataRepository.RemoteAvailableRuns.url is not defined. See $KVROOT/KVFiles/.kvrootrc",
148 Error(
"OpenAvailableRunsFile",
149 "Cannot open temp file to copy remote runlist file");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
char * Form(const char *fmt,...)
R__EXTERN TSystem * gSystem
Handles lists of available runs for different datasets and types of data.
const KVDataSet * GetDataSet() const
const Char_t * GetFileName() const
KVLockfile runlist_lock
for locking runlist file
std::ifstream fRunlist
for reading runlist file
static Bool_t FindExecutable(TString &exec, const Char_t *path="$(PATH)")
static void GetTempFileName(TString &base)
Manage an experimental dataset corresponding to a given experiment or campaign.
Bool_t Lock(const Char_t *filename="")
List of available runfiles in a remote data repository.
KVRemoteAvailableRunsFile()
default Constructor
virtual void CloseAvailableRunsFile()
virtual ~KVRemoteAvailableRunsFile()
TString fCurl
full path to executable used to copy files
TString fFilePath
full path to copy of remote file kept in temp dir
virtual Bool_t OpenAvailableRunsFile()
virtual const char * GetValue(const char *name, const char *dflt) const
const char * GetName() const override
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual void Error(const char *method, const char *msgfmt,...) const
const char * Data() const
void Form(const char *fmt,...)
virtual Int_t Exec(const char *shellcmd)
virtual int Unlink(const char *name)