File indexing completed on 2024-11-23 03:27:58
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TrackToTrackComparisonHists(*args, **kwargs):
0004 mod = cms.EDProducer('TrackToTrackComparisonHists',
0005 requireValidHLTPaths = cms.bool(True),
0006 monitoredTrack = cms.InputTag('hltMergedTracks'),
0007 monitoredBeamSpot = cms.InputTag('hltOnlineBeamSpot'),
0008 monitoredPrimaryVertices = cms.InputTag('hltVerticesPFSelector'),
0009 referenceTrack = cms.InputTag('generalTracks'),
0010 referenceBeamSpot = cms.InputTag('offlineBeamSpot'),
0011 referencePrimaryVertices = cms.InputTag('offlinePrimaryVertices'),
0012 scalers = cms.InputTag('scalersRawToDigi'),
0013 onlineMetaDataDigis = cms.InputTag('onlineMetaDataDigis'),
0014 topDirName = cms.string('HLT/Tracking/ValidationWRTOffline'),
0015 dRmin = cms.double(0.002),
0016 pTCutForPlateau = cms.double(0.9),
0017 dxyCutForPlateau = cms.double(2.5),
0018 dzWRTPvCut = cms.double(1000000),
0019 genericTriggerEventPSet = cms.PSet(
0020 ReadPrescalesFromFile = cms.bool(False),
0021 andOr = cms.bool(False),
0022 andOrDcs = cms.bool(False),
0023 andOrHlt = cms.bool(False),
0024 andOrL1 = cms.bool(False),
0025 errorReplyDcs = cms.bool(False),
0026 errorReplyHlt = cms.bool(False),
0027 errorReplyL1 = cms.bool(False),
0028 l1BeforeMask = cms.bool(False),
0029 stage2 = cms.bool(False),
0030 dcsInputTag = cms.InputTag('scalersRawToDigi'),
0031 dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0032 hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0033 l1tAlgBlkInputTag = cms.InputTag('gtStage2Digis'),
0034 l1tExtBlkInputTag = cms.InputTag('gtStage2Digis'),
0035 dbLabel = cms.string(''),
0036 hltDBKey = cms.string(''),
0037 dcsPartitions = cms.vint32(),
0038 hltPaths = cms.vstring(),
0039 l1Algorithms = cms.vstring(),
0040 verbosityLevel = cms.uint32(0)
0041 ),
0042 histoPSet = cms.PSet(
0043 Eta_rangeMin = cms.double(-2.5),
0044 Eta_rangeMax = cms.double(2.5),
0045 Eta_nbin = cms.uint32(50),
0046 Pt_rangeMin = cms.double(0.1),
0047 Pt_rangeMax = cms.double(100),
0048 Pt_nbin = cms.uint32(1000),
0049 Phi_rangeMin = cms.double(-3.1416),
0050 Phi_rangeMax = cms.double(3.1416),
0051 Phi_nbin = cms.uint32(36),
0052 Dxy_rangeMin = cms.double(-1),
0053 Dxy_rangeMax = cms.double(1),
0054 Dxy_nbin = cms.uint32(300),
0055 Dz_rangeMin = cms.double(-30),
0056 Dz_rangeMax = cms.double(30),
0057 Dz_nbin = cms.uint32(60),
0058 ptRes_rangeMin = cms.double(-0.1),
0059 ptRes_rangeMax = cms.double(0.1),
0060 ptRes_nbin = cms.uint32(100),
0061 phiRes_rangeMin = cms.double(-0.01),
0062 phiRes_rangeMax = cms.double(0.01),
0063 phiRes_nbin = cms.uint32(300),
0064 etaRes_rangeMin = cms.double(-0.01),
0065 etaRes_rangeMax = cms.double(0.01),
0066 etaRes_nbin = cms.uint32(300),
0067 dxyRes_rangeMin = cms.double(-0.05),
0068 dxyRes_rangeMax = cms.double(0.05),
0069 dxyRes_nbin = cms.uint32(500),
0070 dzRes_rangeMin = cms.double(-0.05),
0071 dzRes_rangeMax = cms.double(0.05),
0072 dzRes_nbin = cms.uint32(150),
0073 ls_rangeMin = cms.uint32(0),
0074 ls_rangeMax = cms.uint32(3000),
0075 ls_nbin = cms.uint32(300),
0076 onlinelumi_rangeMin = cms.double(0),
0077 onlinelumi_rangeMax = cms.double(20000),
0078 onlinelumi_nbin = cms.uint32(200),
0079 PU_rangeMin = cms.double(0),
0080 PU_rangeMax = cms.double(120),
0081 PU_nbin = cms.uint32(120)
0082 ),
0083 mightGet = cms.optional.untracked.vstring
0084 )
0085 for a in args:
0086 mod.update_(a)
0087 mod.update_(kwargs)
0088 return mod