Skip to content
Snippets Groups Projects
Commit 57126d0f authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'sTGC_SDOPosition' into 'master'

Manually cherry-pick !31721 from 21.3 to master

See merge request atlas/athena!31810
parents 88b0eeda 7384fd94
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!31810Manually cherry-pick !31721 from 21.3 to master
......@@ -591,7 +591,10 @@ StatusCode sTgcDigitizationTool::doDigitization() {
std::vector<MuonSimData::Deposit> deposits;
deposits.push_back(deposit);
MuonSimData simData(deposits, hit.particleEncoding());
simData.setPosition(hit.globalPosition());
// The sTGC SDO should be placed at the center of the gap, same as the digits.
// We use the position from the hit on the wire surface which is by construction in the center of the gap
// G_HITONSURFACE_WIRE projects the whole hit to the center of the gap
simData.setPosition(G_HITONSURFACE_WIRE);
simData.setTime(globalHitTime);
// Associate the digit to the appropriate readout channel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment