Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:24

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DempProduce")
0004 #keep the logging output to a nice level
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0009 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0010 process.GlobalTag.globaltag= "START3X_V25B::All"
0011 
0012 process.load("Configuration.EventContent.EventContent_cff")
0013 
0014 
0015 extendAOD = cms.untracked.vstring(
0016   'drop *',
0017         'keep *_source_*_*',
0018         'keep *_VtxSmeared_*_*',
0019         'keep SimTracks_g4SimHits_*_*',
0020         'keep SimVertexs_g4SimHits_*_*',
0021         'keep *_offlinePrimaryVertices_*_Demo',
0022             'keep recoTracks_generalTracks_*_*')
0023 
0024 process.AODSIMEventContent.outputCommands.extend(extendAOD)
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027          outputCommands = process.AODSIMEventContent.outputCommands,
0028          fileName = cms.untracked.string('reco.root')
0029 )
0030 
0031 
0032 
0033 
0034 
0035 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
0036 process.source = cms.Source("PoolSource",
0037                                 fileNames = cms.untracked.vstring('/store/mc/Spring10/MinBias/GEN-SIM-RECO/START3X_V25B_356ReReco-v1/0004/0E72CE54-F43B-DF11-A06F-0026189438BD.root')
0038 )
0039 
0040 process.load("RecoVertex.Configuration.RecoVertex_cff")
0041 
0042 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0043 
0044 process.Tracer = cms.Service("Tracer",
0045     indention = cms.untracked.string('$$')
0046 )
0047 
0048 process.p = cms.Path(process.vertexreco)
0049 process.outpath = cms.EndPath(process.out)
0050