test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiDMPreMix_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # Full-scale Digitization of the simulated hits
5 # in all CMS subdets : Tracker, ECAL, HCAl, Muon's;
6 # MixingModule (at least in zero-pileup mode) needs
7 # to be included to make Digi's operational, since
8 # it's required for ECAL/HCAL & Muon's
9 # Defined in a separate fragment
10 #
11 # Tracker Digis (Pixel + SiStrips) are now made in the mixing
12 # module, so the old "trDigi" sequence has been taken out.
13 #
14 
15 #for backward compatibility of HepMCProduct
17 
18 # Calorimetry Digis (Ecal + Hcal) - * unsuppressed *
19 # returns sequence "calDigi"
21 # Muon Digis (CSC + DT + RPC)
22 # returns sequence "muonDigi"
23 #
25 
26 # add updating the GEN information by default
28 
29 doAllDigi = cms.Sequence(generatorSmeared*calDigi+muonDigi)
30 pdigi = cms.Sequence(generatorSmeared*fixGenInfo*cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*doAllDigi)
31 pdigi_valid = cms.Sequence(pdigi)
32 # for PreMixing, to first approximation, allow noise in Muon system
33 
34 # remove unnecessary modules from 'pdigi' sequence - run after DataMixing
35 # standard mixing module now makes unsuppressed digis for calorimeter
36 pdigi.remove(simEcalTriggerPrimitiveDigis)
37 pdigi.remove(simEcalDigis) # does zero suppression
38 pdigi.remove(simEcalPreshowerDigis) # does zero suppression
39 pdigi.remove(simHcalDigis)
40 pdigi.remove(simHcalTTPDigis)
41