1 import FWCore.ParameterSet.Config
as cms
3 SiStripCalib = cms.EDAnalyzer(
4 "SiStripGainFromCalibTree",
5 OutputGains = cms.string(
'Gains_ASCII.txt'),
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 harvestingMode = cms.untracked.bool(
False),
15 calibrationMode = cms.untracked.string(
'StdBunch'),
16 DQMdir = cms.untracked.string(
'AlCaReco/SiStripGains'),
18 Validation = cms.untracked.bool(
False),
19 OldGainRemoving = cms.untracked.bool(
False),
20 FirstSetOfConstants = cms.untracked.bool(
True),
22 CalibrationLevel = cms.untracked.int32(0),
24 InputFiles = cms.untracked.vstring(),
26 UseCalibration = cms.untracked.bool(
False),
27 calibrationPath = cms.untracked.string(
""),
29 saveSummary = cms.untracked.bool(
False),
31 GoodFracForTagProd = cms.untracked.double(0.98),
32 NClustersForTagProd = cms.untracked.double(1E8),
35 SinceAppendMode = cms.bool(
True),
36 TimeFromEndRun = cms.untracked.bool(
True),
37 IOVMode = cms.string(
'Job'),
38 Record = cms.string(
'SiStripApvGainRcd'),
39 doStoreOnDB = cms.bool(
True),
41 treePath = cms.untracked.string(
'gainCalibrationTree/tree'),
42 gain = cms.untracked.PSet(label = cms.untracked.string(
'shallowGainCalibration'), prefix = cms.untracked.string(
"GainCalibration"), suffix = cms.untracked.string(
'')),
43 evtinfo = cms.untracked.PSet(label = cms.untracked.string(
'shallowEventRun'), prefix = cms.untracked.string(
""), suffix = cms.untracked.string(
'')),
44 tracks = cms.untracked.PSet(label = cms.untracked.string(
'shallowTracks'), prefix = cms.untracked.string(
"track"), suffix = cms.untracked.string(
'')),
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)