@@ -1924,8 +1924,8 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
19241924
19251925 for (int iCol = 0 ; iCol < nMCCollisions; iCol++) {
19261926 const auto time = mcRecords[iCol].getTimeOffsetWrtBC ();
1927- const auto globalBC = mcRecords[iCol].toLong ();
1928- const auto item = bcsMap.find (globalBC);
1927+ auto globalBC = mcRecords[iCol].toLong ();
1928+ auto item = bcsMap.find (globalBC);
19291929 int bcID = -1 ;
19301930 if (item != bcsMap.end ()) {
19311931 bcID = item->second ;
@@ -1934,11 +1934,11 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
19341934 << " for MC collision; BC = " << globalBC
19351935 << " , mc collision = " << iCol;
19361936 }
1937- const auto & colParts = mcParts[iCol];
1938- const auto nParts = colParts.size ();
1937+ auto & colParts = mcParts[iCol];
1938+ auto nParts = colParts.size ();
19391939 for (const auto colPart : colParts) {
1940- const auto eventID = colPart.entryID ;
1941- const auto sourceID = colPart.sourceID ;
1940+ auto eventID = colPart.entryID ;
1941+ auto sourceID = colPart.sourceID ;
19421942 // enable embedding: if several colParts exist, then they are
19431943 // saved as one collision
19441944 if (nParts == 1 || sourceID == 0 ) {
0 commit comments