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 */
6 /* $Id: AliTRDpidRefMakerLQ.h 34125 2009-08-06 09:35:40Z cblume $ */
8 ///////////////////////////////////////////////////////////////////////////////
10 // TRD calibration class for building reference data for PID //
12 ///////////////////////////////////////////////////////////////////////////////
18 #ifndef ALITRDPIDREFMAKER_H
19 #include "AliTRDpidRefMaker.h"
22 #ifndef ALITRDPIDUTIL_H
23 #include "AliTRDpidUtil.h"
27 class AliTRDpidRefMakerLQ : public AliTRDpidRefMaker {
29 enum ETRDpidRefMakerLQsteer{
30 kMinStat = 50 // minimum statistics/bucket 14%
31 ,kMinBuckets = 450 // minimum number of buckets [lambda(6)*alpha(1.5)*regions(50)]
33 AliTRDpidRefMakerLQ();
34 ~AliTRDpidRefMakerLQ();
36 void CreateOutputObjects();
37 TObject* GetOCDBEntry(Option_t *);
38 Bool_t GetRefFigure(Int_t ifig);
42 Float_t* CookdEdx(AliTRDseedV1*);
43 Int_t GetNslices() { return 2;}
47 AliTRDpidRefMakerLQ(const AliTRDpidRefMakerLQ &ref);
48 AliTRDpidRefMakerLQ& operator=(const AliTRDpidRefMakerLQ &ref);
51 UChar_t fPbin; //! momentum bin
52 UChar_t fSbin; //! species bin
53 TObjArray *fResults; //! array to store PDF representation
55 ClassDef(AliTRDpidRefMakerLQ, 4) // Reference builder for Multidim-LQ TRD-PID