]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTagCreator.h
Do not convert bool to pointer
[u/mrichter/AliRoot.git] / STEER / AliTagCreator.h
index 2f2d31d52e4efc703aba6d3a94d3a7186e7632d6..ee11691096d851395ca8f9e6153b9b65c0e3aa73 100644 (file)
@@ -27,6 +27,7 @@
 #include <TObject.h>
 #include <TFile.h>
 #include <TSystem.h>
+#include <TGridResult.h>
 
 
 
@@ -36,11 +37,12 @@ class AliTagCreator : public TObject {
   TString fUser; //the username in AliEn
   TString fPasswd;   //the username's password
   TString fSE;   //the defined storage element
-  TString fCollectionFile; //the xml collection file
   TString fHost; //the defined AliEn host
+  TString fgridpath;   //the alien location of the tag files
   Int_t fPort;  //the defined port for the host login
-  
-  //void CreateTag(TAlienFile* file, const char *guid, Int_t Counter);
+  Int_t fStorage;  //0:local - 1:grid
+  TGridResult *fresult; //the results from the grid query
+
   void CreateTag(TFile* file, const char *guid, Int_t Counter);
 
  public:
@@ -50,9 +52,10 @@ class AliTagCreator : public TObject {
   ~AliTagCreator(); 
 
   void SetSE(const char *se);
+  void SetStorage(Int_t storage);
+  void SetGridPath(const char *gridpath);
   Bool_t ConnectToGrid(const char *host, Int_t port, const char *username);
-  Bool_t ReadESDCollection(const char *CollectionFile);
-  Bool_t StoreGridTagFile(const char *localpath, const char *gridpath);
+  Bool_t ReadESDCollection(TGridResult *result);
 
   ClassDef(AliTagCreator,0)  
 };