CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalElecEmulTccOnlyExample_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("EcalSimRawData")
4 #simulation of raw data. Defines the ecalSimRawData module:
5 process.load("SimCalorimetry.EcalElectronicsEmulation.EcalSimRawData_cfi")
6 
7 # Geometry
8 #
9 process.load("Geometry.CMSCommonData.cmsSimIdealGeometryXML_cfi")
10 
11 # Calo geometry service model
12 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
13 
14 # Description of EE trigger tower map
15 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
16 
17 process.source = cms.Source("EcalSimpleSource",
18  #number of events to generate:
19  maxEvents = cms.untracked.int32(2),
20  # string formula = "200+(4<=isample0)*(isample0<=6)*16*(1.)+1<<12"
21  formula = cms.string(''),
22  #TT samples:
23  # TT sample format:
24  # |11 | 10 | 9 - 0 |
25  # |gap|fgvb| Et |
26  # energy set to TT id in first event and then incremented at each event:
27  tpFormula = cms.string('itt0+ievt0'),
28  verbose = cms.untracked.bool(False)
29 )
30 
31 process.p = cms.Path(process.ecalSimRawData)
32 process.ecalSimRawData.trigPrimProducer = 'source'
33 process.ecalSimRawData.tcpDigiCollection = ''
34 process.ecalSimRawData.tcc2dccData = False
35 process.ecalSimRawData.srp2dccData = False
36 process.ecalSimRawData.fe2dccData = False
37 process.ecalSimRawData.tpVerbose = False
38 
39