Skip to content

Commit

Permalink
Comment out ambiguous type
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera committed Dec 11, 2024
1 parent 798e59d commit 5ea2756
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions PWGUD/Tasks/upcTauCentralBarrelRL.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2301,21 +2301,21 @@ struct UpcTauCentralBarrelRL {

} // end processMCgenDG

void processTestMC(FullMCUDCollision const& reconstructedCollision,
FullMCUDTracks const& reconstructedBarrelTracks,
void processTestMC(FullMCUDCollision const& /*reconstructedCollision*/,
FullMCUDTracks const& /*reconstructedBarrelTracks*/,
aod::UDMcCollisions const&,
aod::UDMcParticles const&)
{
if (reconstructedCollision.has_udMcCollision()) {
const auto& generatedCollision = reconstructedCollision.udMcCollision();
printDebugMessage(Form("%li udMcCollision found", generatedCollision.size()));
}

const auto& track = reconstructedBarrelTracks.iteratorAt(0);
if (track.size() && track.has_udMcParticle()) {
const auto& particle = track.udMcParticle();
printDebugMessage(Form("%li udMcParticle found", particle.size()));
}
// if (reconstructedCollision.has_udMcCollision()) {
// const auto& generatedCollision = reconstructedCollision.udMcCollision();
// printDebugMessage(Form("%lli udMcCollision found", generatedCollision.size())); // FIXME: Type of size() is not invariant.
// }

// const auto& track = reconstructedBarrelTracks.iteratorAt(0);
// if (track.size() && track.has_udMcParticle()) {
// const auto& particle = track.udMcParticle();
// printDebugMessage(Form("%lli udMcParticle found", particle.size())); // FIXME: Type of size() is not invariant.
// }

} // end processTestMC

Expand Down

0 comments on commit 5ea2756

Please sign in to comment.