Changes for report #76227: ZDC TDC info in ESD and physics selection (for release...
[u/mrichter/AliRoot.git] / ZDC / AliZDCTowerCalibTask.h
CommitLineData
2e096a1e 1#ifndef AliZDCTowerCalibTask_h
2#define AliZDCTowerCalibTask_h
3
4// analysis task for ZN towers intercalibration
5// Author: Alessandro De Falco, INFN Cagliari
6
7#include "TMatrixD.h"
8#include "TVectorD.h"
9
10class TH1F;
11class AliESDEvent;
12
13#include "AliAnalysisTask.h"
14
15class AliZDCTowerCalibTask : public AliAnalysisTask {
16 public:
17 AliZDCTowerCalibTask();
18 AliZDCTowerCalibTask(const char *name);
19 virtual ~AliZDCTowerCalibTask() {}
20
21 virtual void ConnectInputData(Option_t *);
22 virtual void CreateOutputObjects();
23 virtual void Exec(Option_t *option);
24 virtual void Terminate(Option_t *);
25 virtual void SetADCMin(Double_t adcmin) { fADCMin = adcmin; }
26
27
28 private:
29 AliESDEvent *fESD; //ESD object
30 TMatrixD fAZNA; // coefficient matrix for ZNA calorimeter
31 TMatrixD fAZNC; // coefficient matrix for ZNC calorimeter
32 TVectorD fBZNA; // vector of known terms for ZNA calorimeter
33 TVectorD fBZNC; // vector of known terms for ZNC calorimeter
34 Double_t fADCMin;
35 AliZDCTowerCalibTask(const AliZDCTowerCalibTask&); // not implemented
36 AliZDCTowerCalibTask& operator=(const AliZDCTowerCalibTask&); // not implemented
37
38 ClassDef(AliZDCTowerCalibTask, 1);
39};
40
41#endif