]>
Commit | Line | Data |
---|---|---|
b2dc316d | 1 | #ifndef ALITRDCLUSTERRESOLUTION_H |
2 | #define ALITRDCLUSTERRESOLUTION_H | |
3 | ||
4 | ||
5 | #ifndef ALITRDRECOTASK_H | |
6 | #include "AliTRDrecoTask.h" | |
7 | #endif | |
8 | ||
9 | class TObjArray; | |
fc0946a7 | 10 | class TAxis; |
b2dc316d | 11 | class AliTRDclusterResolution : public AliTRDrecoTask |
12 | { | |
13 | public: | |
fc0946a7 | 14 | enum { // bins in z and x direction |
b2dc316d | 15 | kNTB = 24 |
16 | ,kND = 5 | |
fc0946a7 | 17 | ,kN = kND*kNTB |
18 | }; | |
19 | enum { // results containers | |
20 | kQRes = 0 | |
21 | ,kYRes = 1 | |
22 | ,kSXRes = 2 | |
23 | ,kSYRes = 3 | |
b2dc316d | 24 | }; |
25 | AliTRDclusterResolution(); | |
26 | virtual ~AliTRDclusterResolution(); | |
27 | ||
28 | void ConnectInputData(Option_t *); | |
29 | void CreateOutputObjects(); | |
fc0946a7 | 30 | void Exec(Option_t *); |
31 | Float_t GetExB() const { return fExB;} | |
b2dc316d | 32 | void GetRefFigure(Int_t ifig); |
b2dc316d | 33 | |
fc0946a7 | 34 | TObjArray* Histos(); |
35 | ||
b2dc316d | 36 | Bool_t PostProcess(); |
fc0946a7 | 37 | void SetExB(Float_t exb) {fExB = exb;} |
b2dc316d | 38 | void Terminate(Option_t *){}; |
fc0946a7 | 39 | |
b2dc316d | 40 | private: |
41 | AliTRDclusterResolution(const AliTRDclusterResolution&); | |
42 | AliTRDclusterResolution& operator=(const AliTRDclusterResolution&); | |
43 | ||
fc0946a7 | 44 | TObjArray *fInfo; // list of cluster info |
45 | TObjArray *fResults;// list of result graphs/histos | |
46 | TAxis *fAt; // binning in the x(radial) direction (time) | |
47 | TAxis *fAd; // binning in the z direction (drift cell) | |
48 | Float_t fExB; // tg of the Lorentz angle | |
b2dc316d | 49 | |
50 | ClassDef(AliTRDclusterResolution, 0) // cluster resolution | |
51 | }; | |
52 | ||
53 | #endif | |
54 |