12 #ifndef ROOT_TAlienFile 13 #define ROOT_TAlienFile 53 TAlienFile() :
TXNetFile(), fLfn(), fAuthz(), fGUID(), fUrl(), fPfn(), fSE(), fImage(0), fNreplicas(0), fOpenedAt(0), fElapsed(0) { }
55 const char *ftitle =
"",
Int_t compress = 1,
57 const char *authz = 0);
73 void SetGUID(
const char *guid) {fGUID = guid;}
77 void SetPfn(
const char *pfn) {fPfn = pfn;}
78 void SetSE(
const char *se) {fSE = se;}
79 void SetUrl(
const char *url) {fUrl = url;}
83 const char *title =
"",
Int_t compress = 1,
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.
Long64_t GetOpenTime() const
const char * GetGUID() const
Double_t GetElapsed() const
This class represents a WWW compatible URL.
const char * GetPfn() const
void SetPfn(const char *pfn)
void SetElapsed(Double_t real)
#define ClassDef(name, id)
void SetSE(const char *se)
void SetNreplicas(Int_t nrep)
const char * GetUrl() const
virtual ~TAlienFile()
TAlienFile file dtor.
void SetGUID(const char *guid)
const char * GetLfn() const
void SetImage(Int_t image)
Int_t GetNreplicas() const
static TString SUrl(const char *lfn)
Get surl from lfn by asking AliEn catalog.
const char * GetSE() const
void SetUrl(const char *url)