File indexing completed on 2024-09-26 05:05:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def V0Monitor(*args, **kwargs):
0004 mod = cms.EDProducer('V0Monitor',
0005 FolderName = cms.string('Tracking/V0Monitoring'),
0006 v0 = cms.InputTag('generalV0Candidates', 'Kshort'),
0007 beamSpot = cms.InputTag('offlineBeamSpot'),
0008 primaryVertex = cms.InputTag('offlinePrimaryVertices'),
0009 lumiScalers = cms.InputTag('scalersRawToDigi'),
0010 forceSCAL = cms.bool(True),
0011 metadata = cms.InputTag('onlineMetaDataDigis'),
0012 pvNDOF = cms.int32(4),
0013 histoPSet = cms.PSet(
0014 lumiPSet = cms.PSet(
0015 nbins = cms.int32(3700),
0016 xmin = cms.double(0),
0017 xmax = cms.double(14000)
0018 ),
0019 massPSet = cms.PSet(
0020 nbins = cms.int32(100),
0021 xmin = cms.double(0.4),
0022 xmax = cms.double(0.6)
0023 ),
0024 ptPSet = cms.PSet(
0025 nbins = cms.int32(100),
0026 xmin = cms.double(0),
0027 xmax = cms.double(50)
0028 ),
0029 etaPSet = cms.PSet(
0030 nbins = cms.int32(60),
0031 xmin = cms.double(-3),
0032 xmax = cms.double(3)
0033 ),
0034 LxyPSet = cms.PSet(
0035 nbins = cms.int32(350),
0036 xmin = cms.double(0),
0037 xmax = cms.double(70)
0038 ),
0039 chi2oNDFPSet = cms.PSet(
0040 nbins = cms.int32(100),
0041 xmin = cms.double(0),
0042 xmax = cms.double(30)
0043 ),
0044 puPSet = cms.PSet(
0045 nbins = cms.int32(100),
0046 xmin = cms.double(-0.5),
0047 xmax = cms.double(99.5)
0048 ),
0049 lsPSet = cms.PSet(
0050 nbins = cms.int32(2000),
0051 xmin = cms.double(0),
0052 xmax = cms.double(2000)
0053 )
0054 ),
0055 genericTriggerEventPSet = cms.PSet(
0056 ReadPrescalesFromFile = cms.bool(False),
0057 andOr = cms.bool(False),
0058 andOrDcs = cms.bool(False),
0059 andOrHlt = cms.bool(False),
0060 andOrL1 = cms.bool(False),
0061 errorReplyDcs = cms.bool(False),
0062 errorReplyHlt = cms.bool(False),
0063 errorReplyL1 = cms.bool(False),
0064 l1BeforeMask = cms.bool(False),
0065 stage2 = cms.bool(False),
0066 dcsInputTag = cms.InputTag('scalersRawToDigi'),
0067 dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0068 hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0069 l1tAlgBlkInputTag = cms.InputTag('gtStage2Digis'),
0070 l1tExtBlkInputTag = cms.InputTag('gtStage2Digis'),
0071 dbLabel = cms.string(''),
0072 hltDBKey = cms.string(''),
0073 dcsPartitions = cms.vint32(),
0074 hltPaths = cms.vstring(),
0075 l1Algorithms = cms.vstring(),
0076 verbosityLevel = cms.uint32(0)
0077 ),
0078 mightGet = cms.optional.untracked.vstring
0079 )
0080 for a in args:
0081 mod.update_(a)
0082 mod.update_(kwargs)
0083 return mod