CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelSCurveCalibrationAnalysis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Put here the modules you want the cfg file to use,
4 # then include this file in your cfg file.
5 # i.e. in SiPixelSCurveCalibration.cfg replace 'module demo = SiPixelSCurveCalibration {} '
6 # with 'include "anlyzerDir/SiPixelSCurveCalibration/data/SiPixelSCurveCalibration.cfi" '.
7 # (Remember that filenames are case sensitive.)
8 siPixelSCurveAnalysis = cms.EDFilter("SiPixelSCurveCalibrationAnalysis",
9  #setting this value to false will put all folders in one
10  useDetectorHierarchyFolders = cms.untracked.bool(True),
11  saveFile = cms.untracked.bool(True),
12  # entire DetIDs
13  # Watch out, setting this too high on corrupted data will cause HUGE memory consumption!
14  detIDsToSave = cms.untracked.vuint32(),
15  minimumThreshold = cms.untracked.double(0.0),
16  # example { 352394505, 352394505 } AGAIN, this will eat A LOT of memory
17  #these values are all very large (or small) - user should edit them for what they want to look for
18  minimumChi2prob = cms.untracked.double(0.8),
19  minimumSigma = cms.untracked.double(0.0),
20  write2dFitResult = cms.untracked.bool(True),
21  maxCurvesToSave = cms.untracked.uint32(1000), ## limit the maximum number of bad curves to save. This limit applies to both saving bad-flagged error histograms and
22 
23  maximumEffAsymptote = cms.untracked.double(1.01), ##this is a pretty silly parameter but it could be helpful for debugging in the future
24 
25  write2dHistograms = cms.untracked.bool(True),
26  maximumSigma = cms.untracked.double(10.0),
27  minimumEffAsymptote = cms.untracked.double(0.0),
28  outputFileName = cms.string('Pixel_DQM_Calibration.root'),
29  #parameters common to SiPixelOfflineCalibAnalysisBase
30  DetSetVectorSiPixelCalibDigiTag = cms.InputTag("siPixelCalibDigis"),
31  maximumThreshold = cms.untracked.double(255.0),
32  saveCurvesThatFlaggedBad = cms.untracked.bool(False),
33  maximumSigmaBin = cms.untracked.double(10.0),
34  maximumThresholdBin = cms.untracked.double(255.0),
35  # write out the sigma and thresholds. Needed as input for hardware
36  writeOutThresholdSummary = cms.untracked.bool(True),
37  thresholdOutputFileName = cms.untracked.string("thresholds.txt"),
38  alsoWriteZeroThresholds = cms.untracked.bool(False)
39 )
40 
41