trigger names changed (Markus)
[u/mrichter/AliRoot.git] / PWG1 / TRD / AliTRDpidRefMakerLQ.h
CommitLineData
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
1ee39b3a 14#ifndef ALITRDPIDREFMAKER_H
15#include "AliTRDpidRefMaker.h"
16#endif
17
64d57299 18// #ifndef ALITRDPIDUTIL_H
19// #include "AliTRDpidUtil.h"
20// #endif
21// #ifndef ALIPID_H
22// #include "AliPID.h"
23// #endif
1ee39b3a 24
4826d5b1 25class TKDNodeInfo;
26class TKDInterpolator;
1ee39b3a 27class TObjArray;
28class AliTRDpidRefMakerLQ : public AliTRDpidRefMaker {
29public:
30 enum ETRDpidRefMakerLQsteer{
674c7d26 31 kMaxStat = 40000 // maximum statistics/PID bin
1ee39b3a 32 ,kMinStat = 50 // minimum statistics/bucket 14%
674c7d26 33 ,kMinBuckets = 100 // minimum number of buckets [lambda(6)*alpha(1.5)*regions(50)]
1ee39b3a 34 };
35 AliTRDpidRefMakerLQ();
705f8b0a 36 AliTRDpidRefMakerLQ(const char *n);
1ee39b3a 37 ~AliTRDpidRefMakerLQ();
b91fdd71 38
b91fdd71 39 TObject* GetOCDBEntry(Option_t *opt);
40 Bool_t GetRefFigure(Int_t ifig);
674c7d26 41 Bool_t HasOnlineMonitor() const {return kTRUE;}
b91fdd71 42 TObjArray* Histos();
fe1d1beb 43 Bool_t Load(const Char_t *file = "AnalysisResults.root", const Char_t *dir = "TRD.CalibPIDrefMaker");
b91fdd71 44 Bool_t PostProcess();
705f8b0a 45 void UserCreateOutputObjects();
46 void UserExec(Option_t *opt);
1ee39b3a 47
48private:
49 AliTRDpidRefMakerLQ(const AliTRDpidRefMakerLQ &ref);
50 AliTRDpidRefMakerLQ& operator=(const AliTRDpidRefMakerLQ &ref);
4826d5b1 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');
52
53 TObjArray *fPDF; // list of PDF estimations
54
55 ClassDef(AliTRDpidRefMakerLQ, 6) // Reference builder for Multidim-LQ TRD-PID
1ee39b3a 56
57};
58
59#endif
60