CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Digi_Longbarrel_cff.py
Go to the documentation of this file.
2 # Mostly copied from Configuration/StandardSequences/python/Digi_cff.py
3 # In the future we will split off parts into a PixelDigi_Phase1_cff
4 #
5 # Full-scale Digitization of the simulated hits
6 # in all CMS subdets : Tracker, ECAL, HCAl, Muon's;
7 # MixingModule (at least in zero-pileup mode) needs
8 # to be included to make Digi's operational, since
9 # it's required for ECAL/HCAL & Muon's
10 # Defined in a separate fragment
11 #
12 # Tracker Digis (Pixel + SiStrips)
13 # returns sequence "trDigi"
14 #
16 # Calorimetry Digis (Ecal + Hcal) - * unsuppressed *
17 # returns sequence "calDigi"
19 # Muon Digis (CSC + DT + RPC)
20 # returns sequence "muonDigi"
21 #
23 #
24 # include TrackingParticle Producer
25 # NOTA BENE: it MUST be run here at the moment, since it depends
26 # of the availability of the CrossingFrame in the Event
27 #
29 #
30 # Phase 1 Modifications
31 #
32 #from SimTracker.SiPixelDigitizer.PixelDigi_cfi import *
33 simSiPixelDigis.MissCalibrate = False
34 simSiPixelDigis.LorentzAngle_DB = False
35 simSiPixelDigis.killModules = False
36 simSiPixelDigis.useDB = False
37 simSiPixelDigis.DeadModules_DB = False
38 simSiPixelDigis.NumPixelBarrel = cms.int32(14)
39 simSiPixelDigis.NumPixelEndcap = cms.int32(3)
40 simSiPixelDigis.AddPixelInefficiency = -1
41 simSiPixelDigis.ThresholdInElectrons_FPix = cms.double(2000.0)
42 simSiPixelDigis.ThresholdInElectrons_BPix = cms.double(2000.0)
43 simSiPixelDigis.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
44 #
45 doAllDigi = cms.Sequence(trDigi+calDigi+muonDigi)
46 pdigi = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*doAllDigi*trackingParticles*addPileupInfo)
47 pdigi.remove(simCastorDigis)