diff --git a/PWGLF/Tasks/Nuspex/antiNucleiTask.cxx b/PWGLF/Tasks/Nuspex/AntiNucleiTask.cxx similarity index 95% rename from PWGLF/Tasks/Nuspex/antiNucleiTask.cxx rename to PWGLF/Tasks/Nuspex/AntiNucleiTask.cxx index 6f4070219f5..3cf9fcb8758 100644 --- a/PWGLF/Tasks/Nuspex/antiNucleiTask.cxx +++ b/PWGLF/Tasks/Nuspex/AntiNucleiTask.cxx @@ -9,7 +9,7 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. -/// \file antiNucleiTask.cxx +/// \file AntiNucleiTask.cxx /// \brief A task to analyse Anti-nuclei /// \author Arkaprabha Saha @@ -48,7 +48,7 @@ static const int minTpcCrossedRowsCut = 70; static const float maxVertexZCut = 10.f; } // namespace -struct antiNucleiTask { +struct AntiNucleiTask { // Histogram registry: for holding histograms HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject}; @@ -138,7 +138,7 @@ struct antiNucleiTask { // Track Selection for (const auto& track : tracks) { - double expBethe{tpc::BetheBlochAleph(static_cast(track.tpcInnerParam() / o2::constants::physics::MassDeuteron), cfgBetheBlochParams->get("p0"), cfgBetheBlochParams->get("p1"), cfgBetheBlochParams->get("p2"), cfgBetheBlochParams->get("p3"), cfgBetheBlochParams->get("p4"))}; + double expBethe{tpc::BetheBlochAleph(static_cast(track.tpcInnerParam()), cfgBetheBlochParams->get("p0"), cfgBetheBlochParams->get("p1"), cfgBetheBlochParams->get("p2"), cfgBetheBlochParams->get("p3"), cfgBetheBlochParams->get("p4"))}; double expSigma{expBethe * cfgBetheBlochParams->get("resolution")}; float tpcNSigmaDeuteron = static_cast((track.tpcSignal() - expBethe) / expSigma); @@ -165,11 +165,11 @@ struct antiNucleiTask { } } - PROCESS_SWITCH(antiNucleiTask, process, "process", true); + PROCESS_SWITCH(AntiNucleiTask, process, "process", true); }; WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{ - adaptAnalysisTask(cfgc)}; + adaptAnalysisTask(cfgc)}; } diff --git a/PWGLF/Tasks/Nuspex/CMakeLists.txt b/PWGLF/Tasks/Nuspex/CMakeLists.txt index 0ce50257c6f..3242c18130c 100644 --- a/PWGLF/Tasks/Nuspex/CMakeLists.txt +++ b/PWGLF/Tasks/Nuspex/CMakeLists.txt @@ -120,7 +120,7 @@ o2physics_add_dpl_workflow(nuclei-ebye COMPONENT_NAME Analysis) o2physics_add_dpl_workflow(anti-nuclei-hist - SOURCES antiNucleiTask.cxx + SOURCES AntiNucleiTask.cxx PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore COMPONENT_NAME Analysis)