Skip to content
Snippets Groups Projects
Commit 7b712323 authored by Julien Maurer's avatar Julien Maurer
Browse files

Merge branch 'revert-16a9a72f' into '22.0'

Revert removal of the MM channelID

See merge request !54033
parents 4dc30f20 761eb439
No related branches found
No related tags found
4 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!54048Daily "22.0 to master" sweep: 07/06/22,!54033Revert removal of the MM channelID
......@@ -286,12 +286,13 @@ namespace MuonGM {
// Get the nearest strip number; not the time yet to check boundaries (in case of tolerance)
int stripNo = stripNumber(locpos, id);
if (stripNo < 0) stripNo = (locpos.x()<0) ? 1 : design->totalStrips;
Identifier channelId = manager()->mmIdHelper()->channelID(id, m_ml, manager()->mmIdHelper()->gasGap(id), stripNo);
// ** Horizontal passivation: mask entire strips
//==============================================
int pcb = (stripNo-1)/1024 + 1; // starts from 1
int pcbStrip = stripNo - 1024*(pcb - 1);
PCBPassivation pcbPassiv = m_passivData ? m_passivData->getPassivation(id) :s_dummy_passiv;
PCBPassivation pcbPassiv = m_passivData ? m_passivData->getPassivation(channelId) :s_dummy_passiv;
// if(m_passivData && !pcbPassiv.valid) return false;
// the passivated width is constant along the PCB edge (not along y for stereo strips)
if(pcb != 1) pcbPassiv.bottom /= std::cos(design->sAngle);
......
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