better ESD performance plot
[u/mrichter/AliRoot.git] / TRD / qaRec / macros / AliTRDperformanceTrain.h
CommitLineData
6da3eee3 1#ifndef ALITRDPERFORMANCETRAIN_H
2#define ALITRDPERFORMANCETRAIN_H
3
03aec7fa 4#define BITBIT(n) (1 << (n))
a3e9af3c 5#define SETBITT(n,i) ((n) |= BITBIT(i))
03aec7fa 6#define TSTBIT(n,i) ((Bool_t)(((n) & BITBIT(i)) != 0))
a3e9af3c 7#define CLRBITT(n,i) ((n) &= ~BITBIT(i))
6da3eee3 8
9#define NTRDQATASKS 6
ee8fb199 10#define NTRDCALIBTASKS 6
11/* #define NTRDCALIBTASKS 7 */
6da3eee3 12const Int_t NTRDTASKS = NTRDQATASKS+NTRDCALIBTASKS;
13
14enum AliTRDrecoTasks{
15 kCheckESD = 0
16 ,kInfoGen = 1
17 ,kCheckDET = 2
18 ,kEfficiency = 3
19 ,kResolution = 4
20 ,kCheckPID = 5
21 ,kCalibration = 6
22 ,kEfficiencyMC = 7
23 ,kAlignment = 8
ee8fb199 24 ,kPIDRefMaker = 9
25/* ,kPIDRefMakerLQ = 9 */
26/* ,kPIDRefMakerNN =10 */
27/* ,kClErrParam =11 */
28/* ,kMultiplicity =12 */
29 ,kClErrParam =10
30 ,kMultiplicity =11
6da3eee3 31};
32
33const Char_t* fgkTRDtaskClassName[NTRDTASKS] = {
34 "AliTRDcheckESD"
35 ,"AliTRDinfoGen"
36 ,"AliTRDcheckDET"
37 ,"AliTRDefficiency"
38 ,"AliTRDresolution"
39 ,"AliTRDcheckPID"
40 ,"AliTRDcalibration"
41 ,"AliTRDefficiencyMC"
42 ,"AliTRDalignmentTask"
ee8fb199 43 ,"AliTRDpidRefMaker"
44/* ,"AliTRDpidRefMakerLQ" */
45/* ,"AliTRDpidRefMakerNN" */
6da3eee3 46 ,"AliTRDclusterResolution"
47 ,"AliTRDmultiplicity"
48};
49
50const Char_t *fgkTRDtaskOpt[NTRDTASKS+1] = {
51 ""
52 ,"GEN"
53 ,"DET"
54 ,"EFF"
55 ,"RES"
56 ,"PID"
57 ,"CAL"
58 ,"EFFC"
59 ,"ALGN"
ee8fb199 60 ,"PIDR"
61/* ,"LQR" */
62/* ,"NNR" */
6da3eee3 63 ,"CLRES"
64 ,"MULT"
65 ,"ALL"
66};
67
76242695 68#include <cstring>
d797b5bb 69
0fe3fa87 70//____________________________________________
71Bool_t HasReadMCData(Char_t *opt){
72 return !(Bool_t)strstr(opt, "NOMC");
73}
74
75//____________________________________________
76Bool_t HasReadFriendData(Char_t *opt){
77 return !(Bool_t)strstr(opt, "NOFR");
78}
79
6da3eee3 80#endif
81