1 #ifndef ALIANALYSISTASKTPCCALIB_H
2 #define ALIANALYSISTASKTPCCALIB_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
11 #include "AliAnalysisTask.h"
12 #include "TObjArray.h"
13 #include "AliTPCcalibBase.h"
19 class AliTPCAnalysisTaskcalib:public AliAnalysisTask {
21 AliTPCAnalysisTaskcalib();
22 AliTPCAnalysisTaskcalib(const char *name);
23 virtual ~AliTPCAnalysisTaskcalib();
24 void AddJob(AliTPCcalibBase *job) {fCalibJobs->Add(job);}
25 TObjArray* GetJobs() {return fCalibJobs;}
27 virtual void ConnectInputData(Option_t *option);
28 virtual void CreateOutputObjects();
29 virtual void Exec(Option_t *option);
30 virtual void Terminate(Option_t *option);
31 virtual void FinishTaskOutput();
32 void SetDebugOuputhPath(const char * name){fDebugOutputPath=name;}
34 virtual void Process(AliESDEvent *event);
35 virtual void Process(AliTPCseed *track);
36 virtual void Process(AliESDtrack *track, Int_t run);
37 virtual Long64_t Merge(TCollection *li);
38 virtual void Analyze();
39 void RegisterDebugOutput();
41 TObjArray *fCalibJobs; // array of calibration objects - WE ARE NOT OWNER?
42 AliESDEvent *fESD; //! current esd
43 AliESDfriend *fESDfriend; //! current esd friend
44 TString fDebugOutputPath; // debug output path
45 AliTPCAnalysisTaskcalib(const AliTPCAnalysisTaskcalib&);
46 AliTPCAnalysisTaskcalib& operator=(const AliTPCAnalysisTaskcalib&);
47 ClassDef(AliTPCAnalysisTaskcalib,1)