CMS 3D CMS Logo

computeGain_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 SiStripCalib = cms.EDAnalyzer(
4  "SiStripGainFromCalibTree",
5  OutputGains = cms.string('Gains_ASCII.txt'),
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  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'),
18 
19 
20  Validation = cms.untracked.bool(False),
21  OldGainRemoving = cms.untracked.bool(False),
22  FirstSetOfConstants = cms.untracked.bool(True),
23 
24  CalibrationLevel = cms.untracked.int32(0), # 0==APV, 1==Laser, 2==module
25 
26  InputFiles = cms.untracked.vstring(),
27 
28  UseCalibration = cms.untracked.bool(False),
29  calibrationPath = cms.untracked.string(""),
30 
31  saveSummary = cms.untracked.bool(False),
32 
33  GoodFracForTagProd = cms.untracked.double(0.98),
34  NClustersForTagProd = cms.untracked.double(8E8),
35 
36 
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),
43 
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('')),
48 )
49 
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)