]>
Commit | Line | Data |
---|---|---|
1ee39b3a | 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 | ||
4826d5b1 | 26 | class TKDNodeInfo; |
27 | class TKDInterpolator; | |
1ee39b3a | 28 | class TObjArray; |
29 | class AliTRDpidRefMakerLQ : public AliTRDpidRefMaker { | |
30 | public: | |
31 | enum ETRDpidRefMakerLQsteer{ | |
674c7d26 | 32 | kMaxStat = 40000 // maximum statistics/PID bin |
1ee39b3a | 33 | ,kMinStat = 50 // minimum statistics/bucket 14% |
674c7d26 | 34 | ,kMinBuckets = 100 // minimum number of buckets [lambda(6)*alpha(1.5)*regions(50)] |
1ee39b3a | 35 | }; |
36 | AliTRDpidRefMakerLQ(); | |
705f8b0a | 37 | AliTRDpidRefMakerLQ(const char *n); |
1ee39b3a | 38 | ~AliTRDpidRefMakerLQ(); |
b91fdd71 | 39 | |
b91fdd71 | 40 | TObject* GetOCDBEntry(Option_t *opt); |
41 | Bool_t GetRefFigure(Int_t ifig); | |
674c7d26 | 42 | Bool_t HasOnlineMonitor() const {return kTRUE;} |
b91fdd71 | 43 | TObjArray* Histos(); |
44 | Bool_t Load(const Char_t *filename = "TRD.CalibPIDrefMaker.root"); | |
45 | Bool_t PostProcess(); | |
705f8b0a | 46 | void UserCreateOutputObjects(); |
47 | void UserExec(Option_t *opt); | |
1ee39b3a | 48 | |
49 | private: | |
50 | AliTRDpidRefMakerLQ(const AliTRDpidRefMakerLQ &ref); | |
51 | AliTRDpidRefMakerLQ& operator=(const AliTRDpidRefMakerLQ &ref); | |
4826d5b1 | 52 | 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 | ||
54 | TObjArray *fPDF; // list of PDF estimations | |
55 | ||
56 | ClassDef(AliTRDpidRefMakerLQ, 6) // Reference builder for Multidim-LQ TRD-PID | |
1ee39b3a | 57 | |
58 | }; | |
59 | ||
60 | #endif | |
61 |