Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PWGDQ/Core/VarManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,10 @@ class VarManager : public TObject
kV2ME_EP,
kWV2ME_SP,
kWV2ME_EP,
kTwoR2SP1, // Scalar product resolution of event1 for ME technique
kTwoR2SP2, // Scalar product resolution of event2 for ME technique
kTwoR2EP1, // Event plane resolution of event2 for ME technique
kTwoR2EP2, // Event plane resolution of event2 for ME technique
kTwoR2SP1, // Scalar product resolution of event1 for ME technique
kTwoR2SP2, // Scalar product resolution of event2 for ME technique
kTwoR2EP1, // Event plane resolution of event2 for ME technique
kTwoR2EP2, // Event plane resolution of event2 for ME technique
kNPairsPerEvent, // number of pairs per event in same-event or mixed-event pairing

// Variables for event mixing with cumulant
Expand Down
6 changes: 3 additions & 3 deletions PWGDQ/Tasks/tableReader_withAssoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1643,10 +1643,10 @@ struct AnalysisSameEventPairing {
VarManager::SetCollisionSystem((TString)fConfigOptions.collisionSystem, fConfigOptions.centerMassEnergy); // set collision system and center of mass energy
DefineHistograms(fHistMan, histNames.Data(), fConfigAddSEPHistogram.value.data()); // define all histograms
if (fEnableBarrelHistos) {
DefineHistograms(fHistMan, "PairingSEQA", "sameevent-pairing"); // histograms for QA of the pairing
DefineHistograms(fHistMan, "PairingSEQA", "sameevent-pairing"); // histograms for QA of the pairing
};
if (fEnableBarrelMixingHistos) {
DefineHistograms(fHistMan, "PairingMEQA", "mixedevent-pairing"); // histograms for QA of the pairing
DefineHistograms(fHistMan, "PairingMEQA", "mixedevent-pairing"); // histograms for QA of the pairing
};
dqhistograms::AddHistogramsFromJSON(fHistMan, fConfigAddJSONHistograms.value.c_str()); // ad-hoc histograms via JSON
VarManager::SetUseVars(fHistMan->GetUsedVars()); // provide the list of required variables so that VarManager knows what to fill
Expand Down Expand Up @@ -2298,7 +2298,7 @@ struct AnalysisSameEventPairing {

auto assocs2 = assocs.sliceBy(preSlice, event2.globalIndex());
assocs2.bindExternalIndices(&events);

fNPairPerEvent = 0;
runMixedPairing<TPairType, TEventFillMap>(assocs1, assocs2, tracks, tracks);
VarManager::fgValues[VarManager::kNPairsPerEvent] = fNPairPerEvent;
Expand Down
Loading