Public Member Functions | |
def | __init__ (self, inputDQMName, outputFileName, noiseOutputFileName, dirs) |
def | ReadHistograms (self) |
Private Member Functions | |
def | __convertCoordinatesFromHistToROCSpace (self, histName, histXpos, histRow) |
def | __customMedianFilter (self, array, radius=2) |
def | __determineBarrelDColInefficiencyAndNoise (self, medFiltRes, histName, pixelArr, pixelArrWithoutDrops, startPixel, rocCol, rocRow, outputFile, columnsWithSuspiciouslyNoisyPixels, noiseFile) |
def | __determineBarrelNoise (self, noiseFile, columnsWithSuspiciouslyNoisyPixels, histName, meanOfPixels, maxMed, val, pos, rocCol, rocRow) |
def | __determineBarrelNoise2 (self, noiseFile, columnsWithSuspiciouslyNoisyPixels, histName, meanOfPixels, normMeanOfPixels, normVal, pos, rocCol, rocRow) |
def | __determineEndcapDColInefficiencyAndNoise (self, medFiltRes, histName, pixelArr, startPixel, rocCol, rocRow, outputFile, columnsWithSuspiciouslyNoisyPixels, noiseFile) |
def | __determineEndcapNoise (self, noiseFile, columnsWithSuspiciouslyNoisyPixels, histName, meanOfPixels, linVal, val, pos, rocCol, rocRow) |
def | __getPixelArrWithRemovedDrops (self, pixelArr, medFiltRes) |
def | __getROCData (self, hist, startPixel, endPixel, row, repeatFilter=3, filterKernelSize=5) |
def | __lmsExp (self, data, xMin, xMax) |
def | __lmsLin (self, data, xMin, xMax) |
def | __normalizeArray (self, pixelArr) |
def | __setNormalizedArrayZeroInThePoint (self, pixelArr, pt) |
def | __TraverseDirTree (self, dir) |
Definition at line 12 of file InefficientDoubleROC.py.
def InefficientDoubleROC.InefficientDeadROCs.__init__ | ( | self, | |
inputDQMName, | |||
outputFileName, | |||
noiseOutputFileName, | |||
dirs | |||
) |
Definition at line 45 of file InefficientDoubleROC.py.
|
private |
Definition at line 238 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.rocMaxCol.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise(), InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise(), InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise2(), InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise(), and InefficientDoubleROC.InefficientDeadROCs.__determineEndcapNoise().
|
private |
Definition at line 122 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__getROCData().
|
private |
Definition at line 267 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise2(), InefficientDoubleROC.InefficientDeadROCs.barrelInefficientDColTh, SiStripPI.max, min(), and InefficientDoubleROC.InefficientDeadROCs.rocMaxCol.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 183 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh, and InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh.
|
private |
Definition at line 201 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh2, and InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise().
|
private |
Definition at line 321 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.__determineEndcapNoise(), InefficientDoubleROC.InefficientDeadROCs.__lmsLin(), InefficientDoubleROC.InefficientDeadROCs.endcapInefficientDColTh, and InefficientDoubleROC.InefficientDeadROCs.rocMaxCol.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 219 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.endcapNoisyColumnTh, and InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise().
|
private |
Definition at line 168 of file InefficientDoubleROC.py.
References min().
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 137 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__customMedianFilter(), InefficientDoubleROC.InefficientDeadROCs.pixelNoisynessTh, and InefficientDoubleROC.InefficientDeadROCs.rocMaxRow.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 87 of file InefficientDoubleROC.py.
|
private |
Definition at line 105 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise().
|
private |
Definition at line 171 of file InefficientDoubleROC.py.
References SiStripPI.max, and min().
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 178 of file InefficientDoubleROC.py.
|
private |
Definition at line 15 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__TraverseDirTree(), mps_setup.append, InefficientDoubleROC.InefficientDeadROCs.dicOfModuleHistograms, and InefficientDoubleROC.InefficientDeadROCs.lookForStr.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__TraverseDirTree(), PhaseITreeProducer.ModuleLvlValuesReader.__TraverseDirTree(), and TH2PolyOfflineMaps.TH2PolyOfflineMaps.__TraverseDirTree().
def InefficientDoubleROC.InefficientDeadROCs.ReadHistograms | ( | self | ) |
Definition at line 382 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise(), InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise(), InefficientDoubleROC.InefficientDeadROCs.__getPixelArrWithRemovedDrops(), InefficientDoubleROC.InefficientDeadROCs.__getROCData(), InefficientDoubleROC.InefficientDeadROCs.__normalizeArray(), InefficientDoubleROC.InefficientDeadROCs.dicOfModuleHistograms, InefficientDoubleROC.InefficientDeadROCs.noiseOutputFileName, DTSurveyConvert.outputFileName, InefficientDoubleROC.InefficientDeadROCs.outputFileName, SiStripGainCosmicCalculator.outputFileName, CSCSkim.outputFileName, edm.print(), InefficientDoubleROC.InefficientDeadROCs.rocMaxCol, InefficientDoubleROC.InefficientDeadROCs.rocsInRow, and split.
InefficientDoubleROC.InefficientDeadROCs.barrelInefficientDColTh |
Definition at line 70 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise().
InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh |
Definition at line 66 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise().
InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh2 |
Definition at line 67 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise2().
InefficientDoubleROC.InefficientDeadROCs.detDict |
Definition at line 82 of file InefficientDoubleROC.py.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader.ReadHistograms(), and TH2PolyOfflineMaps.TH2PolyOfflineMaps.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.dicOfModuleHistograms |
Definition at line 60 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__TraverseDirTree(), and InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.dirs |
Definition at line 50 of file InefficientDoubleROC.py.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader.__TraverseDirTree(), and TH2PolyOfflineMaps.TH2PolyOfflineMaps.__TraverseDirTree().
InefficientDoubleROC.InefficientDeadROCs.endcapInefficientDColTh |
Definition at line 71 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise().
InefficientDoubleROC.InefficientDeadROCs.endcapNoisyColumnTh |
Definition at line 68 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapNoise().
InefficientDoubleROC.InefficientDeadROCs.inputFile |
Definition at line 59 of file InefficientDoubleROC.py.
InefficientDoubleROC.InefficientDeadROCs.inputFileName |
Definition at line 47 of file InefficientDoubleROC.py.
InefficientDoubleROC.InefficientDeadROCs.lookForStr |
Definition at line 52 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__TraverseDirTree().
InefficientDoubleROC.InefficientDeadROCs.noiseOutputFileName |
Definition at line 49 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.outputFileName |
Definition at line 48 of file InefficientDoubleROC.py.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader.CreateTree2(), and InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.pixelNoisynessTh |
THRESHOLDS SECTION.
Definition at line 63 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__getROCData().
InefficientDoubleROC.InefficientDeadROCs.rocMaxCol |
Definition at line 54 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise(), InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise(), and InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.rocMaxRow |
Definition at line 55 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__getROCData().
InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh |
InefficientDoubleROC.InefficientDeadROCs.rocsInCol |
Definition at line 57 of file InefficientDoubleROC.py.
InefficientDoubleROC.InefficientDeadROCs.rocsInRow |
Definition at line 56 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().