AliTPCcalibTimeGain.cxx - Adding the Gamma conversion selected electorns
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibKrTask.h
CommitLineData
97ce6a20 1#ifndef ALITPCCALIBKRTASK_H
2#define ALITPCCALIBKRTASK_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include <TObject.h>
7#include <TObjArray.h>
8#include <TChain.h>
9#include <TTree.h>
10#include <TClonesArray.h>
11#include <TList.h>
12
13#include "AliTPCclusterKr.h"
14#include "AliAnalysisTask.h"
15
16#include "AliTPCCalibKr.h"
17
18class AliTPCCalibKrTask : public AliAnalysisTask {
19
20public:
21 AliTPCCalibKrTask(const char *name = "AliTPCCalibKrTask");
22 virtual ~AliTPCCalibKrTask();
23
97ce6a20 24 virtual void ConnectInputData(Option_t *);
25 virtual void CreateOutputObjects();
26 virtual void Exec(Option_t *option);
27 virtual void Terminate(Option_t *);
28 virtual bool Notify() { return kTRUE;}
29
30 Bool_t ReadEntry(Int_t evt);
31 void SetInputChain(TChain *inChain) {fTree = (TTree*) inChain;}
32 void SetTPCCalibKr(AliTPCCalibKr *calibKr) {fTPCCalibKr = calibKr;}
33
34private:
35
e3ef17bf 36 AliTPCCalibKrTask(const AliTPCCalibKrTask&); // not implemented
37 AliTPCCalibKrTask operator=(const AliTPCCalibKrTask&); // not implemented
38
ff0df25d 39 static Int_t fEvtNumber; //! event number
97ce6a20 40 AliTPCclusterKr *fClustKr; //! input AliTPCclusterKr objects
41 AliTPCCalibKr *fTPCCalibKr; // output AliTPCCalibKr objects
42
43 TTree *fTree; //! input tree
44 TList *fOutput; //! output list of objects
45
46 ClassDef(AliTPCCalibKrTask, 1) // TPC task
47};
48
49#endif
50