]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTagCreator.h
Coding conventions
[u/mrichter/AliRoot.git] / STEER / AliTagCreator.h
index ee11691096d851395ca8f9e6153b9b65c0e3aa73..198af28c1271c58a1eab61bb6bdd026f9005ba2d 100644 (file)
 
 //ROOT
 #include <TObject.h>
-#include <TFile.h>
-#include <TSystem.h>
-#include <TGridResult.h>
 
+class TFile;
+class TGridResult;
 
 
 class AliTagCreator : public TObject {
 
+ public:
+  AliTagCreator();
+  AliTagCreator(const char *host, Int_t port, const char *username);
+  AliTagCreator(const char *host, Int_t port, const char *username, const char *passwd);
+  ~AliTagCreator(); 
+
+  void SetSE(const char *se){fSE = se;}
+  void SetStorage(Int_t storage);
+  void SetGridPath(const char *gridpath){fgridpath = gridpath;}
+  Bool_t ConnectToGrid(const char *host, Int_t port, const char *username);
+  Bool_t ReadESDCollection(TGridResult *result);
+
  protected:
   TString fUser; //the username in AliEn
   TString fPasswd;   //the username's password
@@ -41,22 +52,10 @@ class AliTagCreator : public TObject {
   TString fgridpath;   //the alien location of the tag files
   Int_t fPort;  //the defined port for the host login
   Int_t fStorage;  //0:local - 1:grid
-  TGridResult *fresult; //the results from the grid query
+  //  TGridResult *fresult; //the results from the grid query
 
   void CreateTag(TFile* file, const char *guid, Int_t Counter);
 
- public:
-  AliTagCreator();
-  AliTagCreator(const char *host, Int_t port, const char *username);
-  AliTagCreator(const char *host, Int_t port, const char *username, const char *passwd);
-  ~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(TGridResult *result);
-
   ClassDef(AliTagCreator,0)  
 };