Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:08

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #keep the logging output to a nice level
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("RPCSegmentEff")
0008 
0009 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0010 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0011 process.load("Geometry.CSCGeometry.cscGeometry_cfi")
0012 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0013 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0014 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0015 process.load("DQMServices.Core.DQM_cfg")
0016 
0017 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0018 process.GlobalTag.globaltag = "MC_31X_V1::All"
0019 process.prefer("GlobalTag")
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(1000)
0023 )
0024 process.source = cms.Source("PoolSource",
0025    fileNames = cms.untracked.vstring('/store/data/BeamCommissioning09/Cosmics/RECO/v1/000/119/580/76BDF4A8-1ACA-DE11-9177-000423D98E6C.root')
0026 )
0027 
0028 process.MessageLogger = cms.Service("MessageLogger",
0029     destinations = cms.untracked.vstring('/tmp/carrillo/RPCEfficiency.log')
0030 )
0031 
0032 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0033 process.museg = DQMEDAnalyzer('RPCEfficiency',
0034 
0035     incldt = cms.untracked.bool(True),
0036     incldtMB4 = cms.untracked.bool(True),
0037     inclcsc = cms.untracked.bool(True),
0038 
0039     debug = cms.untracked.bool(False),
0040     inves = cms.untracked.bool(True),
0041     
0042     DuplicationCorrection = cms.untracked.int32(1),
0043     
0044     rangestrips = cms.untracked.double(1.),
0045     rangestripsRB4 = cms.untracked.double(4.),
0046     MinCosAng = cms.untracked.double(0.99),
0047     MaxD = cms.untracked.double(80.0),
0048     MaxDrb4 = cms.untracked.double(150.0),
0049 
0050     cscSegments = cms.untracked.string('cscSegments'),
0051     dt4DSegments = cms.untracked.string('dt4DSegments'),
0052 
0053     folderPath = cms.untracked.string('HLT/HLTMonMuon/RPC/'),
0054 
0055     EffSaveRootFile = cms.untracked.bool(False)
0056 )
0057 
0058 process.FEVT = cms.OutputModule("PoolOutputModule",
0059     outputCommands = cms.untracked.vstring('keep *_MEtoEDMConverter_*_*'),
0060     fileName = cms.untracked.string('/tmp/carrillo/output.root')
0061 )
0062 
0063 process.p = cms.Path(process.museg*process.MEtoEDMConverter)
0064 process.outpath = cms.EndPath(process.FEVT)
0065 
0066 process.DQM.collectorHost = ''
0067 process.DQM.collectorPort = 9090
0068 process.DQM.debug = False
0069 
0070