File indexing completed on 2024-04-06 12:26:26
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("recHitsTest")
0008
0009 process.maxEvents = cms.untracked.PSet(
0010 input = cms.untracked.int32(100)
0011 )
0012
0013 process.MessageLogger = cms.Service("MessageLogger",
0014 debugModules = cms.untracked.vstring('ReadPixelRecHit'),
0015 destinations = cms.untracked.vstring('cout'),
0016
0017 cout = cms.untracked.PSet(
0018 threshold = cms.untracked.string('ERROR')
0019 )
0020
0021
0022
0023 )
0024
0025 process.source = cms.Source("PoolSource",
0026
0027 fileNames = cms.untracked.vstring(
0028 'file:/afs/cern.ch/work/d/dkotlins/public/MC/mu/pt100_71_pre7/rechits/rechits2_postls171.root'
0029 )
0030 )
0031
0032
0033
0034 process.TFileService = cms.Service("TFileService",
0035 fileName = cms.string('histo.root')
0036 )
0037
0038 process.load("Configuration.StandardSequences.GeometryDB_cff")
0039 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0040
0041
0042 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0043
0044 process.GlobalTag.globaltag = 'auto:phase1_2022_realistic'
0045
0046
0047 process.analysis = cms.EDAnalyzer("ReadPixelRecHit",
0048 Verbosity = cms.untracked.bool(True),
0049 src = cms.InputTag("siPixelRecHits"),
0050 )
0051
0052 process.p = cms.Path(process.analysis)
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068