1 #ifndef ALIPHOSALIENFILE_H
2 #define ALIPHOSALIENFILE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //_________________________________________________________________________
7 // Description of logical filename in AliEn catalogue
8 // check here : /afs/cern.ch/user/p/peters/public/README.ALIEN
10 //*-- Author: Yves Schutz (CERN)
12 // --- ROOT system ---
17 // --- AliRoot header files ---
19 class AliPHOSAliEnFile : public TObject {
24 AliPHOSAliEnFile(AliPHOSAliEnFile & lfn) : TObject(lfn) {
27 virtual ~AliPHOSAliEnFile(void) ;
28 virtual void Copy(AliPHOSAliEnFile & lfn) ;
30 void ListEvents() const ;
31 void ListRuns() const ;
32 TString GetRootDir() const { return fRoot ; }
33 TString GetLFN() const ;
36 Bool_t SetYearProd(TString year, TString prod) ;
37 Bool_t SetVers(TString vers) ;
38 Bool_t SetType(TString type) ;
40 Bool_t SetPath(TString year, TString prod, TString vers, TString type) ;
42 Bool_t SetRun(Int_t run) ;
43 Bool_t SetEvt(Int_t evt) ;
45 TString Pwd() const { return fPath ; }
47 AliPHOSAliEnFile & operator = (const AliPHOSAliEnFile & /*rvalue*/) {
48 // assignement operator requested by coding convention but not needed
49 Fatal("operator =", "not implemented") ;
55 TGrid * fGrid ; //! connection to alien data catalogue
56 TString fRoot ; //! root directory
57 TString fYear ; //! year of the DC
58 TString fProd ; //! production id
59 TString fVers ; //! aliroot tag version
60 TString fType ; //! event type
61 TString fRun ; //! run number
62 TString fEvt ; //! event number
63 TString fPath ; //! the lfn is fRoot/fYear/fProd/fVers/fType/fRun/fEvt
66 ClassDef(AliPHOSAliEnFile,1)
70 #endif // AliPHOSALIENFILE_H