1 #ifndef ALITAGCREATOR_H
2 #define ALITAGCREATOR_H
3 /* See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
10 // This is the AliTagCreator class for the tag creation (post process)
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
21 // Implementation of the tag creation mechanism. //
23 //////////////////////////////////////////////////////////////////////////
30 #include <TGridResult.h>
34 class AliTagCreator : public TObject {
37 TString fUser; //the username in AliEn
38 TString fPasswd; //the username's password
39 TString fSE; //the defined storage element
40 TString fHost; //the defined AliEn host
41 TString fgridpath; //the alien location of the tag files
42 Int_t fPort; //the defined port for the host login
43 Int_t fStorage; //0:local - 1:grid
44 TGridResult *fresult; //the results from the grid query
46 void CreateTag(TFile* file, const char *guid, Int_t Counter);
50 AliTagCreator(const char *host, Int_t port, const char *username);
51 AliTagCreator(const char *host, Int_t port, const char *username, const char *passwd);
54 void SetSE(const char *se);
55 void SetStorage(Int_t storage);
56 void SetGridPath(const char *gridpath);
57 Bool_t ConnectToGrid(const char *host, Int_t port, const char *username);
58 Bool_t ReadESDCollection(TGridResult *result);
60 ClassDef(AliTagCreator,0)