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.
1 import FWCore.ParameterSet.Config as cms
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.untracked.vstring(),
21 
22  UseCalibration = cms.untracked.bool(False),
23  calibrationPath = cms.untracked.string(""),
24 
25  saveSummary = cms.untracked.bool(False),
26 
27  GoodFracForTagProd = cms.untracked.double(0.98),
28  NClustersForTagProd = cms.untracked.double(1E8),
29 
30 
31  SinceAppendMode = cms.bool(True),
32  TimeFromEndRun = cms.untracked.bool(True),
33  IOVMode = cms.string('Job'),
34  Record = cms.string('SiStripApvGainRcd'),
35  doStoreOnDB = cms.bool(True)
36 )
37 
38 SiStripCalibValidation = SiStripCalib.clone()
39 SiStripCalibValidation.OutputGains = cms.string('Validation_ASCII.txt')
40 SiStripCalibValidation.UseCalibration = cms.untracked.bool(True)
41 SiStripCalibValidation.calibrationPath = cms.untracked.string("file:Gains.root")
42 SiStripCalibValidation.doStoreOnDB = cms.bool(False)