Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:35

0001 #
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("digiTest")
0005 
0006 process.load("Configuration.StandardSequences.Geometry_cff")
0007 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0008 # process.load("Configuration.StandardSequences.Services_cff")
0009 
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(-1)
0014 )
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     debugModules = cms.untracked.vstring('PixelDigisTest'),
0018     destinations = cms.untracked.vstring('cout'),
0019 #    destinations = cms.untracked.vstring("log","cout"),
0020     cout = cms.untracked.PSet(
0021         threshold = cms.untracked.string('ERROR')
0022     )
0023 #    log = cms.untracked.PSet(
0024 #        threshold = cms.untracked.string('DEBUG')
0025 #    )
0026 )
0027 
0028 process.source = cms.Source("PoolSource",
0029     fileNames =  cms.untracked.vstring(
0030 #    'file:/afs/cern.ch/work/d/dkotlins/public/MC/mu/pt100_71_pre7/digis/digis2_postls171.root'
0031     'file:digis.root'
0032     )
0033 )
0034 
0035 
0036 process.TFileService = cms.Service("TFileService",
0037     fileName = cms.string('histo.root')
0038 )
0039 
0040 #process.GlobalTag.globaltag = 'MC_31X_V9::All'
0041 #process.GlobalTag.globaltag = 'CRAFT09_R_V4::All'
0042 # 2012
0043 # process.GlobalTag.globaltag = 'GR_P_V40::All'
0044 # 2013 MC
0045 #process.GlobalTag.globaltag = 'MC_70_V1::All'
0046 # 2014 data
0047 process.GlobalTag.globaltag = 'PRE_R_71_V3::All'
0048 # 2014 mc
0049 #process.GlobalTag.globaltag = 'PRE_STA71_V4::All'
0050 
0051   
0052 process.analysis = cms.EDAnalyzer("PixelDigisTest",
0053     Verbosity = cms.untracked.bool(True),
0054 # my sim in V7
0055 #    src = cms.InputTag("simSiPixelDigis"),
0056 #    src = cms.InputTag("mix"),
0057 # old default
0058     src = cms.InputTag("siPixelDigis"),
0059 )
0060 
0061 process.p = cms.Path(process.analysis)
0062