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'),
17 ChargeHisto = cms.untracked.vstring(
'TIB',
'TIB_layer_1',
'TOB',
'TOB_layer_1',
'TIDminus',
'TIDplus',
'TECminus',
'TECplus'),
20 Validation = cms.untracked.bool(
False),
21 OldGainRemoving = cms.untracked.bool(
False),
22 FirstSetOfConstants = cms.untracked.bool(
True),
24 CalibrationLevel = cms.untracked.int32(0),
26 InputFiles = cms.untracked.vstring(),
28 UseCalibration = cms.untracked.bool(
False),
29 calibrationPath = cms.untracked.string(
""),
31 saveSummary = cms.untracked.bool(
False),
33 GoodFracForTagProd = cms.untracked.double(0.98),
34 NClustersForTagProd = cms.untracked.double(8E8),
37 SinceAppendMode = cms.bool(
True),
38 TimeFromEndRun = cms.untracked.bool(
False),
39 TimeFromStartOfRunRange = cms.untracked.bool(
True),
40 IOVMode = cms.string(
'AlgoDriven'),
41 Record = cms.string(
'SiStripApvGainRcd'),
42 doStoreOnDB = cms.bool(
True),
44 treePath = cms.untracked.string(
'gainCalibrationTree/tree'),
45 gain = cms.untracked.PSet(label = cms.untracked.string(
'shallowGainCalibration'), prefix = cms.untracked.string(
"GainCalibration"), suffix = cms.untracked.string(
'')),
46 evtinfo = cms.untracked.PSet(label = cms.untracked.string(
'shallowEventRun'), prefix = cms.untracked.string(
""), suffix = cms.untracked.string(
'')),
47 tracks = cms.untracked.PSet(label = cms.untracked.string(
'shallowTracks'), prefix = cms.untracked.string(
"track"), suffix = cms.untracked.string(
'')),
50 SiStripCalibValidation = SiStripCalib.clone()
51 SiStripCalibValidation.OutputGains = cms.string(
'Validation_ASCII.txt')
52 SiStripCalibValidation.UseCalibration = cms.untracked.bool(
True)
53 SiStripCalibValidation.calibrationPath = cms.untracked.string(
"file:Gains.root")
54 SiStripCalibValidation.doStoreOnDB = cms.bool(
False)