Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:47

0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process('DIGI')
0005 
0006 # import of standard configurations
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('FWCore.MessageService.MessageLogger_cfi')
0009 process.load('Configuration.Geometry.GeometryExtended2023D3Reco_cff')
0010 process.load('Configuration.Geometry.GeometryExtended2023D3_cff')
0011 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0012 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0013 
0014 # global tag
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016 from Configuration.AlCa.GlobalTag import GlobalTag
0017 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '')
0018 
0019 # configure mixing module
0020 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0021 from SimGeneral.MixingModule.hgcalDigitizer_cfi import *
0022 process.mix.theDigitizers = cms.PSet( hgcee      = cms.PSet( hgceeDigitizer),
0023                                       hgchefront = cms.PSet( hgchefrontDigitizer),
0024                                       hgcheback  = cms.PSet( hgchebackDigitizer)
0025                                       )
0026 print(process.mix.theDigitizers)
0027 
0028 # input configuration
0029 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0030 process.source = cms.Source("PoolSource",
0031                             fileNames=cms.untracked.vstring('file:/afs/cern.ch/user/p/psilva/work/HGCal/MuonEvents.root')
0032                             )
0033 
0034 
0035 
0036 # path and EndPath definitions
0037 process.simulation_step = cms.Path(process.mix)
0038 
0039 # Schedule definition
0040 process.schedule = cms.Schedule(process.simulation_step)