Skip to content

Commit

Permalink
use ref to mutable object, to be checked if association is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
atolosadelgado committed Aug 12, 2024
1 parent 008a313 commit 7ea6aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DCHdigi/src/DCHdigi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ DCHdigi::operator()(const colltype_in& input_sim_hits,
output_digi_hits.push_back(oDCHdigihit);

extension::MutableMCRecoDriftChamberDigiV2Association oDCHsimdigi_association;
oDCHsimdigi_association.setDigi( output_digi_hits.at( output_digi_hits.size()-1 ) );
oDCHsimdigi_association.setDigi( oDCHdigihit );
oDCHsimdigi_association.setSim( input_sim_hit );

}// end loop over hit collection
Expand Down

0 comments on commit 7ea6aea

Please sign in to comment.