X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FAliTagAnalysis.h;h=ff057678e09b3385219c981dc3ab1aef1f10299d;hb=3fbc4ebf34f99921b94683c15695093dcafece64;hp=844e02871dfa6c38f57bf5c39f601deba42d72cc;hpb=727d922cc277d70084e36e9f55686add0bfe88b5;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/AliTagAnalysis.h b/ANALYSIS/AliTagAnalysis.h index 844e02871df..ff057678e09 100644 --- a/ANALYSIS/AliTagAnalysis.h +++ b/ANALYSIS/AliTagAnalysis.h @@ -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: