CMS 3D CMS Logo

globalrechits_analyze_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 globalrechitsanalyze = DQMEDAnalyzer('GlobalRecHitsAnalyzer',
5  MuDTSrc = cms.InputTag("dt1DRecHits"),
6  SiPxlSrc = cms.InputTag("siPixelRecHits"),
7  # as of 110p2, needs to be 1. Anything ealier should be 0.
8  VtxUnit = cms.untracked.int32(1),
9  associateRecoTracks = cms.bool(False),
10  MuDTSimSrc = cms.InputTag("g4SimHits","MuonDTHits"),
11  # needed for TrackerHitAssociator
12  associatePixel = cms.bool(True),
13  ROUList = cms.vstring('g4SimHitsTrackerHitsTIBLowTof',
14  'g4SimHitsTrackerHitsTIBHighTof',
15  'g4SimHitsTrackerHitsTIDLowTof',
16  'g4SimHitsTrackerHitsTIDHighTof',
17  'g4SimHitsTrackerHitsTOBLowTof',
18  'g4SimHitsTrackerHitsTOBHighTof',
19  'g4SimHitsTrackerHitsTECLowTof',
20  'g4SimHitsTrackerHitsTECHighTof',
21  'g4SimHitsTrackerHitsPixelBarrelLowTof',
22  'g4SimHitsTrackerHitsPixelBarrelHighTof',
23  'g4SimHitsTrackerHitsPixelEndcapLowTof',
24  'g4SimHitsTrackerHitsPixelEndcapHighTof'),
25  ECalEESrc = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
26  MuRPCSimSrc = cms.InputTag("g4SimHits","MuonRPCHits"),
27  SiStripSrc = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
28  HCalSrc = cms.InputTag("g4SimHits","HcalHits"),
29  ECalESSrc = cms.InputTag("ecalPreshowerRecHit","EcalRecHitsES"),
30  hitsProducer = cms.string('g4SimHits'),
31  ECalUncalEESrc = cms.InputTag("ecalWeightUncalibRecHit","EcalUncalibRecHitsEE"),
32  Name = cms.untracked.string('GlobalRecHitsAnalyzer'),
33  Verbosity = cms.untracked.int32(0),
34  pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
35  stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
36 
37  associateStrip = cms.bool(True),
38  MuRPCSrc = cms.InputTag("rpcRecHits"),
39  ECalUncalEBSrc = cms.InputTag("ecalWeightUncalibRecHit","EcalUncalibRecHitsEB"),
40  MuCSCSrc = cms.InputTag("csc2DRecHits"),
41  # 1 assumes cm in SimVertex
42  ProvenanceLookup = cms.PSet(
43  PrintProvenanceInfo = cms.untracked.bool(False),
44  GetAllProvenances = cms.untracked.bool(False)
45  ),
46  # 1 provides basic output
47  # 2 provides output of the fill step + 1
48  # 3 provides output of the store step + 2
49  Frequency = cms.untracked.int32(50),
50  ECalEBSrc = cms.InputTag("ecalRecHit","EcalRecHitsEB")
51 )
52 
53 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
54 premix_stage2.toModify(globalrechitsanalyze,
55  pixelSimLinkSrc = "mixData:PixelDigiSimLink",
56  stripSimLinkSrc = "mixData:StripDigiSimLink",
57 )