Skip to content
Snippets Groups Projects
Commit 4f0e7ffb authored by Nicholas Styles's avatar Nicholas Styles
Browse files

Merge branch '21.9-pixelValgrindFix' into '21.9'

fix invalid write in pixel geometry

See merge request atlas/athena!37757
parents 5c2036c3 69706690
No related branches found
No related tags found
4 merge requests!44869Draft: Update to candidate store,!4217921.9-first_steps-InDetTrackingGeometryXML,!39162Draft: Insert BCM' support,!37757fix invalid write in pixel geometry
......@@ -328,8 +328,10 @@ GeoVPhysVol* GeoPixelLadderInclRef::Build( ) {
int brlModuleCmpt=-1;
nbModuleSvc[brlModuleIndex]=m_barrelModuleNumber/2+m_barrelModuleNumber%2;
if(transModuleIndex>0)nbModuleSvc[transModuleIndex]=m_transitionModuleNumber/2;
if(endcapModuleIndex)nbModuleSvc[endcapModuleIndex]=m_endcapModuleNumber;
if(endcapModuleIndex>0){
nbModuleSvc[endcapModuleIndex]=m_endcapModuleNumber;
}
if(bVerbose){
std::cout<<"MODULE SERVICES init for layer "<<m_layer <<" : "; for(int i=0; i<(int)nbModuleSvc.size(); i++) std::cout<<nbModuleSvc[i]<<" "; std::cout<<std::endl;
}
......
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