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(
False),
37 TimeFromStartOfRunRange = cms.untracked.bool(
True),
38 IOVMode = cms.string(
'AlgoDriven'),
39 Record = cms.string(
'SiStripApvGainRcd'),
40 doStoreOnDB = cms.bool(
True),
42 treePath = cms.untracked.string(
'gainCalibrationTree/tree'),
43 gain = cms.untracked.PSet(label = cms.untracked.string(
'shallowGainCalibration'), prefix = cms.untracked.string(
"GainCalibration"), suffix = cms.untracked.string(
'')),
44 evtinfo = cms.untracked.PSet(label = cms.untracked.string(
'shallowEventRun'), prefix = cms.untracked.string(
""), suffix = cms.untracked.string(
'')),
45 tracks = cms.untracked.PSet(label = cms.untracked.string(
'shallowTracks'), prefix = cms.untracked.string(
"track"), suffix = cms.untracked.string(
'')),
48 SiStripCalibValidation = SiStripCalib.clone()
49 SiStripCalibValidation.OutputGains = cms.string(
'Validation_ASCII.txt')
50 SiStripCalibValidation.UseCalibration = cms.untracked.bool(
True)
51 SiStripCalibValidation.calibrationPath = cms.untracked.string(
"file:Gains.root")
52 SiStripCalibValidation.doStoreOnDB = cms.bool(
False)