Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from CalibTracker.SiStripESProducers.SiStripGainSimESProducer_cfi import *
0004 from SimGeneral.MixingModule.SiStripSimParameters_cfi import SiStripSimBlock
0005 
0006 stripDigitizer = cms.PSet(
0007     SiStripSimBlock,
0008     accumulatorType = cms.string("SiStripDigitizer"),
0009     hitsProducer = cms.string('g4SimHits'),
0010     makeDigiSimLinks = cms.untracked.bool(True)
0011     )
0012 
0013 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
0014 premix_stage1.toModify(stripDigitizer, makeDigiSimLinks = False)
0015 
0016 # Customize here instead of SiStripSimBlock as the latter is imported
0017 # also to DataMixer configuration, and the original version is needed
0018 # there. Customize before phase2_tracker because this customization
0019 # applies only to phase0 strips, and at the moment it is unclear what
0020 # needs to be done for phase2 tracker in premixing stage2.
0021 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0022 premix_stage2.toModify(stripDigitizer,
0023     Noise = False, # will be added in DataMixer
0024     PreMixingMode = True, #Special mode to save all hit strips
0025     FedAlgorithm = 5, # special ZS mode: accept adc>0
0026     includeAPVSimulation = False  # APV simulation is off for the MixingModule configuration in premix stage2
0027 )
0028 
0029 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0030 phase2_tracker.toModify( stripDigitizer, ROUList = ["g4SimHitsTrackerHitsPixelBarrelLowTof",
0031                                                          "g4SimHitsTrackerHitsPixelEndcapLowTof"]
0032 )
0033