Skip to content

Commit

Permalink
Merge pull request #39035 from mmusich/fixOverlapValidation
Browse files Browse the repository at this point in the history
Fix Tracker Alignment overlap validation
  • Loading branch information
cmsbuild committed Aug 12, 2022
2 parents 37ebeb9 + 98d8b94 commit 1730d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Alignment/OfflineValidation/python/overlapValidationPlot.py
Expand Up @@ -6,7 +6,7 @@

import ROOT

from .TkAlStyle import TkAlStyle
from TkAlStyle import TkAlStyle

dirNameList=["z","r","phi"]# in general directions are labeled z=0 r =1 phi =2 throughout this, I should probably think of something more elegant
detNameList = ("BPIX", "FPIX", "TIB", "TID", "TOB", "TEC")
Expand All @@ -26,7 +26,7 @@ def hist(tree_file_name, hist_name,subdet_ids,module_directions,overlap_directio
for overlap in range(3):
h[subdet][module].append([])
for profile in range(4):
if subdetConditon(subdet,module,overlap):
if subdetCondition(subdet,module,overlap):
h[subdet][module][overlap].append(0)
continue
name = hist_name + "{0}_{1}_{2}".format(dirNameList[module],dirNameList[overlap],detNameList[subdet])
Expand Down

0 comments on commit 1730d51

Please sign in to comment.