Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 PixelTrackingRecHitsValid = DQMEDAnalyzer('SiPixelTrackingRecHitsValid',
0005                                          src = cms.untracked.string('generalTracks'),
0006                                          runStandalone = cms.bool(False),
0007                                          outputFile = cms.untracked.string(''),
0008                                          #debugNtuple = cms.untracked.string('SiPixelTrackingRecHitsValid_Ntuple.root'),
0009                                          debugNtuple = cms.untracked.string(''),
0010                                          Fitter = cms.string('KFFittingSmoother'),
0011                                          # do we check that the simHit associated with recHit is of the expected particle type ?
0012                                          checkType = cms.bool(True),
0013                                          MTCCtrack = cms.bool(False),
0014                                          TTRHBuilder = cms.string('WithAngleAndTemplate'),
0015                                          # the type of particle that the simHit associated with recHits should be
0016                                          genType = cms.int32(13),
0017                                          associatePixel = cms.bool(True),
0018                                          associateRecoTracks = cms.bool(False),
0019                                          associateStrip = cms.bool(False),
0020                                          pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
0021                                          stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
0022                                          ROUList = cms.vstring('g4SimHitsTrackerHitsPixelBarrelLowTof', 
0023                                                                'g4SimHitsTrackerHitsPixelBarrelHighTof', 
0024                                                                'g4SimHitsTrackerHitsPixelEndcapLowTof', 
0025                                                                'g4SimHitsTrackerHitsPixelEndcapHighTof'),
0026                                          Propagator = cms.string('PropagatorWithMaterial')
0027                                          )
0028 
0029 
0030 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0031 premix_stage2.toModify(PixelTrackingRecHitsValid,
0032     pixelSimLinkSrc = "mixData:PixelDigiSimLink",
0033     stripSimLinkSrc = "mixData:StripDigiSimLink",
0034 )