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 ///////////////////////////////////////////////////////////////////////////////
14 #ifndef ALITRDPIDREFMAKER_H
15 #include "AliTRDpidRefMaker.h"
18 // #ifndef ALITRDPIDUTIL_H
19 // #include "AliTRDpidUtil.h"
22 // #include "AliPID.h"
26 class TKDInterpolator;
28 class AliTRDpidRefMakerLQ : public AliTRDpidRefMaker {
30 enum ETRDpidRefMakerLQsteer{
31 kMaxStat = 40000 // maximum statistics/PID bin
32 ,kMinStat = 50 // minimum statistics/bucket 14%
33 ,kMinBuckets = 100 // minimum number of buckets [lambda(6)*alpha(1.5)*regions(50)]
35 AliTRDpidRefMakerLQ();
36 AliTRDpidRefMakerLQ(const char *n);
37 ~AliTRDpidRefMakerLQ();
39 TObject* GetOCDBEntry(Option_t *opt);
40 Bool_t GetRefFigure(Int_t ifig);
41 Bool_t HasOnlineMonitor() const {return kTRUE;}
43 Bool_t Load(const Char_t *file = "AnalysisResults.root", const Char_t *dir = "TRD.CalibPIDrefMaker");
45 void UserCreateOutputObjects();
46 void UserExec(Option_t *opt);
49 AliTRDpidRefMakerLQ(const AliTRDpidRefMakerLQ &ref);
50 AliTRDpidRefMakerLQ& operator=(const AliTRDpidRefMakerLQ &ref);
51 void SetZeroes(TKDInterpolator *in, TKDNodeInfo *node, Int_t n0, Int_t& idx, Float_t x, Float_t dx, Float_t y, Float_t dy, const Char_t opt='x');
53 TObjArray *fPDF; // list of PDF estimations
55 ClassDef(AliTRDpidRefMakerLQ, 6) // Reference builder for Multidim-LQ TRD-PID