Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 SiStripCalib = cms.EDAnalyzer(
0004     "SiStripGainFromCalibTree",
0005     OutputGains         = cms.string('Gains_ASCII.txt'),
0006     AlgoMode            = cms.untracked.string('CalibTree'),
0007 
0008     minTrackMomentum    = cms.untracked.double(2),
0009     minNrEntries        = cms.untracked.double(25),
0010     maxChi2OverNDF      = cms.untracked.double(9999999.0),
0011     maxMPVError         = cms.untracked.double(25.0),
0012     maxNrStrips         = cms.untracked.uint32(8),
0013 
0014     harvestingMode      = cms.untracked.bool(False),
0015     calibrationMode     = cms.untracked.string('StdBunch'),
0016     DQMdir              = cms.untracked.string('AlCaReco/SiStripGains'),
0017     ChargeHisto         = cms.untracked.vstring('TIB','TIB_layer_1','TOB','TOB_layer_1','TIDminus','TIDplus','TECminus','TECplus'),
0018 
0019 
0020     Validation          = cms.untracked.bool(False),
0021     OldGainRemoving     = cms.untracked.bool(False),
0022     FirstSetOfConstants = cms.untracked.bool(True),
0023 
0024     CalibrationLevel    = cms.untracked.int32(0), # 0==APV, 1==Laser, 2==module
0025 
0026     InputFiles          = cms.untracked.vstring(),
0027 
0028     UseCalibration     = cms.untracked.bool(False),
0029     calibrationPath    = cms.untracked.string(""),
0030 
0031     saveSummary         = cms.untracked.bool(False),
0032 
0033     GoodFracForTagProd  = cms.untracked.double(0.98),
0034     NClustersForTagProd = cms.untracked.double(8E8),
0035     
0036 
0037     SinceAppendMode         = cms.bool(True),
0038     TimeFromEndRun          = cms.untracked.bool(False),
0039     TimeFromStartOfRunRange = cms.untracked.bool(True),
0040     IOVMode                 = cms.string('AlgoDriven'),
0041     Record                  = cms.string('SiStripApvGainRcd'),
0042     doStoreOnDB             = cms.bool(True),
0043 
0044     treePath            = cms.untracked.string('gainCalibrationTree/tree'),
0045     gain                = cms.untracked.PSet(label = cms.untracked.string('shallowGainCalibration'), prefix = cms.untracked.string("GainCalibration"), suffix = cms.untracked.string('')),
0046     evtinfo             = cms.untracked.PSet(label = cms.untracked.string('shallowEventRun'), prefix = cms.untracked.string(""), suffix = cms.untracked.string('')),
0047     tracks              = cms.untracked.PSet(label = cms.untracked.string('shallowTracks'), prefix = cms.untracked.string("track"), suffix = cms.untracked.string('')),
0048 )
0049 
0050 SiStripCalibValidation = SiStripCalib.clone()
0051 SiStripCalibValidation.OutputGains         = cms.string('Validation_ASCII.txt') 
0052 SiStripCalibValidation.UseCalibration      = cms.untracked.bool(True)
0053 SiStripCalibValidation.calibrationPath     = cms.untracked.string("file:Gains.root") 
0054 SiStripCalibValidation.doStoreOnDB         = cms.bool(False)