]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliTagAnalysis.h
Fix plus small changes
[u/mrichter/AliRoot.git] / ANALYSIS / AliTagAnalysis.h
index 844e02871dfa6c38f57bf5c39f601deba42d72cc..ff057678e09b3385219c981dc3ab1aef1f10299d 100644 (file)
@@ -46,7 +46,7 @@ class AliTagAnalysis : public TObject {
   
   void SetType(const char* type) {fAnalysisType = type;}
   const char* GetType() {return fAnalysisType.Data();}
-  Bool_t AddTagsFile(const char *alienUrl);
+  Bool_t AddTagsFile(const char *alienUrl, Bool_t checkFile=kTRUE);
   void ChainLocalTags(const char *dirname);
   TChain *ChainGridTags(TGridResult *result);
   
@@ -70,32 +70,18 @@ class AliTagAnalysis : public TObject {
                             const char *fDetectorCut, 
                             const char *fEventCut);
 
-  Bool_t CreateAsciiCollection(const char* name, 
-                              AliRunTagCuts *runTagCuts, 
-                              AliLHCTagCuts *lhcTagCuts, 
-                              AliDetectorTagCuts *detTagCuts, 
-                              AliEventTagCuts *evTagCuts);
-  Bool_t CreateAsciiCollection(const char* name, 
-                              const char *fRunCut, 
-                              const char *fLHCCut, 
-                              const char *fDetectorCut, 
-                              const char *fEventCut);
-
   TChain *GetInputChain(const char* system, const char *wn);
-  TChain *GetChainFromCollection(const char* collectionname, 
-                                const char* treename);
+  
+  static TChain* CreateChainFromCollection(const char* collectionname, const char* treename);
   
   TEntryList *GetGlobalList() {return fGlobalList;}
   //____________________________________________________//
  protected:
-  TGridResult *ftagresult; //the results from the tag grid query     
-  TString fTagDirName; //the location of the locally stored tags
-  
-  TChain *fChain; //tag chain 
-  
-  TString fAnalysisType; //define the type of analysis (esd or aod)
-
-  TEntryList *fGlobalList; //global TEntryList
+  TGridResult *ftagresult;    //the results from the tag grid query     
+  TString      fTagDirName;   //the location of the locally stored tags
+  TChain      *fChain;        //tag chain 
+  TString      fAnalysisType; //define the type of analysis (esd or aod)
+  TEntryList  *fGlobalList;   //global TEntryList
   
   //____________________________________________________//
  private: