Adding simple example to load default debug streamer
[u/mrichter/AliRoot.git] / TPC / AliTPCAnalysisTaskcalib.h
CommitLineData
73d51118 1#ifndef ALIANALYSISTASKTPCCALIB_H
2#define ALIANALYSISTASKTPCCALIB_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7////
8////
9////
10
11#include "AliAnalysisTask.h"
12#include "TObjArray.h"
13#include "AliTPCcalibBase.h"
14class AliESDEvent;
f7f33dec 15class AliESDtrack;
73d51118 16class AliESDfriend;
17class AliTPCseed;
18
19class AliTPCAnalysisTaskcalib:public AliAnalysisTask {
20public:
f7f33dec 21 AliTPCAnalysisTaskcalib();
73d51118 22 AliTPCAnalysisTaskcalib(const char *name);
23 virtual ~AliTPCAnalysisTaskcalib();
f7f33dec 24 void AddJob(AliTPCcalibBase *job) {fCalibJobs->Add(job);}
25 TObjArray* GetJobs() {return fCalibJobs;}
73d51118 26
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);
f7f33dec 31 virtual void FinishTaskOutput();
32 void SetDebugOuputhPath(const char * name){fDebugOutputPath=name;}
73d51118 33protected:
34 virtual void Process(AliESDEvent *event);
35 virtual void Process(AliTPCseed *track);
5822e507 36 virtual void Process(AliESDtrack *track, Int_t run);
73d51118 37 virtual Long64_t Merge(TCollection *li);
38 virtual void Analyze();
f7f33dec 39 void RegisterDebugOutput();
73d51118 40private:
f7f33dec 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
73d51118 45 AliTPCAnalysisTaskcalib(const AliTPCAnalysisTaskcalib&);
46 AliTPCAnalysisTaskcalib& operator=(const AliTPCAnalysisTaskcalib&);
47 ClassDef(AliTPCAnalysisTaskcalib,1)
48};
49
50#endif