track clus matching task
[u/mrichter/AliRoot.git] / PWGJE / macros / ConfigLegoTrainPWGJE.C
CommitLineData
68216590 1void ConfigLegoTrainPWGJE(int iFlag = 0){
2
3 // Adds the Global Variables depending on the flag
4 //
5
dd048caa 6 if(iFlag==1008){ // 10h
68216590 7 AliAnalysisManager::SetGlobalStr("kJetRunPeriod","LHC10h");
86dd7ebf 8 AliAnalysisManager::SetGlobalInt("kGridRunRangeLo",110000);
9 AliAnalysisManager::SetGlobalInt("kGridRunRangeUp",160000);
10
11 AliAnalysisManager::SetGlobalStr("kDeltaAODJetName","");
12
13 AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB);
14 AliAnalysisManager::SetGlobalInt("kNTrigger",1);
15 AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kMB);
16 AliAnalysisManager::SetGlobalStr("kTriggerName0","kMB");
17
18 // jet selection
19 AliAnalysisManager::SetGlobalDbl("kJetEtaWindow",0.5);
20
21 // track selection
22 AliAnalysisManager::SetGlobalDbl("kTrackEtaWindow",0.9);
23 AliAnalysisManager::SetGlobalDbl("kVertexWindow",10);
24 AliAnalysisManager::SetGlobalInt("kHighPtFilterMask",272);
25
26
68216590 27 }
dd048caa 28 else if(iFlag==1108){ // 11h
86dd7ebf 29
30
dd048caa 31 AliAnalysisManager::SetGlobalStr("kJetRunPeriod","LHC11h");
86dd7ebf 32 AliAnalysisManager::SetGlobalInt("kGridRunRangeLo",166000);
33 AliAnalysisManager::SetGlobalInt("kGridRunRangeUp",171000);
34
35
36 AliAnalysisManager::SetGlobalStr("kDeltaAODJetName","");
37
38
39 AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB|AliVEvent::kCentral|AliVEvent::kSemiCentral);
74323f57 40 AliAnalysisManager::SetGlobalInt("kNTrigger",1);
86dd7ebf 41 AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kMB|AliVEvent::kCentral|AliVEvent::kSemiCentral);
42 AliAnalysisManager::SetGlobalInt("kTriggerBit1",AliVEvent::kMB);
43 AliAnalysisManager::SetGlobalInt("kTriggerBit2",AliVEvent::kCentral);
44 AliAnalysisManager::SetGlobalInt("kTriggerBit3",AliVEvent::kSemiCentral);
45 AliAnalysisManager::SetGlobalStr("kTriggerName0","kMB|kCentral|kSemiCentral");
46 AliAnalysisManager::SetGlobalStr("kTriggerName1","kMB");
47 AliAnalysisManager::SetGlobalStr("kTriggerName2","kCentral");
48 AliAnalysisManager::SetGlobalStr("kTriggerName3","kSemiCentral");
49
50
51 // jet selection
52 AliAnalysisManager::SetGlobalDbl("kJetEtaWindow",0.5);
53
54 // track selection
55 AliAnalysisManager::SetGlobalDbl("kTrackEtaWindow",0.9);
56 AliAnalysisManager::SetGlobalDbl("kVertexWindow",10);
57 AliAnalysisManager::SetGlobalInt("kHighPtFilterMask",272);
58
dd048caa 59 }
86dd7ebf 60 else{
61 // catch all
62 AliAnalysisManager::SetGlobalInt("kGridRunRangeLo",110000);
63 AliAnalysisManager::SetGlobalInt("kGridRunRangeUp",160000);
64
65
66 AliAnalysisManager::SetGlobalStr("kDeltaAODJetName","");
67
68 AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB);
69 AliAnalysisManager::SetGlobalInt("kNTrigger",1);
70 AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kMB);
71 AliAnalysisManager::SetGlobalStr("kTriggerName0","kMB");
72
73
74 // jet selection
75 AliAnalysisManager::SetGlobalDbl("kJetEtaWindow",0.5);
76
77 // track selection
78 AliAnalysisManager::SetGlobalDbl("kTrackEtaWindow",0.9);
79 AliAnalysisManager::SetGlobalDbl("kVertexWindow",10);
80 AliAnalysisManager::SetGlobalInt("kHighPtFilterMask",272);
81
82
83
84 }
85
68216590 86
87}