]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaRec/AliTRDpidRefMakerLQ.h
387f506a3678ca06c3c725ca713faf22581af733
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDpidRefMakerLQ.h
1 #ifndef ALITRDPIDREFMAKERLQ_H
2 #define ALITRDPIDREFMAKERLQ_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliTRDpidRefMakerLQ.h 34125 2009-08-06 09:35:40Z cblume $ */
7
8 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 //  TRD calibration class for building reference data for PID                //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #ifndef ALIPID_H
15 #include "AliPID.h"
16 #endif
17
18 #ifndef ALITRDPIDREFMAKER_H
19 #include "AliTRDpidRefMaker.h"
20 #endif
21
22 #ifndef ALITRDPIDUTIL_H
23 #include "AliTRDpidUtil.h"
24 #endif
25
26 class TObjArray;
27 class AliTRDpidRefMakerLQ : public AliTRDpidRefMaker {
28 public:
29   enum ETRDpidRefMakerLQsteer{
30     kMinStat = 50    // minimum statistics/bucket 14%
31    ,kMinBuckets = 450 // minimum number of buckets [lambda(6)*alpha(1.5)*regions(50)]
32   };
33   AliTRDpidRefMakerLQ();
34   ~AliTRDpidRefMakerLQ();
35  
36   void      CreateOutputObjects();
37   TObject*  GetOCDBEntry(Option_t *);
38   Bool_t    GetRefFigure(Int_t ifig);
39   Bool_t    PostProcess();
40
41 protected:
42   Float_t*  CookdEdx(AliTRDseedV1*);
43   Int_t     GetNslices() { return 2;}
44   void      Fill();
45
46 private:
47   AliTRDpidRefMakerLQ(const AliTRDpidRefMakerLQ &ref);
48   AliTRDpidRefMakerLQ& operator=(const AliTRDpidRefMakerLQ &ref);
49  
50 private:
51   UChar_t   fPbin;        //! momentum bin
52   UChar_t   fSbin;        //! species bin
53   TObjArray *fResults;    //! array to store PDF representation
54
55   ClassDef(AliTRDpidRefMakerLQ, 4)  // Reference builder for Multidim-LQ TRD-PID
56
57 };
58
59 #endif
60