CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalDigisPlusRecHits_cff.py
Go to the documentation of this file.
2 
3 # ECAL Trigger Primitives (needed by SRP)
5 # Selective Readout Processor producer
7 
8 # Preshower Zero suppression producer
10 
11 # RCT (Regional Calorimeter Trigger) emulator import
13 simRctDigis = L1Trigger.RegionalCaloTrigger.rctDigis_cfi.rctDigis.clone()
14 simRctDigis.ecalDigis = cms.VInputTag( cms.InputTag( 'simEcalTriggerPrimitiveDigis' ) )
15 simRctDigis.useHcal = cms.bool(False)
16 
17 #ECAL reconstruction
21 
22 import EventFilter.EcalDigiToRaw.ecalDigiToRaw_cfi
23 ecalPacker = EventFilter.EcalDigiToRaw.ecalDigiToRaw_cfi.ecaldigitorawzerosup.clone()
24 ecalPacker.Label = 'simEcalDigis'
25 ecalPacker.InstanceEB = 'ebDigis'
26 ecalPacker.InstanceEE = 'eeDigis'
27 ecalPacker.labelEBSRFlags = "simEcalDigis:ebSrFlags"
28 ecalPacker.labelEESRFlags = "simEcalDigis:eeSrFlags"
29 
31 
32 import EventFilter.EcalRawToDigi.EcalUnpackerData_cfi
33 ecalDigis = EventFilter.EcalRawToDigi.EcalUnpackerData_cfi.ecalEBunpacker.clone()
34 ecalDigis.InputLabel = 'rawDataCollector'
35 
36 
39 ecalPreshowerDigis = EventFilter.ESRawToDigi.esRawToDigi_cfi.esRawToDigi.clone()
40 ecalPreshowerDigis.sourceTag = 'rawDataCollector'
41 
43 
44 ecalDigisSequence = cms.Sequence(simEcalTriggerPrimitiveDigis*simEcalDigis*simEcalPreshowerDigis* # Digi
45  simRctDigis* # L1Simulation
46  ecalPacker*esDigiToRaw*rawDataCollector* ecalPreshowerDigis*ecalDigis)
47 
48 ecalRecHitSequence = cms.Sequence(ecalMultiFitUncalibRecHit*ecalDetIdToBeRecovered*ecalRecHit*ecalPreshowerRecHit) # Reconstruction
49 
50 ecalDigisPlusRecHitSequence = cms.Sequence(ecalDigisSequence*ecalRecHitSequence) # Reconstruction
51