- fixed MC routines in CaloConv task, added corresponding addtasks
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / macros / AddTask_GammaConvV1_pPb.C
CommitLineData
33bbd991 1void AddTask_GammaConvV1_pPb( Int_t trainConfig = 1, //change different set of cuts
0b67315e 2 Bool_t isMC = kFALSE, //run MC
ae4f2cfb 3 Int_t enableQAMesonTask = 0, //enable QA in AliAnalysisTaskGammaConvV1
4 Int_t enableQAPhotonTask = 0, // enable additional QA task
a7f0b705 5 TString fileNameInputForWeighting = "MCSpectraInput.root", // path to file for weigting input
b92cea5e 6 Int_t doWeightingPart = 0, //enable Weighting
d0a4ea74 7 TString generatorName = "DPMJET",
a7f0b705 8 TString cutnumberAODBranch = "8000000060084000001500000" // cutnumber for AOD branch
33bbd991 9 ) {
344100c4 10
11 // ================= Load Librariers =================================
12 gSystem->Load("libCore.so");
13 gSystem->Load("libTree.so");
14 gSystem->Load("libGeom.so");
15 gSystem->Load("libVMC.so");
16 gSystem->Load("libPhysics.so");
17 gSystem->Load("libMinuit");
18 gSystem->Load("libSTEERBase");
19 gSystem->Load("libESD");
20 gSystem->Load("libAOD");
21 gSystem->Load("libANALYSIS");
22 gSystem->Load("libANALYSISalice");
23 gSystem->Load("libPWGGAGammaConv.so");
24 gSystem->Load("libCDB.so");
25 gSystem->Load("libSTEER.so");
26 gSystem->Load("libSTEERBase.so");
27 gSystem->Load("libTENDER.so");
28 gSystem->Load("libTENDERSupplies.so");
29
30 Int_t isHeavyIon = 2;
31
32 // ================== GetAnalysisManager ===============================
33 AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
34 if (!mgr) {
35 Error(Form("AddTask_GammaConvV1_%i",trainConfig), "No analysis manager found.");
36 return ;
37 }
38
39 // ================== GetInputEventHandler =============================
40 AliVEventHandler *inputHandler=mgr->GetInputEventHandler();
41
42 //========= Add PID Reponse to ANALYSIS manager ====
43 if(!(AliPIDResponse*)mgr->GetTask("PIDResponseTask")){
44 gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPIDResponse.C");
45 AddTaskPIDResponse(isMC);
46 }
47
48 //========= Set Cutnumber for V0Reader ================================
49 TString cutnumberPhoton = "060084001001500000000";
50 TString cutnumberEvent = "8000000";
51 Bool_t doEtaShift = kFALSE;
52 AliAnalysisDataContainer *cinput = mgr->GetCommonInputContainer();
53 //========= Add V0 Reader to ANALYSIS manager if not yet existent =====
54 if( !(AliV0ReaderV1*)mgr->GetTask("V0ReaderV1") ){
55 AliV0ReaderV1 *fV0ReaderV1 = new AliV0ReaderV1("V0ReaderV1");
56
57 fV0ReaderV1->SetUseOwnXYZCalculation(kTRUE);
58 fV0ReaderV1->SetCreateAODs(kFALSE);// AOD Output
59 fV0ReaderV1->SetUseAODConversionPhoton(kTRUE);
60
61 if (!mgr) {
62 Error("AddTask_V0ReaderV1", "No analysis manager found.");
63 return;
64 }
65
66 AliConvEventCuts *fEventCuts=NULL;
67 if(cutnumberEvent!=""){
68 fEventCuts= new AliConvEventCuts(cutnumberEvent.Data(),cutnumberEvent.Data());
69 fEventCuts->SetPreSelectionCutFlag(kTRUE);
70 if(fEventCuts->InitializeCutsFromCutString(cutnumberEvent.Data())){
71 fEventCuts->DoEtaShift(doEtaShift);
72 fV0ReaderV1->SetEventCuts(fEventCuts);
73 fEventCuts->SetFillCutHistograms("",kTRUE);
74 }
75 }
76
77 // Set AnalysisCut Number
78 AliConversionPhotonCuts *fCuts=NULL;
79 if(cutnumberPhoton!=""){
80 fCuts= new AliConversionPhotonCuts(cutnumberPhoton.Data(),cutnumberPhoton.Data());
81 fCuts->SetPreSelectionCutFlag(kTRUE);
82 fCuts->SetIsHeavyIon(isHeavyIon);
83 if(fCuts->InitializeCutsFromCutString(cutnumberPhoton.Data())){
84 fV0ReaderV1->SetConversionCuts(fCuts);
85 fCuts->SetFillCutHistograms("",kTRUE);
86 }
87 }
88 if(inputHandler->IsA()==AliAODInputHandler::Class()){
89 // AOD mode
90 cout << "AOD handler: adding " << cutnumberAODBranch.Data() << " as conversion branch" << endl;
91 fV0ReaderV1->SetDeltaAODBranchName(Form("GammaConv_%s_gamma",cutnumberAODBranch.Data()));
92 }
93 fV0ReaderV1->Init();
94
95 AliLog::SetGlobalLogLevel(AliLog::kInfo);
96
97 //connect input V0Reader
98 mgr->AddTask(fV0ReaderV1);
99 mgr->ConnectInput(fV0ReaderV1,0,cinput);
100
101 }
102
103
104
105 //================================================
106 //========= Add task to the ANALYSIS manager =====
107 //================================================
108 // find input container
109 AliAnalysisTaskGammaConvV1 *task=NULL;
110 task= new AliAnalysisTaskGammaConvV1(Form("GammaConvV1_%i",trainConfig));
111 task->SetIsHeavyIon(isHeavyIon);
112 task->SetIsMC(isMC);
113 // Cut Numbers to use in Analysis
114 Int_t numberOfCuts = 4;
115
116 TString *photonCutArray = new TString[numberOfCuts];
117 TString *eventCutArray = new TString[numberOfCuts];
118 TString *mesonCutArray = new TString[numberOfCuts];
119 Bool_t doEtaShiftIndCuts = kFALSE;
120 TString stringShift = "";
121
b92cea5e 122 if(trainConfig == 1){
344100c4 123 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
124 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
125 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
126 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 127 } else if (trainConfig == 2) {
344100c4 128 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
129 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
130 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
131 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 132 } else if (trainConfig == 3) {
fd94f234 133 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
134 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
344100c4 135 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
136 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 137 } else if (trainConfig == 4) {
fd94f234 138 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
139 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
344100c4 140 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
141 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 142 } else if (trainConfig == 5) {
344100c4 143 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
144 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
145 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
146 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts ///New STANDARD CUT
b92cea5e 147 } else if (trainConfig == 6) {
344100c4 148 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
149 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
150 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
151 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts ///New STANDARD CUT
b92cea5e 152 } else if (trainConfig == 7) {
344100c4 153 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
154 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
155 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
156 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 157 } else if (trainConfig == 8) {
344100c4 158 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
159 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
160 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
161 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 162 } else if (trainConfig == 9) {
344100c4 163 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
164 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
165 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
166 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 167 } else if (trainConfig == 10) {
344100c4 168 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
169 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
170 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
171 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 172 } else if (trainConfig == 11) {
344100c4 173 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
174 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
175 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
176 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 177 } else if (trainConfig == 12) {
344100c4 178 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
179 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
180 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
181 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 182 } else if (trainConfig == 13) {
344100c4 183 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
184 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
185 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
186 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 187 } else if (trainConfig == 14) {
344100c4 188 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
189 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
190 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
191 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 192 } else if (trainConfig == 15) {
344100c4 193 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
194 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
195 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
196 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 197 } else if (trainConfig == 16) {
344100c4 198 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
199 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
200 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
201 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 202 } else if (trainConfig == 17) {
344100c4 203 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
204 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
205 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
206 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 207 } else if (trainConfig == 18) {
344100c4 208 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
209 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
210 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
211 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 212 } else if (trainConfig == 19) {
344100c4 213 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
214 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
215 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
216 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 217 } else if (trainConfig == 20) {
344100c4 218 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
219 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
220 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
221 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 222 } else if (trainConfig == 21) {
344100c4 223 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
224 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
225 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
226 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 227 } else if (trainConfig == 22) {
344100c4 228 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
229 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
230 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
231 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 232 } else if (trainConfig == 23){
344100c4 233 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
234 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
235 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
236 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 237 } else if (trainConfig == 24) {
344100c4 238 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
239 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
240 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
241 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 242 } else if (trainConfig == 25) {
344100c4 243 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
244 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
245 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
246 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 247 } else if (trainConfig == 26) {
344100c4 248 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
249 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
250 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
251 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 252 } else if (trainConfig == 27) {
344100c4 253 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
254 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
255 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
256 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 257 } else if (trainConfig == 28) {
344100c4 258 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
259 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
260 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
261 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 262 } else if (trainConfig == 29) {
344100c4 263 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
264 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
265 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
266 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 267 } else if (trainConfig == 30) {
344100c4 268 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
269 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
270 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
271 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 272 } else if (trainConfig == 31) {
344100c4 273 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
274 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
275 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
276 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 277 } else if (trainConfig == 32) {
344100c4 278 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
279 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
280 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
281 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 282 } else if (trainConfig == 33) {
344100c4 283 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
284 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
285 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
286 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 287 } else if (trainConfig == 34) {
344100c4 288 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
289 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
290 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
291 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 292 } else if (trainConfig == 35) {
344100c4 293 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
294 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
295 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
296 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 297 } else if (trainConfig == 36) {
344100c4 298 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
299 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
300 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
301 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 302 } else if (trainConfig == 37) {
344100c4 303 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
304 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
305 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
306 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 307 } else if (trainConfig == 38) {
344100c4 308 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
309 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
310 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
311 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 312 } else if (trainConfig == 39) {
344100c4 313 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
314 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
315 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
316 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 317 } else if (trainConfig == 40) {
344100c4 318 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
319 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
320 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
321 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 322 } else if (trainConfig == 41) {
344100c4 323 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
324 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
325 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
326 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 327 } else if (trainConfig == 42) {
344100c4 328 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
329 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
330 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
331 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 332 } else if (trainConfig == 43) {
344100c4 333 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
334 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
335 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
336 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 337 } else if (trainConfig == 44) {
344100c4 338 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
339 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
340 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
341 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 342 } else if (trainConfig == 45){
344100c4 343 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
344 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
345 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
346 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 347 } else if (trainConfig == 46) {
344100c4 348 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
349 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
350 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
351 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 352 } else if (trainConfig == 47) {
344100c4 353 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
354 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
355 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
356 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 357 } else if (trainConfig == 48) {
344100c4 358 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
359 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
360 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
361 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 362 } else if (trainConfig == 49) {
344100c4 363 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
364 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
365 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
366 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 367 } else if (trainConfig == 50) {
344100c4 368 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
369 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
370 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
371 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 372 } else if (trainConfig == 51) {
344100c4 373 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
374 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
375 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
376 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 377 } else if (trainConfig == 52) {
344100c4 378 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
379 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
380 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
381 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 382 } else if (trainConfig == 53) {
344100c4 383 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
384 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
385 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
386 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 387 } else if (trainConfig == 54) {
344100c4 388 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
389 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
390 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
391 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 392 } else if (trainConfig == 55) {
344100c4 393 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
394 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
395 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
396 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 397 } else if (trainConfig == 56) {
344100c4 398 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
399 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
400 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
401 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 402 } else if (trainConfig == 57) {
344100c4 403 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
404 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
405 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
406 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 407 } else if (trainConfig == 58) {
344100c4 408 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
409 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
410 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
411 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 412 } else if (trainConfig == 59) {
344100c4 413 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
414 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
415 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
416 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 417 } else if (trainConfig == 60) {
344100c4 418 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
419 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
420 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
421 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 422 } else if (trainConfig == 61) {
344100c4 423 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
424 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
425 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
426 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 427 } else if (trainConfig == 62) {
344100c4 428 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
429 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
430 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
431 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 432 } else if (trainConfig == 63) {
344100c4 433 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
434 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
435 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
436 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 437 } else if (trainConfig == 64) {
344100c4 438 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
439 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
440 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
441 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 442 } else if (trainConfig == 65) {
344100c4 443 eventCutArray[ 0] = "8240011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
444 eventCutArray[ 1] = "8240011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
445 eventCutArray[ 2] = "8240011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
446 eventCutArray[ 3] = "8240011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 447 } else if (trainConfig == 66) {
344100c4 448 eventCutArray[ 0] = "8240012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
449 eventCutArray[ 1] = "8240012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
450 eventCutArray[ 2] = "8240012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
451 eventCutArray[ 3] = "8240012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 452 } else if (trainConfig == 67){
344100c4 453 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
454 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
455 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
456 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 457 } else if (trainConfig == 68) {
344100c4 458 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
459 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
460 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
461 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 462 } else if (trainConfig == 69) {
344100c4 463 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
464 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
465 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
466 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 467 } else if (trainConfig == 70) {
344100c4 468 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
469 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
470 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
471 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 472 } else if (trainConfig == 71) {
344100c4 473 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
474 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
475 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
476 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 477 } else if (trainConfig == 72) {
344100c4 478 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
479 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
480 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
481 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 482 } else if (trainConfig == 73) {
344100c4 483 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
484 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
485 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
486 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 487 } else if (trainConfig == 74) {
344100c4 488 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
489 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
490 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
491 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 492 } else if (trainConfig == 75) {
344100c4 493 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
494 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
495 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
496 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 497 } else if (trainConfig == 76) {
344100c4 498 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
499 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
500 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
501 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 502 } else if (trainConfig == 77) {
344100c4 503 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
504 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
505 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
506 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 507 } else if (trainConfig == 78) {
344100c4 508 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
509 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
510 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
511 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 512 } else if (trainConfig == 79) {
344100c4 513 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
514 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
515 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
516 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 517 } else if (trainConfig == 80) {
344100c4 518 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
519 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
520 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
521 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 522 } else if (trainConfig == 81) {
344100c4 523 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
524 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
525 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
526 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 527 } else if (trainConfig == 82) {
344100c4 528 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
529 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
530 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
531 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 532 } else if (trainConfig == 83) {
344100c4 533 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
534 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
535 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
536 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 537 } else if (trainConfig == 84) {
344100c4 538 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
539 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
540 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
541 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 542 } else if (trainConfig == 85) {
344100c4 543 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
544 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
545 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
546 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 547 } else if (trainConfig == 86) {
344100c4 548 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
549 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
550 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
551 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 552 } else if (trainConfig == 87) {
344100c4 553 eventCutArray[ 0] = "8460011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
554 eventCutArray[ 1] = "8460011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
555 eventCutArray[ 2] = "8460011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
556 eventCutArray[ 3] = "8460011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 557 } else if (trainConfig == 88) {
344100c4 558 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
559 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
560 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
561 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 562 } else if (trainConfig == 89){
344100c4 563 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
564 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
565 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
566 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 567 } else if (trainConfig == 90) {
344100c4 568 eventCutArray[ 0] = "8460012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
569 eventCutArray[ 1] = "8460012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
570 eventCutArray[ 2] = "8460012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
571 eventCutArray[ 3] = "8460012"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 572 } else if (trainConfig == 91) {
344100c4 573 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
574 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
575 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
576 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 577 } else if (trainConfig == 92) {
344100c4 578 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
579 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
580 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
581 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 582 } else if (trainConfig == 93) {
344100c4 583 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
584 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
585 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
586 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 587 } else if (trainConfig == 94) {
344100c4 588 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
589 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
590 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
591 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 592 } else if (trainConfig == 95) {
344100c4 593 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
594 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
595 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
596 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 597 } else if (trainConfig == 96) {
344100c4 598 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
599 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
600 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
601 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 602 } else if (trainConfig == 97) {
344100c4 603 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
604 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
605 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
606 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 607 } else if (trainConfig == 98) {
344100c4 608 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
609 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
610 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
611 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 612 } else if (trainConfig == 99) {
344100c4 613 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
614 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
615 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
616 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 617 } else if (trainConfig == 100) {
344100c4 618 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
619 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
620 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
621 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 622 } else if (trainConfig == 101) {
344100c4 623 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
624 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
625 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
626 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 627 } else if (trainConfig == 102) {
344100c4 628 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
629 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
630 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
631 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 632 } else if (trainConfig == 103) {
344100c4 633 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
634 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
635 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
636 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 637 } else if (trainConfig == 104) {
344100c4 638 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
639 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
640 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
641 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 642 } else if (trainConfig == 105) {
344100c4 643 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
644 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
645 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
646 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 647 } else if (trainConfig == 106) {
344100c4 648 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
649 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
650 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
651 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 652 } else if (trainConfig == 107) {
344100c4 653 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
654 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
655 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
656 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 657 } else if (trainConfig == 108) {
344100c4 658 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
659 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
660 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
661 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 662 } else if (trainConfig == 109) {
344100c4 663 eventCutArray[ 0] = "8680011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
664 eventCutArray[ 1] = "8680011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
665 eventCutArray[ 2] = "8680011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
666 eventCutArray[ 3] = "8680011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 667 } else if (trainConfig == 110) {
344100c4 668 eventCutArray[ 0] = "8680012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
669 eventCutArray[ 1] = "8680012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
670 eventCutArray[ 2] = "8680012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
671 eventCutArray[ 3] = "8680012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 672 } else if (trainConfig == 111){
344100c4 673 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
674 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
675 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
676 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 677 } else if (trainConfig == 112) {
344100c4 678 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035009000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
679 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035009000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
680 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035009000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
681 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092370023220000000"; mesonCutArray[ 3] = "01621035009000";
b92cea5e 682 } else if (trainConfig == 113) {
344100c4 683 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
684 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
685 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
686 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 687 } else if (trainConfig == 114) {
344100c4 688 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092770023220000000"; mesonCutArray[ 0] = "01621035009000";
689 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092551023220000000"; mesonCutArray[ 1] = "01621035009000";
690 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092170003220000000"; mesonCutArray[ 2] = "01621035009000"; //just tighten Psi pair
691 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035009000"; //tighten Psi pair and chi2 in 2D
b92cea5e 692 } else if (trainConfig == 115) {
344100c4 693 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
694 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
695 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
696 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 697 } else if (trainConfig == 116) {
344100c4 698 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035009000"; //tighten psi pair and qt in 2D
699 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035009000"; //tighten psi pair and chi2 in 2D and qt in 2D
700 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035009000"; //clean cuts
701 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //clean cuts
b92cea5e 702 } else if (trainConfig == 117) {
344100c4 703 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
704 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
705 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
706 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 707 } else if (trainConfig == 118) {
344100c4 708 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // minR 2.8
709 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //minR 7.5
710 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
711 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
b92cea5e 712 } else if (trainConfig == 119) {
344100c4 713 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
714 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
715 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
716 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 717 } else if (trainConfig == 120) {
344100c4 718 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
719 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
720 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
721 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
b92cea5e 722 } else if (trainConfig == 121) {
344100c4 723 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
724 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
725 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
726 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 727 } else if (trainConfig == 122) {
344100c4 728 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
729 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
730 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
731 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
b92cea5e 732 } else if (trainConfig == 123) {
344100c4 733 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
734 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
735 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
736 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 737 } else if (trainConfig == 124) {
344100c4 738 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
739 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
740 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
741 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
b92cea5e 742 } else if (trainConfig == 125) {
344100c4 743 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
744 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
745 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
746 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 747 } else if (trainConfig == 126) {
344100c4 748 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
749 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
750 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
751 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
b92cea5e 752 } else if (trainConfig == 127) {
344100c4 753 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
754 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
755 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
756 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 757 } else if (trainConfig == 128) {
344100c4 758 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
759 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
760 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
761 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035009000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
b92cea5e 762 } else if (trainConfig == 129) {
344100c4 763 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
764 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
765 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
766 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 767 } else if (trainConfig == 130) {
344100c4 768 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035009000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
769 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035009000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
770 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065009000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
771 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034009000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
b92cea5e 772 } else if (trainConfig == 131) {
344100c4 773 eventCutArray[ 0] = "8600011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
774 eventCutArray[ 1] = "8600011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
775 eventCutArray[ 2] = "8600011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
776 eventCutArray[ 3] = "8600011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
b92cea5e 777 } else if (trainConfig == 132) {
344100c4 778 eventCutArray[ 0] = "8600012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035009000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
779 eventCutArray[ 1] = "8600012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
780 eventCutArray[ 2] = "8600012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035009000"; //old standard eta=0.9 y=0.8
781 eventCutArray[ 3] = "8600012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
25c0b354 782 } else if (trainConfig == 133) {
344100c4 783 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035000000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
784 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035000000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
785 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035000000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
786 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035000000"; //tighten Psi pair and chi2 in 2D
25c0b354 787 } else if (trainConfig == 134) {
344100c4 788 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035000000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
789 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035000000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
790 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035000000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
791 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035000000"; //tighten Psi pair and chi2 in 2D
25c0b354 792 } else if (trainConfig == 135) {
344100c4 793 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035000000"; //tighten psi pair and qt in 2D
794 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035000000"; //tighten psi pair and chi2 in 2D and qt in 2D
795 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035000000"; //clean cuts
796 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035000000"; //clean cuts
25c0b354 797 } else if (trainConfig == 136) {
344100c4 798 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035000000"; //tighten psi pair and qt in 2D
799 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035000000"; //tighten psi pair and chi2 in 2D and qt in 2D
800 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035000000"; //clean cuts
801 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035000000"; //clean cuts
25c0b354 802 } else if (trainConfig == 137) {
344100c4 803 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // minR 2.8
804 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //minR 7.5
805 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
806 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
25c0b354 807 } else if (trainConfig == 138) {
344100c4 808 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // minR 2.8
809 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //minR 7.5
810 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
811 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
25c0b354 812 } else if (trainConfig == 139) {
344100c4 813 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
814 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
815 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
816 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
25c0b354 817 } else if (trainConfig == 140) {
344100c4 818 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
819 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
820 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
821 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
25c0b354 822 } else if (trainConfig == 141) {
344100c4 823 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
824 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
825 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
826 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
25c0b354 827 } else if (trainConfig == 142) {
344100c4 828 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
829 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
830 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
831 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
25c0b354 832 } else if (trainConfig == 143) {
344100c4 833 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
834 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
835 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
836 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
25c0b354 837 } else if (trainConfig == 144) {
344100c4 838 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
839 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
840 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
841 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
25c0b354 842 } else if (trainConfig == 145) {
344100c4 843 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
844 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
845 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
846 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
25c0b354 847 } else if (trainConfig == 146) {
344100c4 848 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
849 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
850 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
851 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
25c0b354 852 } else if (trainConfig == 147) {
344100c4 853 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
854 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
855 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
856 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
25c0b354 857 } else if (trainConfig == 148) {
344100c4 858 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
859 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
860 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
861 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
25c0b354 862 } else if (trainConfig == 149) {
344100c4 863 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
864 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
865 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065000000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
866 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034000000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
25c0b354 867 } else if (trainConfig == 150) {
344100c4 868 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
869 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
870 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065000000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
871 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034000000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
25c0b354 872 } else if (trainConfig == 151) {
344100c4 873 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035000000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
874 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
875 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035000000"; //old standard eta=0.9 y=0.8
876 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
25c0b354 877 } else if (trainConfig == 152) {
344100c4 878 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035000000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
879 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
880 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035000000"; //old standard eta=0.9 y=0.8
881 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
25c0b354 882 } else if (trainConfig == 153) {
344100c4 883 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035000000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
884 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035000000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
885 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035000000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
886 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035000000"; //tighten Psi pair and chi2 in 2D
25c0b354 887 } else if (trainConfig == 154) {
344100c4 888 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "032092170008260400000"; mesonCutArray[ 0] = "01623035000000"; //New STANDARD CUT |eta| < 0.65, |y| < 0.6
889 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "042092170008260400000"; mesonCutArray[ 1] = "01622035000000"; //New STANDARD CUT |eta| < 0.75, |y| < 0.7
890 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "012092170008260400000"; mesonCutArray[ 2] = "01624035000000"; //New STANDARD CUT |eta| < 0.6, |y| < 0.5
891 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170003260000000"; mesonCutArray[ 3] = "01621035000000"; //tighten Psi pair and chi2 in 2D
25c0b354 892 } else if (trainConfig == 155) {
344100c4 893 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035000000"; //tighten psi pair and qt in 2D
894 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035000000"; //tighten psi pair and chi2 in 2D and qt in 2D
895 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035000000"; //clean cuts
896 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035000000"; //clean cuts
25c0b354 897 } else if (trainConfig == 156) {
344100c4 898 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008220000000"; mesonCutArray[ 0] = "01621035000000"; //tighten psi pair and qt in 2D
899 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008260000000"; mesonCutArray[ 1] = "01621035000000"; //tighten psi pair and chi2 in 2D and qt in 2D
900 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170008220400000"; mesonCutArray[ 2] = "01621035000000"; //clean cuts
901 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035000000"; //clean cuts
25c0b354 902 } else if (trainConfig == 157) {
344100c4 903 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // minR 2.8
904 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //minR 7.5
905 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
906 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
25c0b354 907 } else if (trainConfig == 158) {
344100c4 908 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "001092170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // minR 2.8
909 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "009092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //minR 7.5
910 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002792170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0. GeV/c
911 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002192170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //single pT 0.1 GeV/c
25c0b354 912 } else if (trainConfig == 159) {
344100c4 913 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
914 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
915 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
916 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
25c0b354 917 } else if (trainConfig == 160) {
344100c4 918 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002082170008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.35
919 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002062170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //TPC Cluster 0.7
920 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002093170008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -4,5
921 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002096170008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //edEdx -2.5,4
25c0b354 922 } else if (trainConfig == 161) {
344100c4 923 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
924 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
925 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
926 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
25c0b354 927 } else if (trainConfig == 162) {
344100c4 928 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092270008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 1,-10
929 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092570008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi dEdx 2,-10
930 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092160008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi minMom 0.25
931 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092150008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi min Mom 0.3
25c0b354 932 } else if (trainConfig == 163) {
344100c4 933 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
934 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
935 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
936 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
25c0b354 937 } else if (trainConfig == 164) {
344100c4 938 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092172008260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi maxMom 4GeV
939 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092162008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 // pi minMom 0.25GeV maxMom 4GeV
940 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092260008260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV
941 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092262008260400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //pi dEdx 1,-10 minMom 0.25GeV maxMom 4GeV
25c0b354 942 } else if (trainConfig == 165) {
344100c4 943 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
944 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
945 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
946 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
25c0b354 947 } else if (trainConfig == 166) {
344100c4 948 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170003260400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.05 1D
949 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170009260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.03 2D
950 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170002260400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //qT 0.07 1D
951 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008220400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 and psi Pair 1D
25c0b354 952 } else if (trainConfig == 167) {
344100c4 953 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
954 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
955 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
956 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
25c0b354 957 } else if (trainConfig == 168) {
344100c4 958 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008160400000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 50 2D
959 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008860400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //chi2 20 2D
960 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170008250400000"; mesonCutArray[ 2] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.1
961 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008270400000"; mesonCutArray[ 3] = "01621035000000"; //new standard eta=0.9 y=0.8 //psi pair 0.035
25c0b354 962 } else if (trainConfig == 169) {
344100c4 963 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
964 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
965 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065000000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
966 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034000000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
25c0b354 967 } else if (trainConfig == 170) {
344100c4 968 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008260300000"; mesonCutArray[ 0] = "01621035000000"; //new standard eta=0.9 y=0.8 // cos pointing angle 0.75
969 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008260600000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //cos pointing angle 0.9
970 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002092170008260400000"; mesonCutArray[ 2] = "01621065000000"; //new standard eta=0.9 y=0.8 // alpha meson cut 0.8
971 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621034000000"; //new standard eta=0.9 y=0.8 //chi2 meson 500
25c0b354 972 } else if (trainConfig == 171) {
344100c4 973 eventCutArray[ 0] = "8020011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035000000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
974 eventCutArray[ 1] = "8020011"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
975 eventCutArray[ 2] = "8020011"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035000000"; //old standard eta=0.9 y=0.8
976 eventCutArray[ 3] = "8020011"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
25c0b354 977 } else if (trainConfig == 172) {
344100c4 978 eventCutArray[ 0] = "8020012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "02621035000000"; //new standard eta=0.9 y=0.8 // BG track multiplicity
979 eventCutArray[ 1] = "8020012"; photonCutArray[ 1] = "002092170008260400000"; mesonCutArray[ 1] = "01621035000000"; //new standard eta=0.9 y=0.8 //no MCP smearing
980 eventCutArray[ 2] = "8020012"; photonCutArray[ 2] = "002093172003290000000"; mesonCutArray[ 2] = "01621035000000"; //old standard eta=0.9 y=0.8
981 eventCutArray[ 3] = "8020012"; photonCutArray[ 3] = "002092170008260400000"; mesonCutArray[ 3] = "01621035008000"; //new standard eta=0.9 y=0.8 // fPSigSmearingCte=0.014;
8fa2d145 982 } else if (trainConfig == 173) {
344100c4 983 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "01621035009000"; // all Photon Qualities
984 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002092170008260420000"; mesonCutArray[ 1] = "01621035009000"; // only photon quality 1
985 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002092170008260430000"; mesonCutArray[ 2] = "01621035009000"; // only photon quality 2
986 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002092170008260440000"; mesonCutArray[ 3] = "01621035009000"; // only photon quality 3
8fa2d145 987 } else if (trainConfig == 174) {
344100c4 988 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "01621035009000"; // all Photon Qualities
989 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002092170008260420000"; mesonCutArray[ 1] = "01621035009000"; // only photon quality 1
990 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002092170008260430000"; mesonCutArray[ 2] = "01621035009000"; // only photon quality 2
991 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002092170008260440000"; mesonCutArray[ 3] = "01621035009000"; // only photon quality 3
7e6c9796 992 } else if (trainConfig == 175) {
344100c4 993 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260410000"; mesonCutArray[ 0] = "01621035009000"; //no shared electron cut on
994 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "002192170008260400000"; mesonCutArray[ 1] = "01621035009000"; //single pt cut 0.1
995 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "002292170008260400000"; mesonCutArray[ 2] = "01621035009000"; //single pt cut 0.15
996 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "002492170008260400000"; mesonCutArray[ 3] = "01621035009000"; //single pt cut 0.075
7e6c9796 997 } else if (trainConfig == 176) {
344100c4 998 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260410000"; mesonCutArray[ 0] = "01621035009000"; //no shared electron cut on
999 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "002192170008260400000"; mesonCutArray[ 1] = "01621035009000"; //single pt cut 0.1
1000 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "002292170008260400000"; mesonCutArray[ 2] = "01621035009000"; //single pt cut 0.15
1001 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "002492170008260400000"; mesonCutArray[ 3] = "01621035009000"; //single pt cut 0.075
072021d3 1002 } else if (trainConfig == 177) {
344100c4 1003 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "007092170008260400000"; mesonCutArray[ 0] = "01621035009000"; // min R =35 cm
1004 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "007092170008260420000"; mesonCutArray[ 1] = "01621035009000"; // min R =35 cm & only photon quality 1
1005 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "007092170008260430000"; mesonCutArray[ 2] = "01621035009000"; // min R =35 cm & only photon quality 2
1006 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "007092170008260440000"; mesonCutArray[ 3] = "01621035009000"; // min R =35 cm & only photon quality 3
072021d3 1007 } else if (trainConfig == 178) {
344100c4 1008 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "007092170008260400000"; mesonCutArray[ 0] = "01621035009000"; // min R =35 cm
1009 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "007092170008260420000"; mesonCutArray[ 1] = "01621035009000"; // min R =35 cm & only photon quality 1
1010 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "007092170008260430000"; mesonCutArray[ 2] = "01621035009000"; // min R =35 cm & only photon quality 2
1011 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "007092170008260440000"; mesonCutArray[ 3] = "01621035009000"; // min R =35 cm & only photon quality 3
9b4cb8c1 1012 } else if (trainConfig == 179) {
344100c4 1013 eventCutArray[ 0] = "8000011"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "01628035009000"; //new standard rapidity 0-0.5 in cms
1014 eventCutArray[ 1] = "8000011"; photonCutArray[ 1] = "005092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard RCut=10cm
1015 eventCutArray[ 2] = "8000011"; photonCutArray[ 2] = "008092170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard RCut=12.5cm
1016 eventCutArray[ 3] = "8000011"; photonCutArray[ 3] = "006092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard RCut=20cm
9b4cb8c1 1017 } else if (trainConfig == 180) {
344100c4 1018 eventCutArray[ 0] = "8000012"; photonCutArray[ 0] = "002092170008260400000"; mesonCutArray[ 0] = "01628035009000"; //new standard rapidity 0-0.5 in cms
1019 eventCutArray[ 1] = "8000012"; photonCutArray[ 1] = "005092170008260400000"; mesonCutArray[ 1] = "01621035009000"; //new standard RCut=10cm
1020 eventCutArray[ 2] = "8000012"; photonCutArray[ 2] = "008092170008260400000"; mesonCutArray[ 2] = "01621035009000"; //new standard RCut=12.5cm
1021 eventCutArray[ 3] = "8000012"; photonCutArray[ 3] = "006092170008260400000"; mesonCutArray[ 3] = "01621035009000"; //new standard RCut=20cm
b92cea5e 1022 } else {
1023 Error(Form("GammaConvV1_%i",trainConfig), "wrong trainConfig variable no cuts have been specified for the configuration");
1024 return;
1025 }
344100c4 1026
1027 TList *EventCutList = new TList();
b92cea5e 1028 TList *ConvCutList = new TList();
1029 TList *MesonCutList = new TList();
1030
1031 TList *HeaderList = new TList();
1032 if (doWeightingPart==1) {
1033 TObjString *Header1 = new TObjString("pi0_1");
1034 HeaderList->Add(Header1);
1035 }
1036 if (doWeightingPart==2){
1037 TObjString *Header3 = new TObjString("eta_2");
1038 HeaderList->Add(Header3);
1039 }
1040 if (doWeightingPart==3) {
1041 TObjString *Header1 = new TObjString("pi0_1");
1042 HeaderList->Add(Header1);
1043 TObjString *Header3 = new TObjString("eta_2");
1044 HeaderList->Add(Header3);
1045 }
1046
1047
1048 Bool_t doWeighting = kFALSE;
1049 if (doWeightingPart == 1 || doWeightingPart == 2 || doWeightingPart == 3) doWeighting = kTRUE;
1050
344100c4 1051 EventCutList->SetOwner(kTRUE);
1052 AliConvEventCuts **analysisEventCuts = new AliConvEventCuts*[numberOfCuts];
b92cea5e 1053 ConvCutList->SetOwner(kTRUE);
344100c4 1054 AliConversionPhotonCuts **analysisCuts = new AliConversionPhotonCuts*[numberOfCuts];
b92cea5e 1055 MesonCutList->SetOwner(kTRUE);
1056 AliConversionMesonCuts **analysisMesonCuts = new AliConversionMesonCuts*[numberOfCuts];
1057
344100c4 1058 if (doWeighting) Printf("weighting has been switched on");
b92cea5e 1059
1060 for(Int_t i = 0; i<numberOfCuts; i++){
1061
344100c4 1062 analysisEventCuts[i] = new AliConvEventCuts();
9b4cb8c1 1063 if ( trainConfig == 1 || trainConfig == 3 || trainConfig == 5 || trainConfig == 7 || trainConfig == 9 || trainConfig == 11 || trainConfig == 13 || trainConfig == 15|| trainConfig == 17|| trainConfig == 19 || trainConfig == 21 || trainConfig == 133 || trainConfig == 135 || trainConfig == 137 || trainConfig == 139 || trainConfig == 141 || trainConfig == 143 || trainConfig == 145 || trainConfig == 147 || trainConfig == 149 || trainConfig == 151 || trainConfig == 173 || trainConfig == 175 || trainConfig == 177 || trainConfig == 179 ){
b92cea5e 1064 if (doWeighting){
1065 if (generatorName.CompareTo("DPMJET")==0){
344100c4 1066 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_DPMJET_LHC13b2_efix_pPb_5023GeV_MBV0A", "Eta_DPMJET_LHC13b2_efix_pPb_5023GeV_MBV0A", "","Pi0_Fit_Data_pPb_5023GeV_MBV0A","Eta_Fit_Data_pPb_5023GeV_MBV0A");
b92cea5e 1067 } else if (generatorName.CompareTo("HIJING")==0){
344100c4 1068 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_pPb_5023GeV_MBV0A", "Eta_Hijing_LHC13e7_pPb_5023GeV_MBV0A", "","Pi0_Fit_Data_pPb_5023GeV_MBV0A","Eta_Fit_Data_pPb_5023GeV_MBV0A");
b92cea5e 1069 }
1070 }
1071 }
9b4cb8c1 1072 if ( trainConfig == 2 || trainConfig == 4 || trainConfig == 6 || trainConfig == 8 || trainConfig == 10 || trainConfig == 12 || trainConfig == 14 || trainConfig == 16|| trainConfig == 18|| trainConfig == 20|| trainConfig == 22 || trainConfig == 134 || trainConfig == 136 || trainConfig == 138 || trainConfig == 140 || trainConfig == 142 || trainConfig == 144 || trainConfig == 146 || trainConfig == 148 || trainConfig == 150 || trainConfig == 152 || trainConfig == 174 || trainConfig == 176 || trainConfig == 178 || trainConfig == 180){
b92cea5e 1073 if (doWeighting){
344100c4 1074 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_addSig_pPb_5023GeV_MBV0A", "Eta_Hijing_LHC13e7_addSig_pPb_5023GeV_MBV0A", "","Pi0_Fit_Data_pPb_5023GeV_MBV0A","Eta_Fit_Data_pPb_5023GeV_MBV0A");
b92cea5e 1075 }
1076
1077 }
25c0b354 1078 if ( trainConfig == 23 || trainConfig == 25 || trainConfig == 27 || trainConfig == 29 || trainConfig == 31 || trainConfig == 33 || trainConfig == 35 || trainConfig == 37|| trainConfig == 39|| trainConfig == 41 || trainConfig == 43 || trainConfig == 153 || trainConfig == 155 || trainConfig == 157 || trainConfig == 159 || trainConfig == 161 || trainConfig == 163 || trainConfig == 165 || trainConfig == 167 || trainConfig == 169 || trainConfig == 171){
b92cea5e 1079 if (doWeighting){
1080 if (generatorName.CompareTo("DPMJET")==0){
344100c4 1081 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_DPMJET_LHC13b2_efix_pPb_5023GeV_0020V0A", "Eta_DPMJET_LHC13b2_efix_pPb_5023GeV_0020V0A", "","Pi0_Fit_Data_pPb_5023GeV_0020V0A","Eta_Fit_Data_pPb_5023GeV_0020V0A");
b92cea5e 1082 } else if (generatorName.CompareTo("HIJING")==0){
344100c4 1083 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_pPb_5023GeV_0020V0A", "Eta_Hijing_LHC13e7_pPb_5023GeV_0020V0A", "","Pi0_Fit_Data_pPb_5023GeV_0020V0A","Eta_Fit_Data_pPb_5023GeV_0020V0A");
b92cea5e 1084 }
1085 }
1086 }
25c0b354 1087 if ( trainConfig == 24 || trainConfig == 26 || trainConfig == 28 || trainConfig == 30 || trainConfig == 32 || trainConfig == 34 || trainConfig == 36 || trainConfig == 38|| trainConfig == 40|| trainConfig == 42|| trainConfig == 44 || trainConfig == 154 || trainConfig == 156 || trainConfig == 158 || trainConfig == 160 || trainConfig == 162 || trainConfig == 164 || trainConfig == 166 || trainConfig == 168 || trainConfig == 170 || trainConfig == 172){
b92cea5e 1088 if (doWeighting){
344100c4 1089 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_addSig_pPb_5023GeV_0020V0A", "Eta_Hijing_LHC13e7_addSig_pPb_5023GeV_0020V0A", "","Pi0_Fit_Data_pPb_5023GeV_0020V0A","Eta_Fit_Data_pPb_5023GeV_0020V0A");
b92cea5e 1090 }
1091 }
1092 if ( trainConfig == 45 || trainConfig == 47 || trainConfig == 49 || trainConfig == 51 || trainConfig == 53 || trainConfig == 55 || trainConfig == 57 || trainConfig == 59|| trainConfig == 61|| trainConfig == 63 || trainConfig == 65 ){
1093 if (doWeighting){
1094 if (generatorName.CompareTo("DPMJET")==0){
344100c4 1095 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_DPMJET_LHC13b2_efix_pPb_5023GeV_2040V0A", "Eta_DPMJET_LHC13b2_efix_pPb_5023GeV_2040V0A", "","Pi0_Fit_Data_pPb_5023GeV_2040V0A","Eta_Fit_Data_pPb_5023GeV_2040V0A");
b92cea5e 1096 } else if (generatorName.CompareTo("HIJING")==0){
344100c4 1097 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_pPb_5023GeV_2040V0A", "Eta_Hijing_LHC13e7_pPb_5023GeV_2040V0A", "","Pi0_Fit_Data_pPb_5023GeV_2040V0A","Eta_Fit_Data_pPb_5023GeV_2040V0A");
b92cea5e 1098 }
1099 }
1100 }
1101 if ( trainConfig == 46 || trainConfig == 48 || trainConfig == 50 || trainConfig == 52 || trainConfig == 54 || trainConfig == 56 || trainConfig == 58 || trainConfig == 60|| trainConfig == 62|| trainConfig == 64|| trainConfig == 66){
1102 if (doWeighting){
344100c4 1103 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_addSig_pPb_5023GeV_2040V0A", "Eta_Hijing_LHC13e7_addSig_pPb_5023GeV_2040V0A", "","Pi0_Fit_Data_pPb_5023GeV_2040V0A","Eta_Fit_Data_pPb_5023GeV_2040V0A");
b92cea5e 1104 }
1105 }
1106 if ( trainConfig == 67 || trainConfig == 69 || trainConfig == 71 || trainConfig == 73 || trainConfig == 75 || trainConfig == 77 || trainConfig == 79 || trainConfig == 81 || trainConfig == 83 || trainConfig == 85 || trainConfig == 87 ){
1107 if (doWeighting){
1108 if (generatorName.CompareTo("DPMJET")==0){
344100c4 1109 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_DPMJET_LHC13b2_efix_pPb_5023GeV_4060V0A", "Eta_DPMJET_LHC13b2_efix_pPb_5023GeV_4060V0A", "","Pi0_Fit_Data_pPb_5023GeV_4060V0A","Eta_Fit_Data_pPb_5023GeV_4060V0A");
b92cea5e 1110 } else if (generatorName.CompareTo("HIJING")==0){
344100c4 1111 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_pPb_5023GeV_4060V0A", "Eta_Hijing_LHC13e7_pPb_5023GeV_4060V0A", "","Pi0_Fit_Data_pPb_5023GeV_4060V0A","Eta_Fit_Data_pPb_5023GeV_4060V0A");
b92cea5e 1112 }
1113 }
1114 }
1115 if ( trainConfig == 68 || trainConfig == 70 || trainConfig == 72 || trainConfig == 74 || trainConfig == 76 || trainConfig == 78 || trainConfig == 80 || trainConfig == 82 || trainConfig == 84 || trainConfig == 86 || trainConfig == 88){
1116 if (doWeighting){
344100c4 1117 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_addSig_pPb_5023GeV_4060V0A", "Eta_Hijing_LHC13e7_addSig_pPb_5023GeV_4060V0A", "","Pi0_Fit_Data_pPb_5023GeV_4060V0A","Eta_Fit_Data_pPb_5023GeV_4060V0A");
b92cea5e 1118 }
1119 }
1120 if ( trainConfig == 89 || trainConfig == 91 || trainConfig == 93 || trainConfig == 95 || trainConfig == 97 || trainConfig == 99 || trainConfig == 101 || trainConfig == 103 || trainConfig == 105 || trainConfig == 107 || trainConfig == 109 ){
1121 if (doWeighting){
1122 if (generatorName.CompareTo("DPMJET")==0){
344100c4 1123 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_DPMJET_LHC13b2_efix_pPb_5023GeV_6080V0A", "Eta_DPMJET_LHC13b2_efix_pPb_5023GeV_6080V0A", "","Pi0_Fit_Data_pPb_5023GeV_6080V0A","Eta_Fit_Data_pPb_5023GeV_6080V0A");
b92cea5e 1124 } else if (generatorName.CompareTo("HIJING")==0){
344100c4 1125 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_pPb_5023GeV_6080V0A", "Eta_Hijing_LHC13e7_pPb_5023GeV_6080V0A", "","Pi0_Fit_Data_pPb_5023GeV_6080V0A","Eta_Fit_Data_pPb_5023GeV_6080V0A");
b92cea5e 1126 }
1127 }
1128 }
1129 if ( trainConfig == 90 || trainConfig == 92 || trainConfig == 94 || trainConfig == 96 || trainConfig == 98 || trainConfig == 100 || trainConfig == 102 || trainConfig == 104 || trainConfig == 106 || trainConfig == 108 || trainConfig == 108 ){
1130 if (doWeighting){
344100c4 1131 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_addSig_pPb_5023GeV_6080V0A", "Eta_Hijing_LHC13e7_addSig_pPb_5023GeV_6080V0A", "","Pi0_Fit_Data_pPb_5023GeV_6080V0A","Eta_Fit_Data_pPb_5023GeV_6080V0A");
b92cea5e 1132 }
1133 }
1134 if ( trainConfig == 111 || trainConfig == 113 || trainConfig == 115 || trainConfig == 117 || trainConfig == 119 || trainConfig == 121 || trainConfig == 123 || trainConfig == 125 || trainConfig == 127 || trainConfig == 129 || trainConfig == 131 ){
1135 if (doWeighting){
1136 if (generatorName.CompareTo("DPMJET")==0){
344100c4 1137 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_DPMJET_LHC13b2_efix_pPb_5023GeV_60100V0A", "Eta_DPMJET_LHC13b2_efix_pPb_5023GeV_60100V0A", "","Pi0_Fit_Data_pPb_5023GeV_60100V0A","Eta_Fit_Data_pPb_5023GeV_60100V0A");
b92cea5e 1138 } else if (generatorName.CompareTo("HIJING")==0){
344100c4 1139 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_pPb_5023GeV_60100V0A", "Eta_Hijing_LHC13e7_pPb_5023GeV_60100V0A", "","Pi0_Fit_Data_pPb_5023GeV_60100V0A","Eta_Fit_Data_pPb_5023GeV_60100V0A");
b92cea5e 1140 }
1141 }
1142 }
1143 if ( trainConfig == 112 || trainConfig == 114 || trainConfig == 116 || trainConfig == 118 || trainConfig == 120 || trainConfig == 122 || trainConfig == 124 || trainConfig == 126 || trainConfig == 128 || trainConfig == 130 || trainConfig == 130){
1144 if (doWeighting){
344100c4 1145 analysisEventCuts[i]->SetUseReweightingWithHistogramFromFile(kTRUE, kTRUE, kFALSE, fileNameInputForWeighting, "Pi0_Hijing_LHC13e7_addSig_pPb_5023GeV_60100V0A", "Eta_Hijing_LHC13e7_addSig_pPb_5023GeV_60100V0A", "","Pi0_Fit_Data_pPb_5023GeV_60100V0A","Eta_Fit_Data_pPb_5023GeV_60100V0A");
b92cea5e 1146 }
1147 }
344100c4 1148 analysisEventCuts[i]->InitializeCutsFromCutString(eventCutArray[i].Data());
b92cea5e 1149 if (doEtaShiftIndCuts) {
344100c4 1150 analysisEventCuts[i]->DoEtaShift(doEtaShiftIndCuts);
1151 analysisEventCuts[i]->SetEtaShift(stringShift);
b92cea5e 1152 }
9b4cb8c1 1153 if (trainConfig == 179 || trainConfig == 180) {
344100c4 1154 analysisEventCuts[0]->DoEtaShift(kTRUE);
1155 analysisEventCuts[0]->SetEtaShift(-0.215);
9b4cb8c1 1156 }
b92cea5e 1157
344100c4 1158 EventCutList->Add(analysisEventCuts[i]);
1159 analysisEventCuts[i]->SetFillCutHistograms("",kFALSE);
1160
1161 analysisCuts[i] = new AliConversionPhotonCuts();
1162 analysisCuts[i]->InitializeCutsFromCutString(photonCutArray[i].Data());
1163 analysisCuts[i]->SetIsHeavyIon(isHeavyIon);
b92cea5e 1164 ConvCutList->Add(analysisCuts[i]);
b92cea5e 1165 analysisCuts[i]->SetFillCutHistograms("",kFALSE);
344100c4 1166
b92cea5e 1167 analysisMesonCuts[i] = new AliConversionMesonCuts();
1168 analysisMesonCuts[i]->InitializeCutsFromCutString(mesonCutArray[i].Data());
1169 MesonCutList->Add(analysisMesonCuts[i]);
1170 analysisMesonCuts[i]->SetFillCutHistograms("");
344100c4 1171 analysisEventCuts[i]->SetAcceptedHeader(HeaderList);
b92cea5e 1172 }
1173
344100c4 1174 task->SetEventCutList(numberOfCuts,EventCutList);
b92cea5e 1175 task->SetConversionCutList(numberOfCuts,ConvCutList);
1176 task->SetMesonCutList(numberOfCuts,MesonCutList);
1177 task->SetMoveParticleAccordingToVertex(kTRUE);
1178 task->SetDoMesonAnalysis(kTRUE);
1179 task->SetDoMesonQA(enableQAMesonTask); //Attention new switch for Pi0 QA
d9d6352b 1180 task->SetDoPhotonQA(enableQAPhotonTask); //Attention new switch small for Photon QA
b92cea5e 1181
1182 //connect containers
1183 AliAnalysisDataContainer *coutput =
1184 mgr->CreateContainer(Form("GammaConvV1_%i",trainConfig), TList::Class(),
1185 AliAnalysisManager::kOutputContainer,Form("GammaConvV1_%i.root",trainConfig));
1186
1187 mgr->AddTask(task);
1188 mgr->ConnectInput(task,0,cinput);
1189 mgr->ConnectOutput(task,1,coutput);
1190
1191 return;
1192
33bbd991 1193}