To better correlate channel loss with physical location on the detector a new distribution is needed. It should be a TH2F which has on the y-axis ieta and on the x-axis strip. Here strip should go as 0 to 383. The z-axis should be the scurve width.
However additional distributions may be of interest in the future so we should add a function to anautilities.py. This function should take as input either a dictionary or a multidimensional numpy array. In either case something of the form of:
def makeDetectorMap(inputContainer):
"""
inputContainer - container where inputContainer[vfat][ROBstr] is the observable of interest for (vfat, ROBstr) ordered pair
"""
#initialize some TH2F object called hDetectorMap
#Loop over inputContainer[vfat][ROBstr]
#Get ieta position corresponding to (vfat, ROBstr) using chamber_vfatPos2iEta
#Determine binX and binY of hDetectorMap that corresponds to (vfat, ROBstr)
#Use the TH2F::SetBinContent() method to set inputContainer[vfat][ROBstr] to (binX,binY)
return hDetectorMap
Brief summary of issue
To better correlate channel loss with physical location on the detector a new distribution is needed. It should be a
TH2F
which has on the y-axisieta
and on the x-axisstrip
. Herestrip
should go as 0 to 383. The z-axis should be the scurve width.However additional distributions may be of interest in the future so we should add a function to anautilities.py. This function should take as input either a dictionary or a multidimensional numpy array. In either case something of the form of:
Where is imported from
chamber_vfatPos2iEta
comes from chamberInfo Line 72Then add making a detector map of scurve width in
anaUltraScurve.py
Types of issue
Expected Behavior
We should make a physical map of scurve width as a single 2D plot across the detector in
anaUltraScurve.py
Current Behavior
See above pseudocode.
Context (for feature requests)
Will help us understand the nature of the channel loss.