test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FastTimerService_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # SCAL (for online luminosity)
4 scalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
5  scalersInputTag = cms.InputTag( "rawDataCollector" )
6 )
7 
8 # LumiProducer and LumiCorrectionSource (for offline luminosity)
9 DBService = cms.Service('DBService')
10 
11 lumiProducer = cms.EDProducer('LumiProducer',
12  connect = cms.string('frontier://LumiProd/CMS_LUMI_PROD'),
13  lumiversion = cms.untracked.string(''),
14  ncacheEntries = cms.untracked.uint32(5),
15 )
16 
17 LumiCorrectionSource = cms.ESSource( "LumiCorrectionSource",
18  connect = cms.string('frontier://LumiCalc/CMS_LUMI_PROD'),
19 )
20 
21 # Pixel clusters
23 siPixelDigis.InputLabel = cms.InputTag('rawDataCollector')
24 
26 
27 # FastTimerService
30 
32 ftsLuminosityFromScalers.name = 'onlineluminosity'
33 ftsLuminosityFromScalers.title = 'online instantaneous luminosity'
34 ftsLuminosityFromScalers.range = 1.6e34
35 
37 ftsPileupFromScalers.name = 'onlinepileup'
38 ftsPileupFromScalers.title = 'online pileup'
39 ftsPileupFromScalers.range = 80
40 
42 ftsLuminosityFromLumiSummary.name = 'offlineluminosity'
43 ftsLuminosityFromLumiSummary.title = 'offline instantaneous luminosity'
44 ftsLuminosityFromLumiSummary.range = 1.6e34
45 
47 ftsPileupFromLumiSummary.name = cms.string('offlinepileup')
48 ftsPileupFromLumiSummary.title = cms.string('offline pileup')
49 ftsPileupFromLumiSummary.range = 80
50 
52 
53 # DQM file saver
54 dqmFileSaver = cms.EDAnalyzer( "DQMFileSaver",
55 # producer = cms.untracked.string('DQM'),
56 # version = cms.untracked.int32(1),
57 # referenceRequireStatus = cms.untracked.int32(100),
58 # runIsComplete = cms.untracked.bool(False),
59 # referenceHandling = cms.untracked.string('all'),
60  convention = cms.untracked.string( "Offline" ),
61  workflow = cms.untracked.string( "/HLT/FastTimerService/All" ),
62  dirName = cms.untracked.string( "." ),
63  saveByRun = cms.untracked.int32(1),
64  saveByLumiSection = cms.untracked.int32(-1),
65  saveByEvent = cms.untracked.int32(-1),
66  saveByTime = cms.untracked.int32(-1),
67  saveByMinute = cms.untracked.int32(-1),
68  saveAtJobEnd = cms.untracked.bool(False),
69  forceRunNumber = cms.untracked.int32(-1),
70 )
71 
72 DQMFileSaverOutput = cms.EndPath(
73  scalersRawToDigi + ftsLuminosityFromScalers + ftsPileupFromScalers +
74  lumiProducer + ftsLuminosityFromLumiSummary + ftsPileupFromLumiSummary +
75  siPixelDigis + siPixelClusters + ftsLuminosityFromPixelClusters +
76  fastTimerServiceClient + dqmFileSaver )