CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/SimCalorimetry/EcalElectronicsEmulation/python/EcalElecEmulTccOnlyExample_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("EcalSimRawData")
00004 #simulation of raw data. Defines the EcalSimRawData module:
00005 process.load("SimCalorimetry.EcalElectronicsEmulation.EcalSimRawData_cfi")
00006 
00007 # Geometry
00008 #
00009 process.load("Geometry.CMSCommonData.cmsSimIdealGeometryXML_cfi")
00010 
00011 # Calo Geometry service model
00012 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
00013 
00014 # Description of EE trigger tower map
00015 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
00016 
00017 process.source = cms.source("EcalSimpleSource",
00018     #number of events to generate:
00019     maxEvents = cms.untracked.int32(2),
00020     #      string formula = "200+(4<=isample0)*(isample0<=6)*16*(1.)+1<<12"
00021     formula = cms.string(''),
00022     #TT samples:
00023     #  TT sample format:
00024     #        |11 | 10 |    9 - 0    |
00025     #        |gap|fgvb|      Et     |
00026     # energy set to TT id in first event and then incremented at each event:
00027     tpFormula = cms.string('itt0+ievt0'),
00028     verbose = cms.untracked.bool(False)
00029 )
00030 
00031 process.p = cms.Path(process.EcalSimRawData)
00032 process.EcalSimRawData.trigPrimProducer = 'source'
00033 process.EcalSimRawData.tcpDigiCollection = ''
00034 process.EcalSimRawData.tcc2dccData = False
00035 process.EcalSimRawData.srp2dccData = False
00036 process.EcalSimRawData.fe2dccData = False
00037 process.EcalSimRawData.tpVerbose = False
00038 
00039