File indexing completed on 2024-04-06 12:30:58
0001
0002
0003 import FWCore.ParameterSet.Config as cms
0004
0005 process = cms.Process("Test")
0006
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008
0009 process.load("Configuration.Geometry.GeometryIdeal_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 process.load("Configuration.StandardSequences.Services_cff")
0013 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0014
0015
0016
0017
0018 process.load("SimG4Core.Configuration.SimG4Core_cff")
0019
0020
0021 from SimGeneral.MixingModule.aliases_cfi import *
0022 from SimGeneral.MixingModule.mixObjects_cfi import *
0023
0024 from SimGeneral.MixingModule.pixelDigitizer_cfi import *
0025 from SimGeneral.MixingModule.stripDigitizer_cfi import *
0026 from SimGeneral.MixingModule.trackingTruthProducer_cfi import *
0027
0028 process.simSiPixelDigis = cms.EDProducer("MixingModule",
0029
0030
0031
0032
0033
0034
0035
0036 digitizers = cms.PSet(
0037 pixel = cms.PSet(
0038 pixelDigitizer
0039 ),
0040
0041
0042
0043 ),
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066 LabelPlayback = cms.string(' '),
0067 maxBunch = cms.int32(3),
0068 minBunch = cms.int32(-5),
0069
0070 bunchspace = cms.int32(25),
0071 mixProdStep1 = cms.bool(False),
0072 mixProdStep2 = cms.bool(False),
0073
0074 playback = cms.untracked.bool(False),
0075 useCurrentProcessOnly = cms.bool(False),
0076 mixObjects = cms.PSet(
0077 mixTracks = cms.PSet(
0078 mixSimTracks
0079 ),
0080 mixVertices = cms.PSet(
0081 mixSimVertices
0082 ),
0083 mixSH = cms.PSet(
0084
0085
0086 input = cms.VInputTag(cms.InputTag("g4SimHits","TrackerHitsPixelBarrelHighTof"),
0087 cms.InputTag("g4SimHits","TrackerHitsPixelBarrelLowTof"),
0088 cms.InputTag("g4SimHits","TrackerHitsPixelEndcapHighTof"),
0089 cms.InputTag("g4SimHits","TrackerHitsPixelEndcapLowTof"),
0090
0091
0092
0093
0094
0095
0096
0097
0098 ),
0099 type = cms.string('PSimHit'),
0100 subdets = cms.vstring(
0101 'TrackerHitsPixelBarrelHighTof',
0102 'TrackerHitsPixelBarrelLowTof',
0103 'TrackerHitsPixelEndcapHighTof',
0104 'TrackerHitsPixelEndcapLowTof',
0105
0106
0107
0108
0109
0110
0111
0112
0113 ),
0114 crossingFrames = cms.untracked.vstring(),
0115
0116
0117
0118
0119 ),
0120 mixHepMC = cms.PSet(
0121 mixHepMCProducts
0122 )
0123 )
0124 )
0125
0126 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0127
0128
0129
0130
0131 simSiPixelDigis = cms.PSet(
0132 initialSeed = cms.untracked.uint32(1234567),
0133 engineName = cms.untracked.string('TRandom3')
0134 )
0135 )
0136
0137
0138 process.maxEvents = cms.untracked.PSet(
0139 input = cms.untracked.int32(-1)
0140 )
0141
0142 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring(
0143 'file:/afs/cern.ch/work/d/dkotlins/public//MC/mu/pt100_71_pre5/simhits/simHits2.root'
0144 )
0145 )
0146
0147
0148
0149
0150
0151
0152
0153 process.GlobalTag.globaltag = 'POSTLS171_V1::All'
0154
0155
0156 process.o1 = cms.OutputModule("PoolOutputModule",
0157 outputCommands = cms.untracked.vstring('drop *','keep *_*_*_Test'),
0158 fileName = cms.untracked.string('file:/afs/cern.ch/work/d/dkotlins/public/MC/mu/pt100_71_pre7/digis/digis2_postls171.root')
0159
0160 )
0161
0162 process.g4SimHits.Generator.HepMCProductLabel = 'source'
0163 process.simSiPixelDigis.digitizers.pixel.AddPixelInefficiency = cms.bool(False)
0164
0165
0166
0167
0168
0169
0170 process.p1 = cms.Path(process.simSiPixelDigis)
0171
0172 process.outpath = cms.EndPath(process.o1)
0173
0174