CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
18  Validation = cms.untracked.bool(False),
19  OldGainRemoving = cms.untracked.bool(False),
20  FirstSetOfConstants = cms.untracked.bool(True),
21 
22  CalibrationLevel = cms.untracked.int32(0), # 0==APV, 1==Laser, 2==module
23 
24  InputFiles = cms.untracked.vstring(),
25 
26  UseCalibration = cms.untracked.bool(False),
27  calibrationPath = cms.untracked.string(""),
28 
29  saveSummary = cms.untracked.bool(False),
30 
31  GoodFracForTagProd = cms.untracked.double(0.98),
32  NClustersForTagProd = cms.untracked.double(1E8),
33 
34 
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),
40 
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('')),
45 )
46 
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)