CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
computeGain_cff.py
Go to the documentation of this file.
2 
3 SiStripCalib = cms.EDAnalyzer("SiStripGainFromCalibTree",
4  OutputGains = cms.string('Gains_ASCII.txt'),
5 
6  minTrackMomentum = cms.untracked.double(2),
7  minNrEntries = cms.untracked.double(25),
8  maxChi2OverNDF = cms.untracked.double(9999999.0),
9  maxMPVError = cms.untracked.double(25.0),
10  maxNrStrips = cms.untracked.uint32(8),
11 
12  Validation = cms.untracked.bool(False),
13  OldGainRemoving = cms.untracked.bool(False),
14  FirstSetOfConstants = cms.untracked.bool(True),
15 
16  CalibrationLevel = cms.untracked.int32(0), # 0==APV, 1==Laser, 2==module
17 
18  InputFiles = cms.vstring(
19 # "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_20_134721_1.root",
20  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_20_134721_1.root",
21  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_21_134721_1.root",
22  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_22_134721_1.root",
23  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_23_134721_1.root",
24  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_24_134721_1.root",
25  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_25_134721_1.root",
26  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_26_134721_1.root",
27  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_27_134721_1.root",
28  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_28_134721_1.root",
29  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_29_134721_1.root",
30  ),
31 
32  UseCalibration = cms.untracked.bool(False),
33  calibrationPath = cms.untracked.string(""),
34 
35  GoodFracForTagProd = cms.untracked.double(0.95),
36  NClustersForTagProd = cms.untracked.double(2E8),
37 
38 
39  SinceAppendMode = cms.bool(True),
40  IOVMode = cms.string('Job'),
41  Record = cms.string('SiStripApvGainRcd'),
42  doStoreOnDB = cms.bool(True)
43 )
44 
45 SiStripCalibValidation = SiStripCalib.clone()
46 SiStripCalibValidation.OutputGains = cms.string('Validation_ASCII.txt')
47 SiStripCalibValidation.UseCalibration = cms.untracked.bool(True)
48 SiStripCalibValidation.calibrationPath = cms.untracked.string("file:Gains.root")
49 SiStripCalibValidation.doStoreOnDB = cms.bool(False)