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 11 of file InefficientDoubleROC.py.
def InefficientDoubleROC.InefficientDeadROCs.__init__ | ( | self, | |
inputDQMName, | |||
outputFileName, | |||
noiseOutputFileName, | |||
dirs | |||
) |
Definition at line 44 of file InefficientDoubleROC.py.
|
private |
Definition at line 237 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 121 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__getROCData().
|
private |
Definition at line 266 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 182 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh, and InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh.
|
private |
Definition at line 200 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh2, and InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise().
|
private |
Definition at line 320 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 218 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__convertCoordinatesFromHistToROCSpace(), InefficientDoubleROC.InefficientDeadROCs.endcapNoisyColumnTh, and InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise().
|
private |
Definition at line 167 of file InefficientDoubleROC.py.
References min().
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 136 of file InefficientDoubleROC.py.
References InefficientDoubleROC.InefficientDeadROCs.__customMedianFilter(), InefficientDoubleROC.InefficientDeadROCs.pixelNoisynessTh, and InefficientDoubleROC.InefficientDeadROCs.rocMaxRow.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 86 of file InefficientDoubleROC.py.
|
private |
Definition at line 104 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise().
|
private |
Definition at line 170 of file InefficientDoubleROC.py.
References SiStripPI.max, and min().
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
|
private |
Definition at line 177 of file InefficientDoubleROC.py.
|
private |
Definition at line 14 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 381 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, reco.print(), InefficientDoubleROC.InefficientDeadROCs.rocMaxCol, InefficientDoubleROC.InefficientDeadROCs.rocsInRow, and split.
InefficientDoubleROC.InefficientDeadROCs.barrelInefficientDColTh |
Definition at line 69 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelDColInefficiencyAndNoise().
InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh |
Definition at line 65 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise().
InefficientDoubleROC.InefficientDeadROCs.barrelNoisyColumnTh2 |
Definition at line 66 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineBarrelNoise2().
InefficientDoubleROC.InefficientDeadROCs.detDict |
Definition at line 81 of file InefficientDoubleROC.py.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader.ReadHistograms(), and TH2PolyOfflineMaps.TH2PolyOfflineMaps.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.dicOfModuleHistograms |
Definition at line 59 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__TraverseDirTree(), and InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.dirs |
Definition at line 49 of file InefficientDoubleROC.py.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader.__TraverseDirTree(), and TH2PolyOfflineMaps.TH2PolyOfflineMaps.__TraverseDirTree().
InefficientDoubleROC.InefficientDeadROCs.endcapInefficientDColTh |
Definition at line 70 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapDColInefficiencyAndNoise().
InefficientDoubleROC.InefficientDeadROCs.endcapNoisyColumnTh |
Definition at line 67 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__determineEndcapNoise().
InefficientDoubleROC.InefficientDeadROCs.inputFile |
Definition at line 58 of file InefficientDoubleROC.py.
InefficientDoubleROC.InefficientDeadROCs.inputFileName |
Definition at line 46 of file InefficientDoubleROC.py.
InefficientDoubleROC.InefficientDeadROCs.lookForStr |
Definition at line 51 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__TraverseDirTree().
InefficientDoubleROC.InefficientDeadROCs.noiseOutputFileName |
Definition at line 48 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.outputFileName |
Definition at line 47 of file InefficientDoubleROC.py.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader.CreateTree2(), and InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().
InefficientDoubleROC.InefficientDeadROCs.pixelNoisynessTh |
THRESHOLDS SECTION.
Definition at line 62 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__getROCData().
InefficientDoubleROC.InefficientDeadROCs.rocMaxCol |
Definition at line 53 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 54 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.__getROCData().
InefficientDoubleROC.InefficientDeadROCs.rocOccupancyTh |
InefficientDoubleROC.InefficientDeadROCs.rocsInCol |
Definition at line 56 of file InefficientDoubleROC.py.
InefficientDoubleROC.InefficientDeadROCs.rocsInRow |
Definition at line 55 of file InefficientDoubleROC.py.
Referenced by InefficientDoubleROC.InefficientDeadROCs.ReadHistograms().