Skip to content

Commit

Permalink
codeJE: Add event histo and disable sel7 event selection (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
jloemker authored Nov 23, 2023
1 parent f32b445 commit 081e595
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions codeJE/Compare.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Int_t Compare(TString pathFileO2 = "AnalysisResults_O2.root", TString pathFileAl
// Histogram specification: axis label, AliPhysics name, O2Physics path/name, rebin, log scale histogram, log scale ratio, projection axis

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

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

// Add vector specifications in the vector.
// if (options.Contains(" events "))
// vecSpecVecSpec.push_back(std::make_tuple("events", vecHisEvents, 4, 2));
if (options.Contains("jets"))
if (options.Contains(" events "))
vecSpecVecSpec.push_back(std::make_tuple("events", vecHisEvents, 1, 1));
if (options.Contains(" jets "))
vecSpecVecSpec.push_back(std::make_tuple("jets", vecHisJets, 3, 2));

return MakePlots(vecSpecVecSpec, pathFileO2, pathFileAli, pathListAli, doRatio);
Expand Down
1 change: 1 addition & 0 deletions codeJE/config_tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ function MakeScriptPostprocess {
[[ $DOALI -eq 1 && $DOO2 -eq 1 ]] && {
OPT_COMPARE=""
[ $DOO2_JET_VALID -eq 1 ] && OPT_COMPARE+=" jets "
[ $DOO2_JET_VALID -eq 1 ] && OPT_COMPARE+=" events "
[ "$OPT_COMPARE" ] && POSTEXEC+=" && root -b -q -l \"$DIR_TASKS/Compare.C(\\\"\$FileO2\\\", \\\"\$FileAli\\\", \\\"$OPT_COMPARE\\\", $DORATIO)\""
}
cat << EOF > "$SCRIPT_POSTPROCESS"
Expand Down
8 changes: 4 additions & 4 deletions codeJE/dpl-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"compatibilityIU": "false",
"itsMatching": "0",
"dcaSetup": "0",
"ptMin": "0.1",
"ptMin": "0.15",
"ptMax": "1e+10",
"etaMin": "-0.8",
"etaMax": "0.8"
Expand All @@ -74,7 +74,7 @@
"trackPhiMin": "-999",
"trackPhiMax": "999",
"trackSelections": "hybridTracksJE",
"eventSelections": "sel7",
"eventSelections": "none",
"particleSelections": "PhysicalPrimary",
"clusterDefinition": "kV3Default",
"clusterEtaMin": "-0.7",
Expand Down Expand Up @@ -445,10 +445,10 @@
},
"jet-validation-track-collision-qa": {
"ptLow": "0.15",
"ptUp": "100",
"ptUp": "1e15",
"etaLow": "-0.9",
"etaUp": "0.9",
"evSel": "true",
"evSel": "false",
"nBins": "200",
"BinsPhi": {
"values": [
Expand Down

0 comments on commit 081e595

Please sign in to comment.