Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CSCDQM")
0004 
0005 #-------------------------------------------------
0006 # DQM Module Configuration
0007 #-------------------------------------------------
0008 
0009 process.load("DQM.CSCMonitorModule.csc_dqm_sourceclient_offline_cff")
0010 #process.load("DQMServices.Components.MEtoEDMConverter_cff")
0011 #process.load("DQM.CSCMonitorModule.csc_daq_info_cfi")
0012 #process.load("DQM.CSCMonitorModule.csc_dcs_info_cfi")
0013 #process.load("DQM.CSCMonitorModule.csc_certification_info_cfi")
0014 
0015 #-------------------------------------------------
0016 # Offline DQM Module Configuration
0017 #-------------------------------------------------
0018 
0019 process.load("DQMOffline.Muon.CSCMonitor_cfi")
0020 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0021 process.load("Configuration.StandardSequences.Reconstruction_cff")
0022 process.csc2DRecHits.readBadChambers = cms.bool(False)
0023 
0024 #----------------------------
0025 # Event Source
0026 #-----------------------------
0027 
0028 #process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))
0029 process.source = cms.Source("PoolSource",
0030   fileNames  = cms.untracked.vstring(
0031     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/D65FC93B-5BAB-DF11-A9AF-001D09F2516D.root',
0032     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/C492E26A-51AB-DF11-8F03-003048F118C2.root',
0033     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/A6519D80-53AB-DF11-87EB-001D09F25109.root',
0034     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/9E418993-4EAB-DF11-901B-0030487C7E18.root',
0035     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/90C67078-4CAB-DF11-BAE1-0030487CD184.root',
0036     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/8802AD8E-61AB-DF11-B775-0030487A17B8.root',
0037     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/84CABB05-5EAB-DF11-9B05-0030487A3DE0.root',
0038     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/82ABB08A-5AAB-DF11-B543-003048F11C58.root',
0039     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/5ACA6051-56AB-DF11-83EA-0030487CD178.root',
0040     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/5632EBC2-4BAB-DF11-AC22-001617C3B77C.root',
0041     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/249B981E-52AB-DF11-96F0-003048F024FE.root',
0042     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/08F7838E-61AB-DF11-89DD-0030487CD180.root',
0043     '/store/data/Run2010A/Cosmics/RAW/v1/000/143/227/0827F81F-59AB-DF11-80E0-003048F024FE.root'
0044   ),
0045   #skipEvents = cms.untracked.uint32(1129)
0046 )
0047 
0048 #----------------------------
0049 # DQM Environment
0050 #-----------------------------
0051 
0052 process.load("DQMServices.Core.DQM_cfg")
0053 process.load("DQMServices.Components.DQMEnvironment_cfi")
0054 
0055 
0056 #----------------------------
0057 # DQM Playback Environment
0058 #-----------------------------
0059 
0060 process.load("DQM.Integration.test.environment_playback_cfi")
0061 process.dqmEnv.subSystemFolder    = "CSC"
0062 
0063 process.DQM.collectorHost = 'pccmsdqm02.cern.ch'
0064 #process.DQM.collectorHost = 'localhost'
0065 process.dqmSaver.dirName = '/tmp/valdo'
0066 
0067 #-----------------------------
0068 # Magnetic Field
0069 #-----------------------------
0070 
0071 process.load("Configuration/StandardSequences/MagneticField_cff")
0072 
0073 #-------------------------------------------------
0074 # GEOMETRY
0075 #-------------------------------------------------
0076 
0077 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0078 
0079 #-------------------------------------------------
0080 # Global Tag
0081 #-------------------------------------------------
0082 
0083 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0084 #from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
0085 #process.GlobalTag.connect = "sqlite_file:/nfshome0/malgeri/public/globtag/CRZT210_V1H.db"
0086 #process.GlobalTag.connect = "frontier://FrontierDev/CMS_COND_CSC"
0087 #process.GlobalTag.globaltag = "CRZT210_V1H::All"
0088 #process.GlobalTag.globaltag = 'CRAFT_V3P::All'
0089 #process.GlobalTag.globaltag = "CRAFT_30X::All"
0090 #process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0091 #process.GlobalTag.globaltag = "CRAFT_V17H::All"
0092 #process.GlobalTag.globaltag = 'GR09_31X_V1H::All' 
0093 #process.GlobalTag.globaltag = 'GR09_31X_V1P::All' 
0094 process.GlobalTag.globaltag = 'GR10_P_V2::All' 
0095 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0096 
0097 
0098 #--------------------------
0099 # Web Service
0100 #--------------------------
0101 
0102 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0103 process.AdaptorConfig = cms.Service("AdaptorConfig")
0104 
0105 #--------------------------
0106 # Message Logger
0107 #--------------------------
0108 
0109 MessageLogger = cms.Service("MessageLogger",
0110 
0111 # suppressInfo = cms.untracked.vstring('source'),
0112 # suppressInfo = cms.untracked.vstring('*'),
0113 
0114   cout = cms.untracked.PSet(
0115     threshold = cms.untracked.string('DEBUG'),
0116 #    WARNING = cms.untracked.PSet(
0117 #      limit = cms.untracked.int32(0)
0118 #    ),
0119 #    noLineBreaks = cms.untracked.bool(False)
0120   ),
0121 
0122   detailedInfo = cms.untracked.PSet(
0123     threshold = cms.untracked.string('DEBUG')
0124   ),
0125 
0126 #  critical = cms.untracked.PSet(
0127 #    threshold = cms.untracked.string('ERROR')
0128 #  ),
0129 
0130   debugModules = cms.untracked.vstring('*'),
0131 
0132   destinations = cms.untracked.vstring(
0133     'detailedInfo', 
0134     'critical', 
0135     'cout'
0136   )
0137 
0138 )
0139 
0140 #--------------------------
0141 # Sequences
0142 #--------------------------
0143 
0144 process.p = cms.Path(
0145   process.dqmCSCClient + 
0146   process.dqmEnv + 
0147   process.dqmSaver) 
0148 #process.p = cms.Path(process.muonCSCDigis * process.csc2DRecHits * process.cscSegments * process.cscMonitor * process.dqmCSCClient + process.dqmEnv + process.dqmSaver)
0149 
0150