CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CalibTracker/SiStripChannelGain/python/computeGain_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 SiStripCalib = cms.EDFilter("SiStripGainFromCalibTree",
00004     OutputGains         = cms.string('Gains_ASCII.txt'),
00005 
00006     minTrackMomentum    = cms.untracked.double(2),
00007     minNrEntries        = cms.untracked.double(25),
00008     maxChi2OverNDF      = cms.untracked.double(9999999.0),
00009     maxMPVError         = cms.untracked.double(25.0),
00010     maxNrStrips         = cms.untracked.uint32(8),
00011 
00012     Validation          = cms.untracked.bool(False),
00013     OldGainRemoving     = cms.untracked.bool(False),
00014     FirstSetOfConstants = cms.untracked.bool(True),
00015 
00016     CalibrationLevel    = cms.untracked.int32(0), # 0==APV, 1==Laser, 2==module
00017 
00018     InputFiles          = cms.vstring(
00019 #       "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_20_134721_1.root",
00020         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_20_134721_1.root",
00021         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_21_134721_1.root",
00022         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_22_134721_1.root",
00023         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_23_134721_1.root",
00024         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_24_134721_1.root",
00025         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_25_134721_1.root",
00026         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_26_134721_1.root",
00027         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_27_134721_1.root",
00028         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_28_134721_1.root",
00029         "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_29_134721_1.root",
00030     ),
00031 
00032     UseCalibration     = cms.untracked.bool(False),
00033     calibrationPath    = cms.untracked.string(""),
00034 
00035     SinceAppendMode     = cms.bool(True),
00036     IOVMode             = cms.string('Job'),
00037     Record              = cms.string('SiStripApvGainRcd'),
00038     doStoreOnDB         = cms.bool(True)
00039 )
00040 
00041 SiStripCalibValidation = SiStripCalib.clone()
00042 SiStripCalibValidation.OutputGains         = cms.string('Validation_ASCII.txt') 
00043 SiStripCalibValidation.UseCalibration      = cms.untracked.bool(True)
00044 SiStripCalibValidation.calibrationPath     = cms.untracked.string("file:Gains.root") 
00045 SiStripCalibValidation.doStoreOnDB         = cms.bool(False)