1 #ifndef ALITRDCLUSTERRESOLUTION_H
2 #define ALITRDCLUSTERRESOLUTION_H
5 #ifndef ALITRDRECOTASK_H
6 #include "AliTRDrecoTask.h"
11 class AliTRDclusterResolution : public AliTRDrecoTask
14 enum { // bins in z and x direction
19 enum { // results containers
25 enum { // force setting the ExB
28 AliTRDclusterResolution();
29 virtual ~AliTRDclusterResolution();
31 void ConnectInputData(Option_t *);
32 void CreateOutputObjects();
33 void Exec(Option_t *);
34 Int_t GetDetector() const { return fDet; }
35 inline Float_t GetExB() const;
36 Bool_t GetRefFigure(Int_t ifig);
37 Bool_t HasExB() const { return TestBit(kExB);}
41 Bool_t SetExB(Int_t det=-1);
42 void Terminate(Option_t *){};
45 AliTRDclusterResolution(const AliTRDclusterResolution&);
46 AliTRDclusterResolution& operator=(const AliTRDclusterResolution&);
48 TObjArray *fInfo; // list of cluster info
49 TObjArray *fResults;// list of result graphs/histos
50 TAxis *fAt; // binning in the x(radial) direction (time)
51 TAxis *fAd; // binning in the z direction (drift cell)
52 Float_t fExB; // tg of the Lorentz angle
53 Short_t fDet; // detector (-1 for all)
55 ClassDef(AliTRDclusterResolution, 0) // cluster resolution
58 inline Float_t AliTRDclusterResolution::GetExB() const
61 printf("WARNING :: ExB was not set. Use B=0.\n");