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
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ struct RobustFluctuationObservables {

void processRobustFluctuationObservables(
Colls::iterator const& collision,
aod::FT0s const& ft0s,
aod::FT0s const&,
BCsRun3 const& bcs,
aod::Origins const& origins,
soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelection,
Expand Down Expand Up @@ -1980,7 +1980,7 @@ struct RobustFluctuationObservables {
} // end of processRobustFluctuationObservables()

// shortcut function to fill 2D histograms
void fillHistForThisCut(string cutName, int multNTracksPV, int multTrk, int nTracksGlobalAccepted, double multT0A, double multT0C, double multV0A, double t0cCentr, int bc)
void fillHistForThisCut(string cutName, int multNTracksPV, int multTrk, int nTracksGlobalAccepted, double multT0A, double multT0C, double multV0A, double /*t0cCentr*/, int bc)
{
// registry.get<TH1>(HIST("eta"))->Fill(track.eta());
// arrPointers[histId][cutId]->Fill(xval, yval, weight);
Expand Down
2 changes: 1 addition & 1 deletion PWGCF/Femto3D/TableProducer/singleTrackSelector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct singleTrackSelector {
std::vector<int> particlesToKeep;
std::vector<int> particlesToReject;

void init(InitContext& context)
void init(InitContext&)
{

particlesToKeep = _particlesToKeep;
Expand Down
6 changes: 3 additions & 3 deletions PWGCF/FemtoDream/Core/femtoDreamCollisionSelection.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class FemtoDreamCollisionSelection
}

template <typename C, typename T, typename TC>
bool isEmptyCollision(C const& col, T const& tracks, TC& trackCuts)
bool isEmptyCollision(C const& /*col*/, T const& tracks, TC& trackCuts)
{
// check if there is no selected track
for (auto const& track : tracks) {
Expand All @@ -123,7 +123,7 @@ class FemtoDreamCollisionSelection
}

template <typename C, typename V, typename VC, typename T>
bool isEmptyCollision(C const& col, V const& V0s, VC& V0Cuts, T const& Tracks)
bool isEmptyCollision(C const& col, V const& V0s, VC& V0Cuts, T const& /*Tracks*/)
{
// check if there is no selected V0
for (auto const& V0 : V0s) {
Expand Down Expand Up @@ -165,7 +165,7 @@ class FemtoDreamCollisionSelection
/// \param tracks All tracks
/// \return value of the sphericity of the event
template <typename T1, typename T2>
float computeSphericity(T1 const& col, T2 const& tracks)
float computeSphericity(T1 const& /*col*/, T2 const& /*tracks*/)
{
return 2.f;
}
Expand Down
4 changes: 2 additions & 2 deletions PWGCF/FemtoDream/Core/femtoDreamContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class FemtoDreamContainer
template <typename T>
void init_base(std::string folderName, std::string femtoObs,
T& femtoObsAxis, T& pTAxis, T& kTAxis, T& mTAxis, T& multAxis, T& multPercentileAxis,
T& kstarAxis4D, T& mTAxis4D, T& multAxis4D, T& multPercentileAxis4D,
T& /*kstarAxis4D*/, T& mTAxis4D, T& multAxis4D, T& multPercentileAxis4D,
bool use4dplots, bool extendedplots)
{

Expand Down Expand Up @@ -133,7 +133,7 @@ class FemtoDreamContainer
/// \param isMC add Monte Carlo truth histograms to the output file
template <typename T>
void init(HistogramRegistry* registry,
T& kstarBins, T& pTBins, T& kTBins, T& mTBins, T& multBins, T& multPercentileBins,
T& kstarBins, T& pTBins, T& kTBins, T& mTBins, T& multBins, T& /*multPercentileBins*/,
T& kstarBins4D, T& mTBins4D, T& multBins4D, T& multPercentileBins4D,
bool isMC, bool use4dplots, bool extendedplots,
float highkstarCut,
Expand Down
2 changes: 1 addition & 1 deletion PWGCF/FemtoDream/Core/femtoDreamContainerThreeBody.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class FemtoDreamContainerThreeBody
/// \param part3 Particle three
/// \param mult Multiplicity of the event
template <o2::aod::femtodreamMCparticle::MCType mc, typename T>
void setTriplet_base(const float femtoObs, T const& part1, T const& part2, T const& part3, const int mult)
void setTriplet_base(const float femtoObs, T const& /*part1*/, T const& /*part2*/, T const& /*part3*/, const int mult)
{
mHistogramRegistry->fill(HIST(mFolderSuffix[mEventType]) + HIST(o2::aod::femtodreamMCparticle::MCTypeName[mc]) + HIST("/relTripletDist"), femtoObs);
mHistogramRegistry->fill(HIST(mFolderSuffix[mEventType]) + HIST(o2::aod::femtodreamMCparticle::MCTypeName[mc]) + HIST("/relTripletQ3Mult"), femtoObs, mult);
Expand Down
8 changes: 4 additions & 4 deletions PWGCF/FemtoDream/Core/femtoDreamParticleHisto.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class FemtoDreamParticleHisto
/// \param tempFitVarpTAxis axis object for the pT axis in the pT vs. tempFitVar plots
/// \param tempFitVarAxis axis object for the tempFitVar axis
template <o2::aod::femtodreamMCparticle::MCType mc, typename T>
void init_base(std::string folderName, std::string tempFitVarAxisTitle, T& pTAxis, T& tempFitVarAxis, T& InvMassAxis, T& multAxis)
void init_base(std::string folderName, std::string tempFitVarAxisTitle, T& pTAxis, T& tempFitVarAxis, T& InvMassAxis, T& /*multAxis*/)
{
std::string folderSuffix = static_cast<std::string>(o2::aod::femtodreamMCparticle::MCTypeName[mc]).c_str();
/// Histograms of the kinematic properties
Expand All @@ -71,7 +71,7 @@ class FemtoDreamParticleHisto

// comment
template <o2::aod::femtodreamMCparticle::MCType mc, typename T>
void init_debug(std::string folderName, T& multAxis, T& multPercentileAxis, T& pTAxis, T& etaAxis, T& phiAxis, T& tempFitVarAxis, T& dcazAxis, T& NsigmaTPCAxis, T& NsigmaTOFAxis, T& NsigmaTPCTOFAxis, T& TPCclustersAxis, bool correlatedPlots)
void init_debug(std::string folderName, T& multAxis, T& multPercentileAxis, T& pTAxis, T& etaAxis, T& phiAxis, T& tempFitVarAxis, T& dcazAxis, T& NsigmaTPCAxis, T& NsigmaTOFAxis, T& NsigmaTPCTOFAxis, T& /*TPCclustersAxis*/, bool correlatedPlots)
{

std::string folderSuffix = static_cast<std::string>(o2::aod::femtodreamMCparticle::MCTypeName[mc]).c_str();
Expand Down Expand Up @@ -130,7 +130,7 @@ class FemtoDreamParticleHisto
/// \param tempFitVarpTAxis axis object for the pT axis in the pT vs. tempFitVar plots
/// \param tempFitVarAxis axis object for the tempFitVar axis
template <typename T>
void init_MC(std::string folderName, std::string tempFitVarAxisTitle, T& tempFitVarpTAxis, T& tempFitVarAxis, T& dcazAxis, T& multAxis, bool isDebug)
void init_MC(std::string folderName, std::string /*tempFitVarAxisTitle*/, T& tempFitVarpTAxis, T& tempFitVarAxis, T& dcazAxis, T& multAxis, bool isDebug)
{
/// Particle-type specific histograms
std::string folderSuffix = static_cast<std::string>(o2::aod::femtodreamMCparticle::MCTypeName[o2::aod::femtodreamMCparticle::MCType::kTruth]).c_str();
Expand Down Expand Up @@ -259,7 +259,7 @@ class FemtoDreamParticleHisto
/// \tparam T Data type of the particle
/// \param part Particle
template <o2::aod::femtodreamMCparticle::MCType mc, typename T>
void fillQA_base(T const& part, const int mult)
void fillQA_base(T const& part, const int /*mult*/)
{
/// Histograms of the kinematic properties
mHistogramRegistry->fill(HIST(o2::aod::femtodreamparticle::ParticleTypeName[mParticleType]) + HIST(mFolderSuffix[mFolderSuffixType]) + HIST(o2::aod::femtodreamMCparticle::MCTypeName[mc]) + HIST("/hPt"), part.pt());
Expand Down
8 changes: 4 additions & 4 deletions PWGCF/FemtoDream/Core/femtoDreamV0Selection.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ void FemtoDreamV0Selection::init(HistogramRegistry* QAregistry, HistogramRegistr
}

template <typename C, typename V, typename T>
bool FemtoDreamV0Selection::isSelectedMinimal(C const& col, V const& v0,
bool FemtoDreamV0Selection::isSelectedMinimal(C const& /*col*/, V const& v0,
T const& posTrack,
T const& negTrack)
{
Expand Down Expand Up @@ -482,7 +482,7 @@ bool FemtoDreamV0Selection::isSelectedMinimal(C const& col, V const& v0,
}

template <typename C, typename V, typename T>
void FemtoDreamV0Selection::fillLambdaQA(C const& col, V const& v0,
void FemtoDreamV0Selection::fillLambdaQA(C const& /*col*/, V const& v0,
T const& posTrack, T const& negTrack)
{
const auto signPos = posTrack.sign();
Expand Down Expand Up @@ -548,7 +548,7 @@ void FemtoDreamV0Selection::fillLambdaQA(C const& col, V const& v0,
/// to pass the collsion as well
template <typename cutContainerType, typename C, typename V, typename T>
std::array<cutContainerType, 5>
FemtoDreamV0Selection::getCutContainer(C const& col, V const& v0, T const& posTrack, T const& negTrack)
FemtoDreamV0Selection::getCutContainer(C const& /*col*/, V const& v0, T const& posTrack, T const& negTrack)
{
auto outputPosTrack = PosDaughTrack.getCutContainer<cutContainerType>(posTrack, v0.positivept(), v0.positiveeta(), v0.dcapostopv());
auto outputNegTrack = NegDaughTrack.getCutContainer<cutContainerType>(negTrack, v0.negativept(), v0.negativeeta(), v0.dcanegtopv());
Expand Down Expand Up @@ -639,7 +639,7 @@ std::array<cutContainerType, 5>
template <o2::aod::femtodreamparticle::ParticleType part,
o2::aod::femtodreamparticle::ParticleType daugh, typename C,
typename V, typename T>
void FemtoDreamV0Selection::fillQA(C const& col, V const& v0, T const& posTrack,
void FemtoDreamV0Selection::fillQA(C const& /*col*/, V const& v0, T const& posTrack,
T const& negTrack)
{
if (mQAHistogramRegistry) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ struct femtoDreamProducerReducedTask {
void processMC(aod::FemtoFullCollisionMC const& col,
aod::BCsWithTimestamps const&,
soa::Join<aod::FemtoFullTracks, aod::McTrackLabels> const& tracks,
aod::McCollisions const& mcCollisions, aod::McParticles const& mcParticles)
aod::McCollisions const&, aod::McParticles const&)
{
// get magnetic field for run
getMagneticFieldTesla(col.bc_as<aod::BCsWithTimestamps>());
Expand All @@ -333,7 +333,7 @@ struct femtoDreamProducerReducedTask {
void processMC_noCentrality(aod::FemtoFullCollision_noCent_MC const& col,
aod::BCsWithTimestamps const&,
soa::Join<aod::FemtoFullTracks, aod::McTrackLabels> const& tracks,
aod::McCollisions const& mcCollisions, aod::McParticles const& mcParticles)
aod::McCollisions const&, aod::McParticles const&)
{
// get magnetic field for run
getMagneticFieldTesla(col.bc_as<aod::BCsWithTimestamps>());
Expand Down
8 changes: 4 additions & 4 deletions PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,8 @@ struct femtoDreamProducerTask {
void processMC(aod::FemtoFullCollisionMC const& col,
aod::BCsWithTimestamps const&,
soa::Join<aod::FemtoFullTracks, aod::McTrackLabels> const& tracks,
aod::McCollisions const& mcCollisions,
aod::McParticles const& mcParticles,
aod::McCollisions const&,
aod::McParticles const&,
soa::Join<o2::aod::V0Datas, aod::McV0Labels> const& fullV0s) /// \todo with FilteredFullV0s
{
// get magnetic field for run
Expand All @@ -544,8 +544,8 @@ struct femtoDreamProducerTask {
void processMC_noCentrality(aod::FemtoFullCollision_noCent_MC const& col,
aod::BCsWithTimestamps const&,
soa::Join<aod::FemtoFullTracks, aod::McTrackLabels> const& tracks,
aod::McCollisions const& mcCollisions,
aod::McParticles const& mcParticles,
aod::McCollisions const&,
aod::McParticles const&,
soa::Join<o2::aod::V0Datas, aod::McV0Labels> const& fullV0s) /// \todo with FilteredFullV0s
{
// get magnetic field for run
Expand Down
4 changes: 2 additions & 2 deletions PWGCF/FemtoDream/Tasks/femtoDreamCollisionMasker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ struct femoDreamCollisionMasker {
// This function ALWAYS checks Track P; if howManyTracksToSetInMask is set to more than 1, it also checks how many
// tracks there are which pass Track P selection and accordingly sets the bits in the mask for Tracks P+1 or both P+1 and P+2
template <typename T>
void MaskForTrack_ThreeBody(T& BitSet, CollisionMasks::Parts P, FDCollision const& col, FDParticles const& parts, int howManyTracksToSetInMask)
void MaskForTrack_ThreeBody(T& BitSet, CollisionMasks::Parts P, FDCollision const& /*col*/, FDParticles const& parts, int howManyTracksToSetInMask)
{
if (howManyTracksToSetInMask == 2) {
if (P == 2) {
Expand Down Expand Up @@ -406,7 +406,7 @@ struct femoDreamCollisionMasker {
// This function ALWAYS checks V0 P; if howManyVoaToSetInMask is set to more than 1, it also checks how many
// V0s there are which pass V0 P selection and accordingly sets the bits in the mask for V0s P+1 or both P+1 and P+2
template <typename T>
void MaskForV0_ThreeBody(T& BitSet, CollisionMasks::Parts P, FDCollision const& col, FDParticles const& parts, int howManyV0sToSetInMask)
void MaskForV0_ThreeBody(T& BitSet, CollisionMasks::Parts P, FDCollision const& /*col*/, FDParticles const& parts, int howManyV0sToSetInMask)
{
if (howManyV0sToSetInMask == 2) {
if (P == 2) {
Expand Down
4 changes: 2 additions & 2 deletions PWGCF/FemtoDream/Tasks/femtoDreamDebugTrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct femtoDreamDebugTrack {
/// process function when runnning over data/ Monte Carlo reconstructed only
/// \param col subscribe to FemtoDreamCollision table
/// \param parts subscribe to FemtoDreamParticles table
void processData(o2::aod::FDCollision& col, FemtoFullParticles& parts)
void processData(o2::aod::FDCollision& col, FemtoFullParticles&)
{
auto groupPartsOne = partsOne->sliceByCached(aod::femtodreamparticle::fdCollisionId, col.globalIndex(), cache);
FillDebugHistos<false>(col, groupPartsOne);
Expand All @@ -119,7 +119,7 @@ struct femtoDreamDebugTrack {
/// \param col subscribe to FemtoDreamCollision table
/// \param parts subscribe to the joined table of FemtoDreamParticles and FemtoDreamMCLabels table
/// \param FemtoDramMCParticles subscribe to the table containing the Monte Carlo Truth information
void processMC(o2::aod::FDCollision& col, FemtoFullParticlesMC& parts, aod::FDMCParticles&, aod::FDExtMCParticles&)
void processMC(o2::aod::FDCollision& col, FemtoFullParticlesMC&, aod::FDMCParticles&, aod::FDExtMCParticles&)
{
auto groupPartsOne = partsOneMC->sliceByCached(aod::femtodreamparticle::fdCollisionId, col.globalIndex(), cache);
FillDebugHistos<true>(col, groupPartsOne);
Expand Down
2 changes: 1 addition & 1 deletion PWGCF/FemtoDream/Utils/femtoDreamCutCulator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using namespace o2::analysis::femtoDream;
/// The function takes the path to the dpl-config.json as a argument and the
/// does a Q&A session for the user to find the appropriate selection criteria
/// for the analysis task
int main(int argc, char* argv[])
int main(int /*argc*/, char* argv[])
{
std::string configFileName(argv[1]);
std::filesystem::path configFile{configFileName};
Expand Down
2 changes: 1 addition & 1 deletion PWGCF/FemtoUniverse/Core/FemtoUniverse3DContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class FemtoUniverse3DContainer
/// \param use3dplots Flag to fill 3D plots
/// \param isiden Identical or non-identical particle pair
template <typename T>
void init(HistogramRegistry* registry, T& kstarBins, T& multBins, T& kTBins, T& mTBins, T& multBins3D, T& mTBins3D, bool isMC, bool use3dplots, bool isiden)
void init(HistogramRegistry* registry, T& kstarBins, T& multBins, T& kTBins, T& mTBins, T& multBins3D, T& mTBins3D, bool /*isMC*/, bool use3dplots, bool isiden)
{
mHistogramRegistry = registry;
std::string femtoObs1D, femtoObsKout, femtoObsKside, femtoObsKlong;
Expand Down
8 changes: 4 additions & 4 deletions PWGCF/FemtoUniverse/Core/FemtoUniverseAngularContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class FemtoUniverseAngularContainer
/// \param kTAxis axis object for the kT axis
/// \param mTAxis axis object for the mT axis
template <typename T>
void init_base(std::string folderName, std::string femtoObs, T femtoObsAxis, T multAxis, T kTAxis, T mTAxis, T multAxis3D, T mTAxis3D, T etaAxis, T phiAxis, bool use3dplots)
void init_base(std::string folderName, std::string /*femtoObs*/, T /*femtoObsAxis*/, T /*multAxis*/, T /*kTAxis*/, T /*mTAxis*/, T /*multAxis3D*/, T /*mTAxis3D*/, T etaAxis, T phiAxis, bool use3dplots)
{
mHistogramRegistry->add((folderName + "/DeltaEtaDeltaPhi").c_str(), "; #Delta#varphi (rad); #Delta#eta", kTH2F, {phiAxis, etaAxis});
if (use3dplots) {
Expand All @@ -85,7 +85,7 @@ class FemtoUniverseAngularContainer
/// \param folderName Name of the directory in the output file (no suffix for reconstructed data/ Monte Carlo; "_MC" for Monte Carlo Truth)
/// \param femtoObsAxis axis object for the femto observable axis
template <typename T>
void init_MC(std::string folderName, std::string femtoObs, T femtoObsAxis, T multAxis, T mTAxis)
void init_MC(std::string /*folderName*/, std::string /*femtoObs*/, T /*femtoObsAxis*/, T /*multAxis*/, T /*mTAxis*/)
{
}

Expand Down Expand Up @@ -153,7 +153,7 @@ class FemtoUniverseAngularContainer
/// \param part2 Particle two
/// \param mult Multiplicity of the event
template <o2::aod::femtouniverseMCparticle::MCType mc, typename T>
void setPair_base(const float femtoObs, const float mT, T const& part1, T const& part2, const int mult, bool use3dplots)
void setPair_base(const float /*femtoObs*/, const float /*mT*/, T const& part1, T const& part2, const int /*mult*/, bool use3dplots)
{
delta_eta = part1.eta() - part2.eta();
delta_phi = part1.phi() - part2.phi();
Expand All @@ -179,7 +179,7 @@ class FemtoUniverseAngularContainer
/// \param part1 Particle one
/// \param part2 Particle two
/// \param mult Multiplicity of the event
void setPair_MC(const float femtoObsMC, const float femtoObs, const float mT, const int mult)
void setPair_MC(const float /*femtoObsMC*/, const float /*femtoObs*/, const float /*mT*/, const int /*mult*/)
{
if (mHistogramRegistry) {
// Fill the kstar distributions with the reconstructed information but only for particles with the right PDG code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class FemtoUniverseCollisionSelection
/// \param tracks All tracks
/// \return value of the sphericity of the event
template <typename T1, typename T2>
float computeSphericity(T1 const& col, T2 const& tracks)
float computeSphericity(T1 const& /*col*/, T2 const& tracks)
{
double S00 = 0;
double S11 = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PairWithCentMultKt
/// @param kstarbins
/// @param centmultbins
template <typename t1, typename t2>
void init(HistogramRegistry* registry, t1& kstarbins, t1& centmultbins, t2& phiBins, t2& etaBins, bool processKT)
void init(HistogramRegistry* registry, t1& /*kstarbins*/, t1& centmultbins, t2& phiBins, t2& etaBins, bool processKT)
{
PairWithCentMultKtRegistry = registry;
// AxisSpec kstarAxis = {kstarbins, "#it{k*} (GeV/#it{c})"};
Expand Down
2 changes: 1 addition & 1 deletion PWGCF/FemtoUniverse/Core/FemtoUniverseParticleHisto.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class FemtoUniverseParticleHisto
/// \param tempFitVarpTAxis axis object for the pT axis in the pT vs. tempFitVar plots
/// \param tempFitVarAxis axis object for the tempFitVar axis
template <typename T>
void init_MC(std::string folderName, std::string tempFitVarAxisTitle, T& tempFitVarpTAxis, T& tempFitVarAxis)
void init_MC(std::string folderName, std::string /*tempFitVarAxisTitle*/, T& tempFitVarpTAxis, T& tempFitVarAxis)
{
/// Particle-type specific histograms
std::string folderSuffix = static_cast<std::string>(o2::aod::femtouniverseMCparticle::MCTypeName[o2::aod::femtouniverseMCparticle::MCType::kTruth]).c_str();
Expand Down
4 changes: 2 additions & 2 deletions PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ std::array<cutContainerType, 5>
template <o2::aod::femtouniverseparticle::ParticleType part,
o2::aod::femtouniverseparticle::ParticleType daugh, typename C,
typename V, typename T, typename Q>
void FemtoUniversePhiSelection::fillQA(C const& col, V const& phi, T const& posTrack,
T const& negTrack, Q const& posPID, Q const& negPID)
void FemtoUniversePhiSelection::fillQA(C const& /*col*/, V const& /*phi*/, T const& posTrack,
T const& negTrack, Q const& /*posPID*/, Q const& /*negPID*/)
{
if (mHistogramRegistry) {
TLorentzVector part1Vec;
Expand Down
Loading