missing initialisation
[u/mrichter/AliRoot.git] / PWGJE / macros / ConfigLegoTrainPWGJE.C
CommitLineData
68216590 1void ConfigLegoTrainPWGJE(int iFlag = 0){
2
b0ea14de 3 Printf("%s:%d with flag %d",(char*)__FILE__,__LINE__,iFlag);
68216590 4 // Adds the Global Variables depending on the flag
5 //
6
dd048caa 7 if(iFlag==1008){ // 10h
68216590 8 AliAnalysisManager::SetGlobalStr("kJetRunPeriod","LHC10h");
86dd7ebf 9 AliAnalysisManager::SetGlobalInt("kGridRunRangeLo",110000);
10 AliAnalysisManager::SetGlobalInt("kGridRunRangeUp",160000);
11
12 AliAnalysisManager::SetGlobalStr("kDeltaAODJetName","");
13
5f5ae725 14 // event selection
86dd7ebf 15 AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB);
16 AliAnalysisManager::SetGlobalInt("kNTrigger",1);
17 AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kMB);
18 AliAnalysisManager::SetGlobalStr("kTriggerName0","kMB");
86dd7ebf 19 // jet selection
20 AliAnalysisManager::SetGlobalDbl("kJetEtaWindow",0.5);
21
22 // track selection
23 AliAnalysisManager::SetGlobalDbl("kTrackEtaWindow",0.9);
24 AliAnalysisManager::SetGlobalDbl("kVertexWindow",10);
25 AliAnalysisManager::SetGlobalInt("kHighPtFilterMask",272);
26
27
68216590 28 }
dd048caa 29 else if(iFlag==1108){ // 11h
86dd7ebf 30
31
dd048caa 32 AliAnalysisManager::SetGlobalStr("kJetRunPeriod","LHC11h");
86dd7ebf 33 AliAnalysisManager::SetGlobalInt("kGridRunRangeLo",166000);
34 AliAnalysisManager::SetGlobalInt("kGridRunRangeUp",171000);
35
36
37 AliAnalysisManager::SetGlobalStr("kDeltaAODJetName","");
38
39
d5dd77cf 40 AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB|AliVEvent::kCentral|AliVEvent::kSemiCentral|AliVEvent::kEMCEJE);
9b894d75 41 AliAnalysisManager::SetGlobalInt("kNTrigger",5);
d5dd77cf 42 AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kMB|AliVEvent::kCentral|AliVEvent::kSemiCentral|AliVEvent::kEMCEJE);
86dd7ebf 43 AliAnalysisManager::SetGlobalInt("kTriggerBit1",AliVEvent::kMB);
44 AliAnalysisManager::SetGlobalInt("kTriggerBit2",AliVEvent::kCentral);
45 AliAnalysisManager::SetGlobalInt("kTriggerBit3",AliVEvent::kSemiCentral);
9b894d75 46 AliAnalysisManager::SetGlobalInt("kTriggerBit4",AliVEvent::kEMCEJE);
47 AliAnalysisManager::SetGlobalStr("kTriggerName0","kMB|kCentral|kSemiCentral|kEMCEJE");
86dd7ebf 48 AliAnalysisManager::SetGlobalStr("kTriggerName1","kMB");
49 AliAnalysisManager::SetGlobalStr("kTriggerName2","kCentral");
50 AliAnalysisManager::SetGlobalStr("kTriggerName3","kSemiCentral");
9b894d75 51 AliAnalysisManager::SetGlobalStr("kTriggerName4","kEMCEJE");
86dd7ebf 52
69a0d320 53
54 // aceptance windows for Spectrum task
55
56 Float_t fid = 0.2;
57 Float_t fEMCPhiLo = 2.17 - 1.87/2. + fid; // some fiducial region
58 Float_t fEMCPhiUp = 2.17 + 1.87/2. - fid; // some fiducial region
59 Float_t fEMCEtaLo = - 0.7 + fid;
60 Float_t fEMCEtaUp = 0.7 - fid;
61 AliAnalysisManager::SetGlobalInt("kNAcceptanceSpec",2);
62 AliAnalysisManager::SetGlobalDbl("kAcceptancePhiMinSpec0",fEMCPhiLo);
63 AliAnalysisManager::SetGlobalDbl("kAcceptancePhiMaxSpec0",fEMCPhiUp);
64 AliAnalysisManager::SetGlobalDbl("kAcceptanceEtaMinSpec0",fEMCEtaLo);
65 AliAnalysisManager::SetGlobalDbl("kAcceptanceEtaMaxSpec0",fEMCEtaUp);
66
67 // iroc 13
68 AliAnalysisManager::SetGlobalDbl("kAcceptancePhiMinSpec1",4.7-0.4);
69 AliAnalysisManager::SetGlobalDbl("kAcceptancePhiMaxSpec1",4.7+0.4);
70 AliAnalysisManager::SetGlobalDbl("kAcceptanceEtaMinSpec1",-0.9);
71 AliAnalysisManager::SetGlobalDbl("kAcceptanceEtaMaxSpec1",0);
72
73
86dd7ebf 74 // jet selection
75 AliAnalysisManager::SetGlobalDbl("kJetEtaWindow",0.5);
76
77 // track selection
78 AliAnalysisManager::SetGlobalDbl("kTrackEtaWindow",0.9);
79 AliAnalysisManager::SetGlobalDbl("kVertexWindow",10);
019742c7 80 AliAnalysisManager::SetGlobalInt("kHighPtFilterMask",768);
38e78449 81 AliAnalysisManager::SetGlobalInt("kHighPtFilterMaskBest",256);
86dd7ebf 82
dd048caa 83 }
86dd7ebf 84 else{
85 // catch all
86 AliAnalysisManager::SetGlobalInt("kGridRunRangeLo",110000);
87 AliAnalysisManager::SetGlobalInt("kGridRunRangeUp",160000);
88
89
90 AliAnalysisManager::SetGlobalStr("kDeltaAODJetName","");
91
92 AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB);
93 AliAnalysisManager::SetGlobalInt("kNTrigger",1);
94 AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kMB);
95 AliAnalysisManager::SetGlobalStr("kTriggerName0","kMB");
96
86dd7ebf 97 // jet selection
98 AliAnalysisManager::SetGlobalDbl("kJetEtaWindow",0.5);
99
100 // track selection
101 AliAnalysisManager::SetGlobalDbl("kTrackEtaWindow",0.9);
102 AliAnalysisManager::SetGlobalDbl("kVertexWindow",10);
103 AliAnalysisManager::SetGlobalInt("kHighPtFilterMask",272);
104
105
106
107 }
108
68216590 109
110}