CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/CalibTracker/SiPixelGainCalibration/python/SiPixelGainCalibrationAnalysis_cfi.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # this input combined rejects values above suppressZeroAndPlateausInFitFrac of the full range (0-225) from the fit. This effectively rejects plateau values
00004 
00005 # fraction of maximum value. if 0.05 the top 0.05 fraction of the gain curve will not be included in the fit 
00006 
00007 # option to reject points with one entry or less (so only VCAL points with two or more adc hits are taken into account... Improves fit stability but means big errors in data might be ignored
00008 
00009 # minimum chi2/NDOF at which histograms on pixel level are saved. Set to very high or -1 to disable.
00010 
00011 # possiblity to save ALL gain curve histograms. Makes program slow and produces HUGE output files. 
00012 # !!!Use with care!!!!
00013 
00014 # Database Record name...
00015 
00016 import FWCore.ParameterSet.Config as cms
00017 
00018 from CondTools.SiPixel.SiPixelGainCalibrationService_cfi import *
00019 
00020 #
00021 #  SiPixelGainCalibrationAnalysis.cfi
00022 #  CMSSW configuration init file for pixel gain calibrations in CMSSW>=180
00023 #  Original Author:  Freya Blekman
00024 #          Created:  November 15 2007  
00025 #  $Id: SiPixelGainCalibrationAnalysis_cfi.py,v 1.9 2008/10/15 14:56:35 fblekman Exp $
00026 #
00027 #
00028 SiPixelGainCalibrationAnalysis = cms.EDFilter("SiPixelGainCalibrationAnalysis",
00029     # parameter set from CondTools/SiPixel/ module SiPixelGalibrationService 
00030     SiPixelGainCalibrationServiceParameters,
00031     saveFile = cms.untracked.bool(True),
00032     maxChi2InHist = cms.untracked.double(50.0),
00033     savePixelLevelHists = cms.untracked.bool(False),
00034     saveAllHistograms = cms.untracked.bool(False),
00035     listOfDetIDs = cms.untracked.vuint32(),                                         
00036     # try to create database. 'true' setting for expert use only.
00037     writeDatabase = cms.untracked.bool(False),
00038     record = cms.string('SiPixelGainCalibrationRcd'),
00039     suppressPointsWithOneEntryOrLess = cms.untracked.bool(True),
00040     #parameters common to SiPixelOfflineCalibAnalysisBase 
00041     DetSetVectorSiPixelCalibDigiTag = cms.InputTag("siPixelCalibDigis"),
00042     outputFileName = cms.string('Pixel_DQM_Calibration.root'),
00043     suppressZeroAndPlateausInFitFrac = cms.untracked.double(0.2),
00044     suppressPlateauInFit = cms.untracked.bool(True),
00045     minChi2NDFforHistSave = cms.untracked.double(25.0),
00046     minChi2ProbforHistSave = cms.untracked.double(0.001),
00047     plateauSlopeMax = cms.untracked.double(1.0),
00048     appendDatabaseMode = cms.untracked.bool(False),
00049     # the gain is defined as 1/slope of fit.
00050     # maxGainInHist fixes the range of the 1D gain summary plots to [0,maxGainInHist]]
00051     maxGainInHist = cms.untracked.double(25.),
00052     useVCALHIGH = cms.bool(True),
00053     # conversion factor to go from VCAL_HIGH to VCAL_LOW. Current best estimate: VCAL_HIGH = 7 * VCAL_LOW, which is encoded in the parameter below 
00054     vcalHighToLowConversionFac = cms.double(7.0),
00055     # use this mode if you want to analyze S-Curve data with the Gain analysis
00056     ignoreMode = cms.untracked.bool(False)                                          
00057 )
00058 
00059