Skip to content
Snippets Groups Projects
Commit 85cf1e47 authored by John Derek Chapman's avatar John Derek Chapman
Browse files

Merge branch 'sTGC_SDOPosition' into '21.3'

Move sTGC SDO position to centre of gas gap

See merge request !31721
parents 0d80e364 81f00990
16 merge requests!46457Draft: Adding the tools to run over data,!46454Draft: Adding the tools to be able to run over data,!44869Draft: Update to candidate store,!4217921.9-first_steps-InDetTrackingGeometryXML,!39162Draft: Insert BCM' support,!38765Bis78 cabling,!36893Fix size of RPC active region in BIS78 and strip material,!3645821.9: Improving material map description (ATLITKSW-127),!36293WIP pixel updates,!34993KF-input adding jXERHO to the AOD outputs,!34864LH rings in front ot HR rigs,!34763Fix L1_4jJ15.0ETA25 item definition (ATR-21261),!33996WIP: Correct MM zpositions,!3291021.3 salva s0,!31887Merge 21.3.19 into 21.9,!31721Move sTGC SDO position to centre of gas gap
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
////////////////////////////////////////////////////////////////////////////////
......@@ -664,7 +664,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);
if(newChannelType == 0){ //Pad Digit
......
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