Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:58

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_cfi")
0010 process.load("DQM.CSCMonitorModule.csc_daq_info_cfi")
0011 process.load("DQM.CSCMonitorModule.csc_dcs_info_cfi")
0012 process.load("DQM.CSCMonitorModule.csc_certification_info_cfi")
0013 
0014 #-------------------------------------------------
0015 # Offline DQM Module Configuration
0016 #-------------------------------------------------
0017 
0018 process.load("DQMOffline.Muon.CSCMonitor_cfi")
0019 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0020 process.load("Configuration.StandardSequences.Reconstruction_cff")
0021 process.csc2DRecHits.readBadChambers = cms.bool(False)
0022 
0023 #----------------------------
0024 # Event Source
0025 #-----------------------------
0026 
0027 #process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))
0028 process.source = cms.Source("PoolSource",
0029   fileNames  = cms.untracked.vstring(
0030 
0031     #'file:/tmp/valdo/0E746464-1D16-DF11-913D-000423D6CAF2.root'
0032 
0033     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/0080F30B-D4C4-E011-AB51-BCAEC53296F7.root',
0034     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/6C133534-CAC4-E011-9CD9-003048F1C424.root',
0035     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/947727C3-C6C4-E011-A3B6-0030486780EC.root',
0036     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/E6E538D1-C8C4-E011-B2BC-003048D2C1C4.root',
0037     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/F06811C3-C6C4-E011-B46D-003048D2C16E.root',
0038     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/F256C126-C8C4-E011-BEF2-0030487C6090.root',
0039     '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/F2E5F6EB-CAC4-E011-A54B-0030487C8CB8.root'
0040 
0041     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/132/601/4218B1F6-5940-DF11-BA79-0030487CD178.root',
0042     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/132/601/F0BEA43D-8440-DF11-BD1B-000423D6C8E6.root',
0043 
0044     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/132/440/72DAEFC2-1A3C-DF11-A352-0030487A195C.root',
0045     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/DE3D970A-3437-DF11-A61A-000423D98EA8.root',
0046     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/D8FEA60B-3B37-DF11-8343-000423D98B5C.root',
0047     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/9823CFD2-2F37-DF11-8FC3-0030487C635A.root',
0048     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/56D6D791-2437-DF11-911C-000423D98B6C.root'
0049 
0050   ),
0051   #skipEvents = cms.untracked.uint32(1129)
0052 )
0053 
0054 #----------------------------
0055 # DQM Environment
0056 #-----------------------------
0057 
0058 process.load("DQMServices.Core.DQM_cfg")
0059 process.load("DQMServices.Components.DQMEnvironment_cfi")
0060 
0061 
0062 #----------------------------
0063 # DQM Playback Environment
0064 #-----------------------------
0065 
0066 #process.load("DQM.Integration.test.environment_cfi")
0067 #process.dqmEnv.subSystemFolder    = "CSC"
0068 
0069 process.DQM.collectorPort = 9190
0070 #process.DQM.collectorHost = 'cms-uflap03.dyndns.cern.ch'
0071 process.DQM.collectorHost = 'localhost'
0072 #process.DQM.collectorHost = 'pb-d-128-141-82-51.cern.ch'
0073 process.dqmSaver.convention = "Online"
0074 process.dqmSaver.dirName = "/tmp/valdo"
0075 process.dqmSaver.producer = "DQM"
0076 
0077 #-----------------------------
0078 # Magnetic Field
0079 #-----------------------------
0080 
0081 process.load("Configuration/StandardSequences/MagneticField_cff")
0082 
0083 #-------------------------------------------------
0084 # GEOMETRY
0085 #-------------------------------------------------
0086 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0087 
0088 #-------------------------------------------------
0089 # Global Tag
0090 #-------------------------------------------------
0091 
0092 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0093 #from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
0094 #process.GlobalTag.connect = "sqlite_file:/nfshome0/malgeri/public/globtag/CRZT210_V1H.db"
0095 #process.GlobalTag.connect = "frontier://FrontierDev/CMS_COND_CSC"
0096 #process.GlobalTag.globaltag = "CRZT210_V1H::All"
0097 #process.GlobalTag.globaltag = 'CRAFT_V3P::All'
0098 #process.GlobalTag.globaltag = "CRAFT_30X::All"
0099 #process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0100 #process.GlobalTag.globaltag = "CRAFT_V17H::All"
0101 #process.GlobalTag.globaltag = 'GR09_31X_V1H::All'
0102 process.GlobalTag.globaltag = 'GR10_P_V2::All'
0103 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0104 
0105 #--------------------------
0106 # DCS bits
0107 #--------------------------
0108 
0109 #process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
0110 #process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtRecord_cfi")
0111 #import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
0112 #gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
0113 
0114 #process.physicsBitSelector = cms.EDFilter("PhysDecl",
0115 #  applyfilter = cms.untracked.bool(False),
0116 #  debugOn     = cms.untracked.bool(False)
0117 #)
0118 
0119 process.load("EventFilter.ScalersRawToDigi.ScalersRawToDigi_cfi")
0120 
0121 #--------------------------
0122 # Web Service
0123 #--------------------------
0124 
0125 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0126 process.AdaptorConfig = cms.Service("AdaptorConfig")
0127 
0128 #--------------------------
0129 # Message Logger
0130 #--------------------------
0131 
0132 MessageLogger = cms.Service("MessageLogger",
0133 
0134 # suppressInfo = cms.untracked.vstring('source'),
0135 # suppressInfo = cms.untracked.vstring('*'),
0136 
0137   cout = cms.untracked.PSet(
0138     threshold = cms.untracked.string('DEBUG'),
0139     WARNING = cms.untracked.PSet(
0140       limit = cms.untracked.int32(0)
0141     ),
0142     noLineBreaks = cms.untracked.bool(False)
0143   ),
0144 
0145   detailedInfo = cms.untracked.PSet(
0146     threshold = cms.untracked.string('DEBUG')
0147   ),
0148 
0149   critical = cms.untracked.PSet(
0150     threshold = cms.untracked.string('ERROR')
0151   ),
0152 
0153   debugModules = cms.untracked.vstring('*'),
0154 
0155   destinations = cms.untracked.vstring(
0156     'detailedInfo',
0157     'critical',
0158     'cout'
0159   )
0160 
0161 )
0162 
0163 #--------------------------
0164 # Sequences
0165 #--------------------------
0166 
0167 process.p = cms.Path(
0168     #process.l1GtUnpack*
0169     #process.gtDigis*
0170     #process.l1GtRecord*
0171     #process.physicsBitSelector*
0172     process.muonCSCDigis *
0173     #process.cscTriggerPrimitiveDigis *
0174     process.scalersRawToDigi +
0175     process.dqmCSCClient *
0176     process.cscDaqInfo *
0177     process.cscDcsInfo *
0178     process.cscCertificationInfo +
0179     process.dqmEnv +
0180     process.dqmSaver)
0181 
0182 #process.p = cms.Path(process.muonCSCDigis * process.csc2DRecHits * process.cscSegments * process.cscMonitor * process.dqmCSCClient + process.dqmEnv + process.dqmSaver)
0183 
0184