diff --git a/PWGCF/JCorran/Core/FlowJHistManager.h b/PWGCF/JCorran/Core/FlowJHistManager.h index 3f696fa0b3f..55639dca80b 100644 --- a/PWGCF/JCorran/Core/FlowJHistManager.h +++ b/PWGCF/JCorran/Core/FlowJHistManager.h @@ -161,7 +161,8 @@ class FlowJHistManager break; } - if (mDebugLog) LOGF(info, "The EventQA has been filled."); + if (mDebugLog) + LOGF(info, "The EventQA has been filled."); } /// \brief Hardcode the cBin for FillThisTrackQA if not constant. diff --git a/PWGCF/JCorran/Core/FlowJSPCAnalysis.cxx b/PWGCF/JCorran/Core/FlowJSPCAnalysis.cxx index 83da4a55857..370278b9a8f 100644 --- a/PWGCF/JCorran/Core/FlowJSPCAnalysis.cxx +++ b/PWGCF/JCorran/Core/FlowJSPCAnalysis.cxx @@ -232,7 +232,6 @@ void FlowJSPCAnalysis::FillQAHistograms(const Int_t fCentBin, Double_t phi, Doub } } - void FlowJSPCAnalysis::Correlation(Int_t c_nPart, Int_t c_nHarmo, Int_t* harmo, Double_t* correlData) { // Calculate the correlators for the provided set of harmonics using Q-vectors. diff --git a/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx b/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx index 11da1d307c4..749b5d794a7 100644 --- a/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx +++ b/PWGCF/JCorran/Tasks/flowJSPCAnalysis.cxx @@ -35,7 +35,6 @@ #include "Common/Core/TrackSelection.h" #include "Common/DataModel/TrackSelectionTables.h" - #include "PWGCF/DataModel/CorrelationsDerived.h" #include "PWGCF/JCorran/DataModel/JCatalyst.h" #include "PWGCF/JCorran/Core/FlowJSPCAnalysis.h" @@ -112,7 +111,7 @@ struct flowJSPCAnalysis { template void analyze(CollisionT const& collision, TrackT const& tracks) -// void process(soa::Filtered::iterator const& coll, soa::Filtered> const& tracks) + // void process(soa::Filtered::iterator const& coll, soa::Filtered> const& tracks) { if (tracks.size() < cfgEventCuts.cfgMultMin) return; @@ -125,12 +124,12 @@ struct flowJSPCAnalysis { SPCHistograms.fill(HIST("FullCentrality"), cent); int nTracks = tracks.size(); for (auto& track : tracks) { - if (cfgFillQA){ + if (cfgFillQA) { // histManager.FillTrackQA<0>(track, cBin, collision.posZ()); using JInputClassIter = typename TrackT::iterator; if constexpr (std::experimental::is_detected::value) { - spcAnalysis.FillQAHistograms(cBin, track.phi(), 1./track.weightNUA()); + spcAnalysis.FillQAHistograms(cBin, track.phi(), 1. / track.weightNUA()); } } } @@ -143,7 +142,6 @@ struct flowJSPCAnalysis { spcAnalysis.CalculateCorrelators(cBin); } - void processJDerived(aod::JCollision const& collision, soa::Filtered const& tracks) { analyze(collision, tracks); @@ -169,8 +167,6 @@ struct flowJSPCAnalysis { PROCESS_SWITCH(flowJSPCAnalysis, processCFDerivedCorrected, "Process CF derived data with corrections", true); }; - - WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{ diff --git a/PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx b/PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx index 189d02459be..97cf6f4cd87 100644 --- a/PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx +++ b/PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx @@ -63,14 +63,14 @@ struct jflucWeightsLoader { } } - void initCCDB(int runNum, int ts) { + void initCCDB(int runNum, int ts) + { if (cfgForRunNumber) { ph = ccdb->getForRun(cfgCCDBPath, runNum); } else - ph = ccdb->getForTimeStamp(cfgCCDBPath,ts); + ph = ccdb->getForTimeStamp(cfgCCDBPath, ts); } - void init(InitContext const&) { if (!doprocessLoadWeights && !doprocessLoadWeightsCF) { @@ -94,7 +94,7 @@ struct jflucWeightsLoader { pf = 0; LOGF(fatal, "NUA correction weights file not found: %s", cfgPathPhiWeights.value.substr(8).c_str()); } - useCCDB=false; + useCCDB = false; } else { LOGF(info, "Didn't find \"local://\" or \"ccdb\""); return;