Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
import FWCore.ParameterSet.Config as cms

process = cms.Process("CSCDQM")

#-------------------------------------------------
# DQM Module Configuration
#-------------------------------------------------

process.load("DQM.CSCMonitorModule.csc_dqm_sourceclient_cfi")
process.load("DQM.CSCMonitorModule.csc_daq_info_cfi")
process.load("DQM.CSCMonitorModule.csc_dcs_info_cfi")
process.load("DQM.CSCMonitorModule.csc_certification_info_cfi")

#-------------------------------------------------
# Offline DQM Module Configuration
#-------------------------------------------------

process.load("DQMOffline.Muon.CSCMonitor_cfi")
process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
process.load("Configuration.StandardSequences.Reconstruction_cff")
process.csc2DRecHits.readBadChambers = cms.bool(False)

#----------------------------
# Event Source
#-----------------------------

#process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))
process.source = cms.Source("PoolSource",
  fileNames  = cms.untracked.vstring(

    #'file:/tmp/valdo/0E746464-1D16-DF11-913D-000423D6CAF2.root'

    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/0080F30B-D4C4-E011-AB51-BCAEC53296F7.root',
    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/6C133534-CAC4-E011-9CD9-003048F1C424.root',
    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/947727C3-C6C4-E011-A3B6-0030486780EC.root',
    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/E6E538D1-C8C4-E011-B2BC-003048D2C1C4.root',
    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/F06811C3-C6C4-E011-B46D-003048D2C16E.root',
    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/F256C126-C8C4-E011-BEF2-0030487C6090.root',
    '/store/data/Run2011A/Interfill/RAW/v1/000/173/200/F2E5F6EB-CAC4-E011-A54B-0030487C8CB8.root'

    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/132/601/4218B1F6-5940-DF11-BA79-0030487CD178.root',
    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/132/601/F0BEA43D-8440-DF11-BD1B-000423D6C8E6.root',

    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/132/440/72DAEFC2-1A3C-DF11-A352-0030487A195C.root',
    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/DE3D970A-3437-DF11-A61A-000423D98EA8.root',
    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/D8FEA60B-3B37-DF11-8343-000423D98B5C.root',
    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/9823CFD2-2F37-DF11-8FC3-0030487C635A.root',
    #'/store/data/Commissioning10/Cosmics/RAW/v4/000/131/884/56D6D791-2437-DF11-911C-000423D98B6C.root'

  ),
  #skipEvents = cms.untracked.uint32(1129)
)

#----------------------------
# DQM Environment
#-----------------------------

process.load("DQMServices.Core.DQM_cfg")
process.load("DQMServices.Components.DQMEnvironment_cfi")


#----------------------------
# DQM Playback Environment
#-----------------------------

#process.load("DQM.Integration.test.environment_cfi")
#process.dqmEnv.subSystemFolder    = "CSC"

process.DQM.collectorPort = 9190
#process.DQM.collectorHost = 'cms-uflap03.dyndns.cern.ch'
process.DQM.collectorHost = 'localhost'
#process.DQM.collectorHost = 'pb-d-128-141-82-51.cern.ch'
process.dqmSaver.convention = "Online"
process.dqmSaver.dirName = "/tmp/valdo"
process.dqmSaver.producer = "DQM"

#-----------------------------
# Magnetic Field
#-----------------------------

process.load("Configuration/StandardSequences/MagneticField_cff")

#-------------------------------------------------
# GEOMETRY
#-------------------------------------------------
process.load("Configuration.StandardSequences.GeometryRecoDB_cff")

#-------------------------------------------------
# Global Tag
#-------------------------------------------------

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
#from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
#process.GlobalTag.connect = "sqlite_file:/nfshome0/malgeri/public/globtag/CRZT210_V1H.db"
#process.GlobalTag.connect = "frontier://FrontierDev/CMS_COND_CSC"
#process.GlobalTag.globaltag = "CRZT210_V1H::All"
#process.GlobalTag.globaltag = 'CRAFT_V3P::All'
#process.GlobalTag.globaltag = "CRAFT_30X::All"
#process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
#process.GlobalTag.globaltag = "CRAFT_V17H::All"
#process.GlobalTag.globaltag = 'GR09_31X_V1H::All'
process.GlobalTag.globaltag = 'GR10_P_V2::All'
process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')

#--------------------------
# DCS bits
#--------------------------

#process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
#process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtRecord_cfi")
#import EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi
#gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()

#process.physicsBitSelector = cms.EDFilter("PhysDecl",
#  applyfilter = cms.untracked.bool(False),
#  debugOn     = cms.untracked.bool(False)
#)

process.load("EventFilter.ScalersRawToDigi.ScalersRawToDigi_cfi")

#--------------------------
# Web Service
#--------------------------

process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
process.AdaptorConfig = cms.Service("AdaptorConfig")

#--------------------------
# Message Logger
#--------------------------

MessageLogger = cms.Service("MessageLogger",

# suppressInfo = cms.untracked.vstring('source'),
# suppressInfo = cms.untracked.vstring('*'),

  cout = cms.untracked.PSet(
    threshold = cms.untracked.string('DEBUG'),
    WARNING = cms.untracked.PSet(
      limit = cms.untracked.int32(0)
    ),
    noLineBreaks = cms.untracked.bool(False)
  ),

  detailedInfo = cms.untracked.PSet(
    threshold = cms.untracked.string('DEBUG')
  ),

  critical = cms.untracked.PSet(
    threshold = cms.untracked.string('ERROR')
  ),

  debugModules = cms.untracked.vstring('*'),

  destinations = cms.untracked.vstring(
    'detailedInfo',
    'critical',
    'cout'
  )

)

#--------------------------
# Sequences
#--------------------------

process.p = cms.Path(
    #process.l1GtUnpack*
    #process.gtDigis*
    #process.l1GtRecord*
    #process.physicsBitSelector*
    process.muonCSCDigis *
    #process.cscTriggerPrimitiveDigis *
    process.scalersRawToDigi +
    process.dqmCSCClient *
    process.cscDaqInfo *
    process.cscDcsInfo *
    process.cscCertificationInfo +
    process.dqmEnv +
    process.dqmSaver)

#process.p = cms.Path(process.muonCSCDigis * process.csc2DRecHits * process.cscSegments * process.cscMonitor * process.dqmCSCClient + process.dqmEnv + process.dqmSaver)