Skip to content

Commit 081e595

Browse files
authored
codeJE: Add event histo and disable sel7 event selection (#435)
1 parent f32b445 commit 081e595

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

codeJE/Compare.C

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Int_t Compare(TString pathFileO2 = "AnalysisResults_O2.root", TString pathFileAl
2020
// Histogram specification: axis label, AliPhysics name, O2Physics path/name, rebin, log scale histogram, log scale ratio, projection axis
2121

2222
VecSpecHis vecHisEvents;
23+
AddHistogram(vecHisEvents, "#it{z}_{prim. vtx.} (cm)", "Events Vertex Distribution", "jet-validation-track-collision-qa/controlCollisionVtxZ", 1, 0, 0);
2324

2425
VecSpecHis vecHisJets;
2526
AddHistogram(vecHisJets, "#it{p}_{T, ch jet} (GeV/#it{c})", "jetPt", "jet-validation-track-collision-qa/jetPt", 1, 1, 0);
@@ -33,9 +34,9 @@ Int_t Compare(TString pathFileO2 = "AnalysisResults_O2.root", TString pathFileAl
3334
VecSpecVecSpec vecSpecVecSpec;
3435

3536
// Add vector specifications in the vector.
36-
// if (options.Contains(" events "))
37-
// vecSpecVecSpec.push_back(std::make_tuple("events", vecHisEvents, 4, 2));
38-
if (options.Contains("jets"))
37+
if (options.Contains(" events "))
38+
vecSpecVecSpec.push_back(std::make_tuple("events", vecHisEvents, 1, 1));
39+
if (options.Contains(" jets "))
3940
vecSpecVecSpec.push_back(std::make_tuple("jets", vecHisJets, 3, 2));
4041

4142
return MakePlots(vecSpecVecSpec, pathFileO2, pathFileAli, pathListAli, doRatio);

codeJE/config_tasks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ function MakeScriptPostprocess {
204204
[[ $DOALI -eq 1 && $DOO2 -eq 1 ]] && {
205205
OPT_COMPARE=""
206206
[ $DOO2_JET_VALID -eq 1 ] && OPT_COMPARE+=" jets "
207+
[ $DOO2_JET_VALID -eq 1 ] && OPT_COMPARE+=" events "
207208
[ "$OPT_COMPARE" ] && POSTEXEC+=" && root -b -q -l \"$DIR_TASKS/Compare.C(\\\"\$FileO2\\\", \\\"\$FileAli\\\", \\\"$OPT_COMPARE\\\", $DORATIO)\""
208209
}
209210
cat << EOF > "$SCRIPT_POSTPROCESS"

codeJE/dpl-config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"compatibilityIU": "false",
5151
"itsMatching": "0",
5252
"dcaSetup": "0",
53-
"ptMin": "0.1",
53+
"ptMin": "0.15",
5454
"ptMax": "1e+10",
5555
"etaMin": "-0.8",
5656
"etaMax": "0.8"
@@ -74,7 +74,7 @@
7474
"trackPhiMin": "-999",
7575
"trackPhiMax": "999",
7676
"trackSelections": "hybridTracksJE",
77-
"eventSelections": "sel7",
77+
"eventSelections": "none",
7878
"particleSelections": "PhysicalPrimary",
7979
"clusterDefinition": "kV3Default",
8080
"clusterEtaMin": "-0.7",
@@ -445,10 +445,10 @@
445445
},
446446
"jet-validation-track-collision-qa": {
447447
"ptLow": "0.15",
448-
"ptUp": "100",
448+
"ptUp": "1e15",
449449
"etaLow": "-0.9",
450450
"etaUp": "0.9",
451-
"evSel": "true",
451+
"evSel": "false",
452452
"nBins": "200",
453453
"BinsPhi": {
454454
"values": [

0 commit comments

Comments
 (0)