Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PEDESTALS")
0004 
0005 # MessageLogger ########
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         enable = cms.untracked.bool(False)
0009     ),
0010     cout = cms.untracked.PSet(
0011         enable = cms.untracked.bool(True),
0012         threshold = cms.untracked.string('ERROR')
0013     ),
0014     debugModules = cms.untracked.vstring('PedsMon')
0015 )
0016 
0017 # geometry
0018 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0019 
0020 # tracker numbering
0021 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0022 
0023 # Calibration
0024 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0025 process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0026 process.GlobalTag.globaltag = "CRAFT_V4P::All"
0027 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0028 
0029 # DQM Services
0030 process.DQMStore = cms.Service("DQMStore",
0031     verbose = cms.untracked.int32(0)
0032 )
0033 
0034 #  Reconstruction Modules
0035 process.load("EventFilter.SiStripRawToDigi.SiStripDigis_cfi")
0036 process.siStripDigis.ProductLabel = 'source'
0037 
0038 # Pedestal Monitor 
0039 process.load("DQM.SiStripMonitorPedestals.SiStripMonitorPedestals_cfi")
0040 process.load("DQM.SiStripMonitorPedestals.SiStripMonitorRawData_cfi")
0041 process.PedsMon.OutputMEsInRootFile = True
0042 
0043 # Input Events
0044 process.source = cms.Source("PoolSource",
0045     fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/d/dutta/TKCC/49962/USC.00049962.0001.A.storageManager.0.0000.root', 
0046         'rfio:/castor/cern.ch/user/d/dutta/TKCC/49962/USC.00049962.0002.A.storageManager.0.0000.root', 
0047         'rfio:/castor/cern.ch/user/d/dutta/TKCC/49962/USC.00049962.0003.A.storageManager.0.0000.root')
0048 )
0049 process.maxEvents = cms.untracked.PSet(
0050     input = cms.untracked.int32(-1)
0051 )
0052 
0053 process.RecoForDQM = cms.Sequence(process.siStripDigis)
0054 process.p = cms.Path(process.RecoForDQM*process.RawDataMon*process.PedsMon)
0055 
0056 
0057 
0058