1 import FWCore.ParameterSet.Config
as cms
3 SiStripCalib = cms.EDAnalyzer(
"SiStripGainFromCalibTree",
4 OutputGains = cms.string(
'Gains_ASCII.txt'),
5 Tracks = cms.untracked.InputTag(
'CalibrationTracksRefit'),
6 AlgoMode = cms.untracked.string(
'CalibTree'),
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),
14 Validation = cms.untracked.bool(
False),
15 OldGainRemoving = cms.untracked.bool(
False),
16 FirstSetOfConstants = cms.untracked.bool(
True),
18 CalibrationLevel = cms.untracked.int32(0),
20 InputFiles = cms.untracked.vstring(),
22 UseCalibration = cms.untracked.bool(
False),
23 calibrationPath = cms.untracked.string(
""),
25 saveSummary = cms.untracked.bool(
False),
27 GoodFracForTagProd = cms.untracked.double(0.98),
28 NClustersForTagProd = cms.untracked.double(1E8),
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)
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)