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