Skip to content
Merged
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
12 changes: 6 additions & 6 deletions PWGUD/TableProducer/SGCandProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ struct McSGCandProducer {
{}};

template <typename TMcCollision>
void updateUDMcCollisions(TMcCollision const& mccol,uint64_t globBC)
void updateUDMcCollisions(TMcCollision const& mccol, uint64_t globBC)
{
// save mccol
outputMcCollisions(globBC,
Expand Down Expand Up @@ -504,9 +504,9 @@ struct McSGCandProducer {
bool goon = !sgcandAtEnd || !mccolAtEnd;
int counter = 0;
while (goon) {
auto bcIter = mccol.bc_as<BCs>();
uint64_t globBC = bcIter.globalBC();
//uint64_t globBC = 0;
auto bcIter = mccol.bc_as<BCs>();
uint64_t globBC = bcIter.globalBC();
// uint64_t globBC = 0;
// check if dgcand has an associated McCollision
if (sgcand.has_collision()) {
auto sgcandCol = sgcand.collision_as<CCs>();
Expand Down Expand Up @@ -541,7 +541,7 @@ struct McSGCandProducer {
LOGF(info, " Saving McCollision %d", mcsgId);
// update UDMcCollisions
auto sgcandMcCol = sgcand.collision_as<CCs>().mcCollision();
updateUDMcCollisions(sgcandMcCol,globBC);
updateUDMcCollisions(sgcandMcCol, globBC);
mcColIsSaved[mcsgId] = outputMcCollisions.lastIndex();
}

Expand Down Expand Up @@ -596,7 +596,7 @@ struct McSGCandProducer {
if (mcColIsSaved.find(mccolId) == mcColIsSaved.end()) {
LOGF(info, " Saving McCollision %d", mccolId);
// update UDMcCollisions
updateUDMcCollisions(mccol,globBC);
updateUDMcCollisions(mccol, globBC);
mcColIsSaved[mccolId] = outputMcCollisions.lastIndex();

// update UDMcParticles
Expand Down