From 1ec48efce5fb7b4fcdedd7f6049c5040f62a0fa6 Mon Sep 17 00:00:00 2001 From: Prottay Das Date: Mon, 23 Dec 2024 19:20:29 +0100 Subject: [PATCH] removed the unused parameter --- PWGLF/TableProducer/Common/spvector.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/PWGLF/TableProducer/Common/spvector.cxx b/PWGLF/TableProducer/Common/spvector.cxx index 99a7305d62d..facb52cff6d 100644 --- a/PWGLF/TableProducer/Common/spvector.cxx +++ b/PWGLF/TableProducer/Common/spvector.cxx @@ -173,19 +173,19 @@ struct spvector { TF1* fMultCutHigh = nullptr; TF1* fMultMultPVCut = nullptr; */ - + /* template bool eventSelected(TCollision collision, const double& centrality) - { /* + { auto multNTracksPV = collision.multNTracksPV(); if (multNTracksPV < fMultPVCutLow->Eval(centrality)) return 0; if (multNTracksPV > fMultPVCutHigh->Eval(centrality)) return 0; - */ + return 1; } - + */ void init(o2::framework::InitContext&) { @@ -424,7 +424,8 @@ struct spvector { return; } - if (collision.sel8() && centrality > cfgCutCentralityMin && centrality < cfgCutCentralityMax && TMath::Abs(vz) < cfgCutVertex && collision.has_foundFT0() && eventSelected(collision, centrality) && collision.selection_bit(aod::evsel::kNoTimeFrameBorder) && collision.selection_bit(aod::evsel::kNoITSROFrameBorder)) { + // if (collision.sel8() && centrality > cfgCutCentralityMin && centrality < cfgCutCentralityMax && TMath::Abs(vz) < cfgCutVertex && collision.has_foundFT0() && eventSelected(collision, centrality) && collision.selection_bit(aod::evsel::kNoTimeFrameBorder) && collision.selection_bit(aod::evsel::kNoITSROFrameBorder)) { + if (collision.sel8() && centrality > cfgCutCentralityMin && centrality < cfgCutCentralityMax && TMath::Abs(vz) < cfgCutVertex && collision.has_foundFT0() && collision.selection_bit(aod::evsel::kNoTimeFrameBorder) && collision.selection_bit(aod::evsel::kNoITSROFrameBorder)) { triggerevent = true; if (useGainCallib && (currentRunNumber != lastRunNumber)) { gainprofile = ccdb->getForTimeStamp(ConfGainPath.value, bc.timestamp());