Skip to content

Commit 7a6f946

Browse files
committed
Const reference and remove dummy process.
1 parent e6d5444 commit 7a6f946

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

PWGHF/TableProducer/treeCreatorSigmacCorrBkg.cxx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ struct HfTreeCreatorSigmacCorrBkg {
174174
}
175175
}
176176

177-
/// @brief dummy process function
178-
/// @param
179-
void process(aod::Tracks const&) {}
180-
181177
/// @brief process function to loop over the Σc reconstructed candidates and match them to corr. background sources in MC
182178
void processReco(RecoScMc const& candidatesSc,
183179
ParticlesLcSigmac const& particles,
@@ -354,7 +350,7 @@ struct HfTreeCreatorSigmacCorrBkg {
354350
void processGen(aod::McParticles const& particles)
355351
{
356352
/// loop over particles
357-
for (auto& particle : particles) {
353+
for (auto const& particle : particles) {
358354
int pdgCodeAbs = std::abs(particle.pdgCode());
359355

360356
/// keep only Σc and Λc±(2595, 2625)

0 commit comments

Comments
 (0)