Commit 0882bd63 authored by John Derek Chapman's avatar John Derek Chapman Committed by Atlas Nightlybuild
Browse files

Merge branch 'fixTrklink' into '21.3'

Propagate the correct track link to sTGC SDO

See merge request atlas/athena!22050

(cherry picked from commit f28bd503)

7f8d8252 Add the correct track link in STGC SDO
parent c0a2f7f6
......@@ -699,7 +699,7 @@ StatusCode sTgcDigitizationTool::doDigitization() {
ATH_MSG_VERBOSE(" charge = " << newDigit->charge()) ;
// Create a MuonSimData (SDO) corresponding to the digit
MuonSimData::Deposit deposit(hit.particleLink(), MuonMCData(hit.depositEnergy(), tof));
MuonSimData::Deposit deposit(trklink, MuonMCData(hit.depositEnergy(), tof));
std::vector<MuonSimData::Deposit> deposits;
MuonSimData simData(deposits, hit.particleEncoding());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment