fix broken compilation
[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
0fe3fa87 10#define NTRDCALIBTASKS 7
6da3eee3 11const Int_t NTRDTASKS = NTRDQATASKS+NTRDCALIBTASKS;
12
13enum AliTRDrecoTasks{
14 kCheckESD = 0
15 ,kInfoGen = 1
16 ,kCheckDET = 2
17 ,kEfficiency = 3
18 ,kResolution = 4
19 ,kCheckPID = 5
20 ,kCalibration = 6
21 ,kEfficiencyMC = 7
22 ,kAlignment = 8
0fe3fa87 23 ,kPIDRefMakerLQ = 9
24 ,kPIDRefMakerNN =10
25 ,kClErrParam =11
26 ,kMultiplicity =12
6da3eee3 27};
28
29const Char_t* fgkTRDtaskClassName[NTRDTASKS] = {
30 "AliTRDcheckESD"
31 ,"AliTRDinfoGen"
32 ,"AliTRDcheckDET"
33 ,"AliTRDefficiency"
34 ,"AliTRDresolution"
35 ,"AliTRDcheckPID"
36 ,"AliTRDcalibration"
37 ,"AliTRDefficiencyMC"
38 ,"AliTRDalignmentTask"
0fe3fa87 39 ,"AliTRDpidRefMakerLQ"
40 ,"AliTRDpidRefMakerNN"
6da3eee3 41 ,"AliTRDclusterResolution"
42 ,"AliTRDmultiplicity"
43};
44
45const Char_t *fgkTRDtaskOpt[NTRDTASKS+1] = {
46 ""
47 ,"GEN"
48 ,"DET"
49 ,"EFF"
50 ,"RES"
51 ,"PID"
52 ,"CAL"
53 ,"EFFC"
54 ,"ALGN"
0fe3fa87 55 ,"LQR"
56 ,"NNR"
6da3eee3 57 ,"CLRES"
58 ,"MULT"
59 ,"ALL"
60};
61
76242695 62#include <cstring>
d797b5bb 63
0fe3fa87 64//____________________________________________
65Bool_t HasReadMCData(Char_t *opt){
66 return !(Bool_t)strstr(opt, "NOMC");
67}
68
69//____________________________________________
70Bool_t HasReadFriendData(Char_t *opt){
71 return !(Bool_t)strstr(opt, "NOFR");
72}
73
6da3eee3 74#endif
75