]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/TRD/AliTRDpidRefMakerLQ.h
new DB for PID 2DLQ
[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
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
26class TObjArray;
27class AliTRDpidRefMakerLQ : public AliTRDpidRefMaker {
28public:
29 enum ETRDpidRefMakerLQsteer{
30 kMaxStat = 180000 // maximum statistics/PID bin
31 ,kMinStat = 50 // minimum statistics/bucket 14%
32 ,kMinBuckets = 450 // minimum number of buckets [lambda(6)*alpha(1.5)*regions(50)]
33 ,kNN2LQtransition = 4 // index of NN slices where first LQ slice ends
34 };
35 AliTRDpidRefMakerLQ();
36 ~AliTRDpidRefMakerLQ();
b91fdd71 37
38 void CreateOutputObjects();
39 void Exec(Option_t *opt);
40 TObject* GetOCDBEntry(Option_t *opt);
41 Bool_t GetRefFigure(Int_t ifig);
42 TObjArray* Histos();
43 Bool_t Load(const Char_t *filename = "TRD.CalibPIDrefMaker.root");
44 Bool_t PostProcess();
1ee39b3a 45
46private:
47 AliTRDpidRefMakerLQ(const AliTRDpidRefMakerLQ &ref);
48 AliTRDpidRefMakerLQ& operator=(const AliTRDpidRefMakerLQ &ref);
49
1ee39b3a 50 ClassDef(AliTRDpidRefMakerLQ, 5) // Reference builder for Multidim-LQ TRD-PID
51
52};
53
54#endif
55