Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MUONIDVALtoEDM")
0004 
0005 process.load("DQMServices.Components.MessageLogger_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(-1)
0009 )
0010 process.source = cms.Source("PoolSource",
0011     fileNames = cms.untracked.vstring("file:/tmp/jribnik/bah.root")
0012 )
0013 
0014 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0015 process.GlobalTag.globaltag = 'MC_3XY_V15::All'
0016 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0017 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0018 
0019 process.load("Validation.MuonIdentification.muonIdVal_cff")
0020 process.muonIdVal.baseFolder = cms.untracked.string("Muons/MuonIdVal")
0021 process.muonIdVal.make2DPlots = cms.untracked.bool(False)
0022 process.muonIdDQMInVal.baseFolder = process.muonIdVal.baseFolder
0023 
0024 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027     outputCommands = cms.untracked.vstring("drop *", 
0028         "keep *_MEtoEDMConverter_*_*", 
0029         "keep *_*_*_MUONIDVALtoEDM"),
0030     fileName = cms.untracked.string("file:/tmp/jribnik/meh.root")
0031 )
0032 
0033 process.p = cms.Path(process.muonIdValDQMSeq*process.MEtoEDMConverter)
0034 process.e = cms.EndPath(process.out)