-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWGJE: Fix compilation warnings: unused-parameter #5669
Conversation
@@ -115,7 +115,7 @@ struct JetTaggerHFTask { | |||
} | |||
PROCESS_SWITCH(JetTaggerHFTask, processMCD, "Fill tagging decision for mcd jets", false); | |||
|
|||
void processTraining(JetCollision const& collision, JetTableMCD const& mcdjets, JetTagTracksMCD const& tracks) | |||
void processTraining(JetCollision const& /*collision*/, JetTableMCD const& /*mcdjets*/, JetTagTracksMCD const& /*tracks*/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be removed fully instead of commented out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept them because the function body is empty so I guess, you will need the parameters when you implement it.
PWGJE/TableProducer/rhoEstimator.cxx
Outdated
@@ -78,7 +78,7 @@ struct RhoEstimatorTask { | |||
} | |||
PROCESS_SWITCH(RhoEstimatorTask, processChargedCollisions, "Fill rho tables for collisions using charged tracks", true); | |||
|
|||
void processD0Collisions(JetCollision const& collision, soa::Filtered<JetTracks> const& tracks, CandidatesD0Data const& candidates) | |||
void processD0Collisions(JetCollision const& /*collision*/, soa::Filtered<JetTracks> const& tracks, CandidatesD0Data const& candidates) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be removed fully instead of commented out
PWGJE/TableProducer/rhoEstimator.cxx
Outdated
@@ -91,7 +91,7 @@ struct RhoEstimatorTask { | |||
} | |||
PROCESS_SWITCH(RhoEstimatorTask, processD0Collisions, "Fill rho tables for collisions with D0 candidates", false); | |||
|
|||
void processLcCollisions(JetCollision const& collision, soa::Filtered<JetTracks> const& tracks, CandidatesLcData const& candidates) | |||
void processLcCollisions(JetCollision const& /*collision*/, soa::Filtered<JetTracks> const& tracks, CandidatesLcData const& candidates) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be removed fully instead of commented out
PWGJE/TableProducer/rhoEstimator.cxx
Outdated
@@ -104,7 +104,7 @@ struct RhoEstimatorTask { | |||
} | |||
PROCESS_SWITCH(RhoEstimatorTask, processLcCollisions, "Fill rho tables for collisions with Lc candidates", false); | |||
|
|||
void processBplusCollisions(JetCollision const& collision, soa::Filtered<JetTracks> const& tracks, CandidatesBplusData const& candidates) | |||
void processBplusCollisions(JetCollision const& /*collision*/, soa::Filtered<JetTracks> const& tracks, CandidatesBplusData const& candidates) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be removed fully instead of commented out
@@ -544,7 +544,7 @@ struct JetTriggerQA { | |||
} | |||
|
|||
template <typename JetCollection> | |||
std::pair<std::vector<typename JetCollection::iterator>, std::vector<typename JetCollection::iterator>> fillJetQA(const JetCollection& jets, JetTracks const& tracks, selectedClusters const& clusters, std::bitset<EMCALHardwareTrigger::TRG_NTriggers> hwtrg, const std::bitset<TriggerType_t::kNTriggers>& triggerstatus) | |||
std::pair<std::vector<typename JetCollection::iterator>, std::vector<typename JetCollection::iterator>> fillJetQA(const JetCollection& jets, JetTracks const& /*tracks*/, selectedClusters const& /*clusters*/, std::bitset<EMCALHardwareTrigger::TRG_NTriggers> /*hwtrg*/, const std::bitset<TriggerType_t::kNTriggers>& triggerstatus) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be removed fully instead of commented out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure? This is not a process function.
@@ -494,7 +494,7 @@ struct JetTaggerHFQA { | |||
} | |||
|
|||
template <typename T, typename U> | |||
void fillHistogramJPData(T const& collision, U const& jets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here please comment out instead of remove
@@ -512,7 +512,7 @@ struct JetTaggerHFQA { | |||
} | |||
|
|||
template <typename T, typename U> | |||
void fillHistogramJPMCD(T const& collision, U const& mcdjets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here please comment out instead of remove
PWGJE/Tasks/jettaggerhfQA.cxx
Outdated
@@ -512,7 +512,7 @@ struct JetTaggerHFQA { | |||
} | |||
|
|||
template <typename T, typename U> | |||
void fillHistogramJPMCD(T const& collision, U const& mcdjets) | |||
void fillHistogramJPMCD(T const&, U const& mcdjets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here please comment out instead of remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approving on behalf of @vkucera.
No description provided.