CMS 3D CMS Logo

ctppsDiamondDQMSource_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 ctppsDiamondDQMSource = DQMEDAnalyzer('CTPPSDiamondDQMSource',
5  tagStatus = cms.InputTag("ctppsDiamondRawToDigi", "TimingDiamond"),
6  tagDigi = cms.InputTag("ctppsDiamondRawToDigi", "TimingDiamond"),
7  tagFEDInfo = cms.InputTag("ctppsDiamondRawToDigi", "TimingDiamond"),
8  tagDiamondRecHits = cms.InputTag("ctppsDiamondRecHits"),
9  tagDiamondLocalTracks = cms.InputTag("ctppsDiamondLocalTracks"),
10  tagPixelLocalTracks = cms.InputTag("ctppsPixelLocalTracks"),
11 
12  excludeMultipleHits = cms.bool(True),
13  extractDigiInfo = cms.bool(True),
14 
15  plotOnline = cms.untracked.bool(True),
16  plotOffline= cms.untracked.bool(False),
17 
18 
19  offsetsOOT = cms.VPSet( # cut on the OOT bin for physics hits
20  # 2016, after TS2
21  cms.PSet(
22  validityRange = cms.EventRange("1:min - 292520:max"),
23  centralOOT = cms.int32(1),
24  ),
25  # 2017
26  cms.PSet(
27  validityRange = cms.EventRange("292521:min - 301417:max"),
28  centralOOT = cms.int32(3),
29  ),
30  # 2017, after channel delays corrections
31  cms.PSet(
32  validityRange = cms.EventRange("301418:min - 301517:max"),
33  centralOOT = cms.int32(1),
34  ),
35  # 2017, after channel delays corrections
36  cms.PSet(
37  validityRange = cms.EventRange("301518:min - 9999999:max"),
38  centralOOT = cms.int32(0),
39  ),
40  ),
41 
42  perLSsaving = cms.untracked.bool(False), #driven by DQMServices/Core/python/DQMStore_cfi.py
43 
44  verbosity = cms.untracked.uint32(10),
45 )
46 
47 ctppsDiamondDQMOfflineSource = DQMEDAnalyzer('CTPPSDiamondDQMSource',
48  tagStatus = cms.InputTag("ctppsDiamondRawToDigi", "TimingDiamond"),
49  tagDigi = cms.InputTag("ctppsDiamondRawToDigi", "TimingDiamond"),
50  tagFEDInfo = cms.InputTag("ctppsDiamondRawToDigi", "TimingDiamond"),
51  tagDiamondRecHits = cms.InputTag("ctppsDiamondRecHits"),
52  tagDiamondLocalTracks = cms.InputTag("ctppsDiamondLocalTracks"),
53  tagPixelLocalTracks = cms.InputTag("ctppsPixelLocalTracks"),
54 
55  excludeMultipleHits = cms.bool(True),
56  extractDigiInfo = cms.bool(True),
57 
58  plotOnline = cms.untracked.bool(False),
59  plotOffline= cms.untracked.bool(True),
60 
61  offsetsOOT = cms.VPSet( # cut on the OOT bin for physics hits
62  # 2016, after TS2
63  cms.PSet(
64  validityRange = cms.EventRange("1:min - 292520:max"),
65  centralOOT = cms.int32(1),
66  ),
67  # 2017
68  cms.PSet(
69  validityRange = cms.EventRange("292521:min - 301417:max"),
70  centralOOT = cms.int32(3),
71  ),
72  # 2017, after channel delays corrections
73  cms.PSet(
74  validityRange = cms.EventRange("301418:min - 301517:max"),
75  centralOOT = cms.int32(1),
76  ),
77  # 2017, after channel delays corrections
78  cms.PSet(
79  validityRange = cms.EventRange("301518:min - 9999999:max"),
80  centralOOT = cms.int32(0),
81  ),
82  ),
83 
84  perLSsaving = cms.untracked.bool(False), #driven by DQMServices/Core/python/DQMStore_cfi.py
85 
86  verbosity = cms.untracked.uint32(10),
87 )