Line data Source code
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 :
18 : class AliTPCCalibKrTask : public AliAnalysisTask {
19 :
20 : public:
21 : AliTPCCalibKrTask(const char *name = "AliTPCCalibKrTask");
22 : virtual ~AliTPCCalibKrTask();
23 :
24 : virtual void ConnectInputData(Option_t *);
25 : virtual void CreateOutputObjects();
26 : virtual void Exec(Option_t *option);
27 : virtual void Terminate(Option_t *);
28 0 : virtual bool Notify() { return kTRUE;}
29 :
30 : Bool_t ReadEntry(Int_t evt);
31 0 : void SetInputChain(TChain *inChain) {fTree = (TTree*) inChain;}
32 0 : void SetTPCCalibKr(AliTPCCalibKr *calibKr) {fTPCCalibKr = calibKr;}
33 :
34 : private:
35 :
36 : AliTPCCalibKrTask(const AliTPCCalibKrTask&); // not implemented
37 : AliTPCCalibKrTask operator=(const AliTPCCalibKrTask&); // not implemented
38 :
39 : static Int_t fEvtNumber; //! event number
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 6 : ClassDef(AliTPCCalibKrTask, 1) // TPC task
47 : };
48 :
49 : #endif
50 :
|