Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:53

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #--------------------------
0004 # DQM Services
0005 #--------------------------
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("DQMOnlineSimData")
0010 
0011 #--------------------------
0012 # Event Source
0013 #--------------------------
0014 process.source = cms.Source("PoolSource",
0015     fileNames = cms.untracked.vstring(
0016     '/store/relval/CMSSW_3_2_6/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V7-v1/0013/F6CBADA1-D29A-DE11-96C8-00304879FA4A.root',
0017     '/store/relval/CMSSW_3_2_6/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V7-v1/0013/60372DB3-D09A-DE11-857C-001D09F2915A.root')
0018 )
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(100)
0021 )
0022 
0023 #-------------------------------------------------
0024 # Message Logger
0025 #-------------------------------------------------
0026 process.MessageLogger = cms.Service("MessageLogger",
0027     cerr = cms.untracked.PSet(
0028         enable = cms.untracked.bool(False)
0029     ),
0030     cout = cms.untracked.PSet(
0031         enable = cms.untracked.bool(True),
0032         threshold = cms.untracked.string('INFO')
0033     ),
0034     debugModules = cms.untracked.vstring(
0035         'siStripDigis', 
0036         'siStripZeroSuppression', 
0037         'siStripClustersSiStripMonitorCluster'
0038     )
0039 )
0040 
0041 #-------------------------------------------------
0042 # Geometry
0043 #-------------------------------------------------
0044 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0045 
0046 #-------------------------------------------------
0047 # CALIBRATION
0048 #-------------------------------------------------
0049 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0050 process.GlobalTag.globaltag = "STARTUP31X_V7::All"
0051 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0052 
0053 #-----------------------
0054 #  Reconstruction Modules
0055 #-----------------------
0056 process.load("EventFilter.SiStripRawToDigi.SiStripDigis_cfi")
0057 process.siStripDigis.ProductLabel = 'rawDataCollector'
0058 
0059 #process.load("RecoLocalTracker.SiStripZeroSuppression.SiStripZeroSuppression_SimData_cfi")
0060 process.load("RecoLocalTracker.Configuration.RecoLocalTracker_cff")
0061 
0062 #--------------------------
0063 # DQM Services
0064 #--------------------------
0065 process.load("DQM.SiStripCommon.TkHistoMap_cff")
0066 
0067 #--------------------------
0068 # SiStrip MonitorCluster
0069 #--------------------------
0070 process.load("DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi")
0071 process.SiStripMonitorCluster.CreateTrendMEs = True
0072 process.SiStripMonitorCluster.TkHistoMap_On = True
0073 process.SiStripMonitorCluster.SelectAllDetectors = True
0074 #process.SiStripMonitorCluster.TProfTotalNumberOfClusters.subdetswitchon = True
0075 process.SiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon = True
0076 #process.SiStripMonitorCluster.TProfClustersApvCycle.subdetswitchon = True
0077 
0078 ##
0079 process.outP = cms.OutputModule("AsciiOutputModule")
0080 
0081 process.AdaptorConfig = cms.Service("AdaptorConfig")
0082 
0083 process.RecoForDQM = cms.Sequence(process.siStripDigis*process.siStripZeroSuppression*process.siStripClusters)
0084 process.p = cms.Path(process.RecoForDQM*process.SiStripMonitorCluster)
0085 process.ep = cms.EndPath(process.outP)
0086