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  Tracks = cms.untracked.InputTag('CalibrationTracksRefit'),
6  AlgoMode = cms.untracked.string('CalibTree'),
7 
8  minTrackMomentum = cms.untracked.double(2),
9  minNrEntries = cms.untracked.double(25),
10  maxChi2OverNDF = cms.untracked.double(9999999.0),
11  maxMPVError = cms.untracked.double(25.0),
12  maxNrStrips = cms.untracked.uint32(8),
13 
14  Validation = cms.untracked.bool(False),
15  OldGainRemoving = cms.untracked.bool(False),
16  FirstSetOfConstants = cms.untracked.bool(True),
17 
18  CalibrationLevel = cms.untracked.int32(0), # 0==APV, 1==Laser, 2==module
19 
20  InputFiles = cms.vstring(
21 # "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_20_134721_1.root",
22  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_20_134721_1.root",
23  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_21_134721_1.root",
24  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_22_134721_1.root",
25  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_23_134721_1.root",
26  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_24_134721_1.root",
27  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_25_134721_1.root",
28  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_26_134721_1.root",
29  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_27_134721_1.root",
30  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_28_134721_1.root",
31  "rfio:/castor/cern.ch/cms/store/group/tracker/strip/calibration/calibrationtree/calibTree_29_134721_1.root",
32  ),
33 
34  UseCalibration = cms.untracked.bool(False),
35  calibrationPath = cms.untracked.string(""),
36 
37  GoodFracForTagProd = cms.untracked.double(0.95),
38  NClustersForTagProd = cms.untracked.double(2E8),
39 
40 
41  SinceAppendMode = cms.bool(True),
42  IOVMode = cms.string('Job'),
43  Record = cms.string('SiStripApvGainRcd'),
44  doStoreOnDB = cms.bool(True)
45 )
46 
47 SiStripCalibValidation = SiStripCalib.clone()
48 SiStripCalibValidation.OutputGains = cms.string('Validation_ASCII.txt')
49 SiStripCalibValidation.UseCalibration = cms.untracked.bool(True)
50 SiStripCalibValidation.calibrationPath = cms.untracked.string("file:Gains.root")
51 SiStripCalibValidation.doStoreOnDB = cms.bool(False)