CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelOfflineDQM_client_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #Client:
4 sipixelEDAClient = cms.EDAnalyzer("SiPixelEDAClient",
5  EventOffsetForInit = cms.untracked.int32(10),
6  ActionOnLumiSection = cms.untracked.bool(False),
7  ActionOnRunEnd = cms.untracked.bool(True),
8  HighResolutionOccupancy = cms.untracked.bool(False),
9  NoiseRateCutValue = cms.untracked.double(-1.),
10  NEventsForNoiseCalculation = cms.untracked.int32(100000),
11  UseOfflineXMLFile = cms.untracked.bool(True),
12  Tier0Flag = cms.untracked.bool(True),
13  DoHitEfficiency = cms.untracked.bool(True),
14  isUpgrade = cms.untracked.bool(False)
15 )
16 
17 sipixelPhase1Client = cms.EDAnalyzer("SiPixelEDAClient",
18  EventOffsetForInit = cms.untracked.int32(10),
19  ActionOnLumiSection = cms.untracked.bool(False),
20  ActionOnRunEnd = cms.untracked.bool(True),
21  HighResolutionOccupancy = cms.untracked.bool(False),
22  NoiseRateCutValue = cms.untracked.double(-1.),
23  NEventsForNoiseCalculation = cms.untracked.int32(100000),
24  UseOfflineXMLFile = cms.untracked.bool(True),
25  Tier0Flag = cms.untracked.bool(True),
26  DoHitEfficiency = cms.untracked.bool(True),
27  isUpgrade = cms.untracked.bool(True)
28 )
29 
30 #QualityTester
31 sipixelQTester = cms.EDAnalyzer("QualityTester",
32  qtList = cms.untracked.FileInPath('DQM/SiPixelMonitorClient/test/sipixel_tier0_qualitytest.xml'),
33  prescaleFactor = cms.untracked.int32(1),
34  getQualityTestsFromFile = cms.untracked.bool(True),
35  label = cms.untracked.string("SiPixelDQMQTests"),
36  verboseQT = cms.untracked.bool(False)
37 )
38 
39 #Heavy Ion QualityTester
40 sipixelQTesterHI = sipixelQTester.clone(
41  qtList = cms.untracked.FileInPath('DQM/SiPixelMonitorClient/test/sipixel_tier0_qualitytest_heavyions.xml')
42 )
43 
44 #DataCertification:
45 sipixelDaqInfo = cms.EDAnalyzer("SiPixelDaqInfo")
46 sipixelDcsInfo = cms.EDAnalyzer("SiPixelDcsInfo")
47 sipixelCertification = cms.EDAnalyzer("SiPixelCertification")
48 
49 #Predefined Sequences:
50 PixelOfflineDQMClient = cms.Sequence(sipixelEDAClient)
51 PixelOfflineDQMClientWithDataCertification = cms.Sequence(sipixelQTester+
52  sipixelEDAClient+
53  sipixelDaqInfo+
54  sipixelDcsInfo+
55  sipixelCertification)
56 PixelOfflineDQMClientNoDataCertification = cms.Sequence(sipixelQTester+
57  sipixelEDAClient)
58 
59 PixelOfflineDQMClientWithDataCertificationHI = cms.Sequence(PixelOfflineDQMClientNoDataCertification)
60 PixelOfflineDQMClientWithDataCertificationHI.replace(sipixelQTester,sipixelQTesterHI)
61 PixelOfflinePhase1DQMClient = cms.Sequence(sipixelPhase1Client)