CMS 3D CMS Logo

globalhits_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 globalhitsanalyze = DQMEDAnalyzer('GlobalHitsAnalyzer',
5  G4VtxSrc = cms.InputTag("g4SimHits"),
6  G4TrkSrc = cms.InputTag("g4SimHits"),
7  MuonRpcSrc = cms.InputTag("g4SimHits","MuonRPCHits"),
8  PxlBrlHighSrc = cms.InputTag("g4SimHits","TrackerHitsPixelBarrelHighTof"),
9  SiTOBLowSrc = cms.InputTag("g4SimHits","TrackerHitsTOBLowTof"),
10  SiTECHighSrc = cms.InputTag("g4SimHits","TrackerHitsTECHighTof"),
11  PxlFwdHighSrc = cms.InputTag("g4SimHits","TrackerHitsPixelEndcapHighTof"),
12  HCalSrc = cms.InputTag("g4SimHits","HcalHits"),
13  ECalEESrc = cms.InputTag("g4SimHits","EcalHitsEE"),
14  SiTIBHighSrc = cms.InputTag("g4SimHits","TrackerHitsTIBHighTof"),
15  SiTECLowSrc = cms.InputTag("g4SimHits","TrackerHitsTECLowTof"),
16  MuonCscSrc = cms.InputTag("g4SimHits","MuonCSCHits"),
17  SiTIDHighSrc = cms.InputTag("g4SimHits","TrackerHitsTIDHighTof"),
18  Name = cms.untracked.string('GlobalHitsAnalyzer'),
19  Verbosity = cms.untracked.int32(0),
20 
21  PxlFwdLowSrc = cms.InputTag("g4SimHits","TrackerHitsPixelEndcapLowTof"),
22  # as of 090p3 should be g4SimHits. Anything earlier SimG4Object
23  PxlBrlLowSrc = cms.InputTag("g4SimHits","TrackerHitsPixelBarrelLowTof"),
24  SiTIBLowSrc = cms.InputTag("g4SimHits","TrackerHitsTIBLowTof"),
25  SiTOBHighSrc = cms.InputTag("g4SimHits","TrackerHitsTOBHighTof"),
26  # as of 110p2, needs to be 1. Anything ealier should be 0.
27  VtxUnit = cms.untracked.int32(1),
28  ECalESSrc = cms.InputTag("g4SimHits","EcalHitsES"),
29  SiTIDLowSrc = cms.InputTag("g4SimHits","TrackerHitsTIDLowTof"),
30  MuonDtSrc = cms.InputTag("g4SimHits","MuonDTHits"),
31  # 1 assumes cm in SimVertex
32  ProvenanceLookup = cms.PSet(
33  PrintProvenanceInfo = cms.untracked.bool(False),
34  GetAllProvenances = cms.untracked.bool(False)
35  ),
36  # 1 provides basic output
37  # 2 provides output of the fill step + 1
38  # 3 provides output of the store step + 2
39  Frequency = cms.untracked.int32(50),
40  ECalEBSrc = cms.InputTag("g4SimHits","EcalHitsEB"),
41  testNumber = cms.untracked.bool(False),
42 
43  validHepMCevt = cms.untracked.bool(True),
44  validG4VtxContainer = cms.untracked.bool(True),
45  validG4trkContainer = cms.untracked.bool(True),
46  validPxlBrlLow = cms.untracked.bool(True),
47  validPxlBrlHigh = cms.untracked.bool(True),
48  validPxlFwdLow = cms.untracked.bool(True),
49  validPxlFwdHigh = cms.untracked.bool(True),
50  validSiTIBLow = cms.untracked.bool(True),
51  validSiTIBHigh = cms.untracked.bool(True),
52  validSiTOBLow = cms.untracked.bool(True),
53  validSiTOBHigh = cms.untracked.bool(True),
54  validSiTIDLow = cms.untracked.bool(True),
55  validSiTIDHigh = cms.untracked.bool(True),
56  validSiTECLow = cms.untracked.bool(True),
57  validSiTECHigh = cms.untracked.bool(True),
58  validMuonCSC = cms.untracked.bool(True),
59  validMuonDt = cms.untracked.bool(True),
60  validMuonRPC = cms.untracked.bool(True),
61  validEB = cms.untracked.bool(True),
62  validEE = cms.untracked.bool(True),
63  validPresh = cms.untracked.bool(False),
64  validHcal = cms.untracked.bool(True)
65 )
66 
67 
68 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
69 run2_HCAL_2017.toModify(globalhitsanalyze,
70  testNumber = cms.untracked.bool(True)
71 )