Skip to content
Open
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
4 changes: 2 additions & 2 deletions PWGHF/HFC/Macros/FitCorrel.C
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,13 @@ void fitCorrelDs(const TString& cfgFileName = "config_CorrAnalysis.json")
corrFitter[iBinPtHad][iBinPtCand]->setFuncType(static_cast<DhCorrelationFitter::FunctionType>(fitFunc[iBinPtCand]));
corrFitter[iBinPtHad][iBinPtCand]->fitting(kTRUE, kTRUE); // the first term is for drawing the fit functions, the second argument is useExternalParams

TF1* fFit = corrFitter[iBinPtHad][iBinPtCand]->getFitFunction();
// TF1* fFit = corrFitter[iBinPtHad][iBinPtCand]->getFitFunction(); // FIXME: unused

// Title of the histogram
auto* pttext = new TPaveText(0.15, 0.9, 0.85, 0.95, "NDC");
pttext->SetFillStyle(0);
pttext->SetBorderSize(0);
TText* tpT = pttext->AddText(0., 0.8, Form("%.0f < p_{T}^{D_{s}} < %.0f GeV/c, p_{T}^{assoc} > %.1f GeV/c", binsPtCandIntervals[iBinPtCand], binsPtCandIntervals[iBinPtCand + 1], binsPtHadIntervals[iBinPtHad]));
pttext->AddText(0., 0.8, Form("%.0f < p_{T}^{D_{s}} < %.0f GeV/c, p_{T}^{assoc} > %.1f GeV/c", binsPtCandIntervals[iBinPtCand], binsPtCandIntervals[iBinPtCand + 1], binsPtHadIntervals[iBinPtHad]));
// pttext -> Draw("same");

// Fill the histograms with the fit parameters
Expand Down
2 changes: 1 addition & 1 deletion PWGHF/TableProducer/mcPidTof.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ struct TofEventTime {
// Reset the event time
eventTime = 0.f;
sumOfWeights = 0.f;
weight = 0.f;
// weight = 0.f; // FIXME: unused
// Remove the bias on TOF ev. time
if constexpr (RemoveTofEvTimeBias) {
evTimeMakerTOF.removeBias<TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, t0TOF[0], t0TOF[1], 2);
Expand Down
Loading