12 #ifndef ROOT_TAlienFile
13 #define ROOT_TAlienFile
34 #ifndef ROOT_TXNetFile
55 TAlienFile() :
TXNetFile(), fLfn(), fAuthz(), fGUID(), fUrl(), fPfn(), fSE(), fImage(0), fNreplicas(0), fOpenedAt(0), fElapsed(0) { }
57 const char *ftitle =
"",
Int_t compress = 1,
59 const char *authz = 0);
75 void SetGUID(
const char *guid) {fGUID = guid;}
79 void SetPfn(
const char *pfn) {fPfn = pfn;}
80 void SetSE(
const char *se) {fSE = se;}
81 void SetUrl(
const char *url) {fUrl = url;}
85 const char *title =
"",
Int_t compress = 1,
const char * GetGUID() const
virtual void Close(const Option_t *opt="")
Close the file.
static TAlienFile * Open(const char *lfn, const Option_t *option="", const char *title="", Int_t compress=1, Bool_t parallelopen=kFALSE)
Static method used to create a TAlienFile object.
const char * GetUrl() const
This class represents a WWW compatible URL.
void SetPfn(const char *pfn)
void SetElapsed(Double_t real)
#define ClassDef(name, id)
void SetSE(const char *se)
Double_t GetElapsed() const
Long64_t GetOpenTime() const
Int_t GetNreplicas() const
const char * GetSE() const
void SetNreplicas(Int_t nrep)
virtual ~TAlienFile()
TAlienFile file dtor.
void SetGUID(const char *guid)
void SetImage(Int_t image)
const char * GetPfn() const
static TString SUrl(const char *lfn)
Get surl from lfn by asking AliEn catalog.
void SetUrl(const char *url)
const char * GetLfn() const
const char Int_t const char * image