Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EcalSimRawData")
0004 #simulation of raw data. Defines the ecalSimRawData module:
0005 process.load("SimCalorimetry.EcalElectronicsEmulation.EcalSimRawData_cfi")
0006 
0007 # Geometry
0008 #
0009 process.load("Geometry.CMSCommonData.cmsSimIdealGeometryXML_cfi")
0010 
0011 # Calo geometry service model
0012 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0013 
0014 # Description of EE trigger tower map
0015 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0016 
0017 process.source = cms.Source("EmptySource")
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     # number of events to generate:
0021     input = cms.untracked.int32(2)
0022 )
0023 
0024 process.ecalSimpleProducer = cms.EDProducer("EcalSimpleProducer",
0025     #      string formula = "200+(4<=isample0)*(isample0<=6)*16*(1.)+1<<12"
0026     formula = cms.string(''),
0027     #TT samples:
0028     #  TT sample format:
0029     #        |11 | 10 |    9 - 0    |
0030     #        |gap|fgvb|      Et     |
0031     # energy set to TT id in first event and then incremented at each event:
0032     tpFormula = cms.string('itt0+ievt0'),
0033     verbose = cms.untracked.bool(False)
0034 )
0035 
0036 process.p = cms.Path(process.ecalSimpleProducer*process.ecalSimRawData)
0037 process.ecalSimRawData.trigPrimProducer = 'ecalSimpleProducer'
0038 process.ecalSimRawData.tcpDigiCollection = ''
0039 process.ecalSimRawData.tcc2dccData = False
0040 process.ecalSimRawData.srp2dccData = False
0041 process.ecalSimRawData.fe2dccData = False
0042 process.ecalSimRawData.tpVerbose = False
0043 
0044