Skip to content

Commit 5a14554

Browse files
njacazioBenedikt Volkel
authored andcommitted
Update AODProducerWorkflowSpec.cxx
(cherry picked from commit 3b0a469)
1 parent 70b9c12 commit 5a14554

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,15 +1936,15 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
19361936
}
19371937
auto& colParts = mcParts[iCol];
19381938
auto nParts = colParts.size();
1939-
for (const auto colPart : colParts) {
1939+
for (auto colPart : colParts) {
19401940
auto eventID = colPart.entryID;
19411941
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) {
19451945
// FIXME:
19461946
// use generators' names for generatorIDs (?)
1947-
const auto& header = mcReader->getMCEventHeader(sourceID, eventID);
1947+
auto& header = mcReader->getMCEventHeader(sourceID, eventID);
19481948
updateMCHeader(mcCollisionsCursor.cursor,
19491949
hepmcXSectionsCursor.cursor,
19501950
hepmcPdfInfosCursor.cursor,

0 commit comments

Comments
 (0)