CMS 3D CMS Logo

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