Removing extra semicolon
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisGoodies.h
CommitLineData
b86ddfbb 1#ifndef ALIANALYSISGOODIES_H
2#define ALIANALYSISGOODIES_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//______________________________________________________________________________
6// Various utilities usefull for analysis
7//
8//*-- Yves Schutz
9//////////////////////////////////////////////////////////////////////////////
10
11#include <TObject.h>
12#include <TStopwatch.h>
13#include <TString.h>
14
15#include "AliLog.h"
16
17class AliAnalysisTask ;
18class TChain ;
19class TClass ;
20class AliEventTagCuts ;
21class AliRunTagCuts ;
91605856 22class AliLHCTagCuts ;
23class AliDetectorTagCuts ;
59d12c2b 24class AliAnalysisManager ;
400e32e6 25class AliAnalysisDataContainer ;
b86ddfbb 26
27class AliAnalysisGoodies : public TObject {
28
29public:
30 AliAnalysisGoodies() ;
91605856 31 AliAnalysisGoodies(const AliAnalysisGoodies& ag) ;
b86ddfbb 32 ~AliAnalysisGoodies() {;}
33
34 virtual void Help() const;
c49bca36 35 Bool_t Alien2Local(const TString collectionNameIn, const TString localDir) ;
59d12c2b 36 AliAnalysisDataContainer * ConnectInput(AliAnalysisTask * task, TClass * classin, UShort_t index) ;
37 void ConnectInput(AliAnalysisTask * task, AliAnalysisDataContainer * in, UShort_t index ) ;
38 AliAnalysisDataContainer * ConnectOuput(AliAnalysisTask * task, TClass * classou, UShort_t index, TString opt = "") ;
39 void ConnectOuput(AliAnalysisTask * task, AliAnalysisDataContainer * ou, UShort_t index) ;
91605856 40 Bool_t Make(AliRunTagCuts *runCuts, AliLHCTagCuts *lhcCuts, AliDetectorTagCuts *detCuts, AliEventTagCuts *evtCuts, const char * in, const char * out) const ;
c49bca36 41 Bool_t Merge(const char * collection, const char * subFile = 0, const char * outFile = 0) ;
42 Bool_t Register( const char * lfndir, const char * pfndir, const char * file) ;
43 Bool_t Process(TChain * chain) ;
44 Bool_t Process(const char * esdFile) ;
91605856 45 Bool_t Process(const char * inFile, AliRunTagCuts *runCuts, AliLHCTagCuts *lhcCuts, AliDetectorTagCuts *detCuts, AliEventTagCuts * evtCuts ) ;
46 Bool_t Process(const char * inFile, const char * runCuts, const char * lhcCuts, const char * detCuts, const char * evtCuts) ;
59d12c2b 47 void SetESDTreeName(const char * name) { fESDTreeName = name ; }
91605856 48 Bool_t MakeEsdCollectionFromTagFile(AliRunTagCuts *runCuts, AliLHCTagCuts *lhcCuts, AliDetectorTagCuts *detCuts, AliEventTagCuts *evtCuts, const char * in, const char * out) const ;
b86ddfbb 49
50private:
c49bca36 51 Bool_t MakeEsdCollectionFromTagFile(const char * , const char * , const char * , const char *) const ;
91605856 52 Bool_t MakeEsdCollectionFromTagCollection(AliRunTagCuts *runCuts, AliLHCTagCuts *lhcCuts, AliDetectorTagCuts *detCuts, AliEventTagCuts *evtCuts, const char * in, const char * out) const ;
53 Bool_t MakeEsdCollectionFromTagCollection(const char * runCuts, const char *lhcCuts, const char *detCuts, const char * evtCuts, const char * in, const char * out) const ;
c49bca36 54 Bool_t ProcessChain(TChain * chain) const ;
55 Bool_t ProcessEsdFile(const char * esdFile) const ;
91605856 56 Bool_t ProcessEsdXmlCollection(const char * xmlFile) const ;
57 Bool_t ProcessTagFile(const char * tagFile, AliRunTagCuts *runCuts, AliLHCTagCuts *lhcCuts, AliDetectorTagCuts *detCuts, AliEventTagCuts *evtCuts) const ;
c49bca36 58 Bool_t ProcessTagFile(const char * tagFile, const char * runCuts, const char * evtCuts) const ;
91605856 59 Bool_t ProcessTagFile(const char * tagFile, const char * runCuts, const char * lhcCuts, const char * detCuts, const char * evtCuts) const ;
60 Bool_t ProcessTagXmlCollection(const char * xmlFile, AliRunTagCuts *runCuts, AliLHCTagCuts *lhcCuts, AliDetectorTagCuts *detCuts, AliEventTagCuts * evtCuts) const ;
61 Bool_t ProcessTagXmlCollection(const char * xmlFile, const char * runCuts, const char * lhcCuts, const char * detCuts, const char * evtCuts) const ;
b86ddfbb 62
59d12c2b 63 TStopwatch fTimer ; //! stopwatch
64 TString fESDTreeName ; //! name of the ESD TTree
65 AliAnalysisManager * fAmgr ; //! the analysis manager
b86ddfbb 66 ClassDef(AliAnalysisGoodies, 0); // an analysis utilities class
67};
68#endif // ALIANALYSISGOODIES_H