Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 pfMuonDQMAnalyzer = DQMEDAnalyzer('PFMuonDQMAnalyzer',
0005     InputCollection = cms.InputTag('muons'),
0006     MatchCollection = cms.InputTag('gensource'),
0007     BenchmarkLabel  = cms.string('PFMuonValidation/PFMuonVsGenMuon'),
0008     deltaRMax = cms.double(0.2),
0009     matchCharge = cms.bool(True),
0010     mode = cms.int32( 1 ),
0011     CreateReferenceHistos = cms.bool(True),
0012     CreateEfficiencyHistos = cms.bool(False),
0013     ptMin = cms.double( 0.0 ), # since pT_reco seem to have this threshold
0014     ptMax = cms.double( 999999 ),
0015     etaMin = cms.double(-2.5),
0016     etaMax = cms.double(2.5),
0017     phiMin = cms.double(-3.14),
0018     phiMax = cms.double(3.14),
0019     # slimmed muons selection
0020     slimmedLikeSelection = cms.bool(True),
0021     ptBase = cms.double(5.0),
0022     ptNotPF = cms.double(3.0),
0023     # Histogram Parameters related to pt
0024     #VariablePtBins  = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
0025     VariablePtBins  = cms.vdouble(0.), # if only one entry PtHistoParameter used
0026     PtHistoParameter = cms.PSet(
0027       switchOn = cms.bool(True),
0028       nBin = cms.int32(60),
0029       xMin = cms.double(0.0),
0030       xMax = cms.double(120.0)        
0031     ),
0032     DeltaPtHistoParameter = cms.PSet(
0033       switchOn = cms.bool(True),
0034       nBin = cms.int32(100),
0035       xMin = cms.double(-30.0),
0036       xMax = cms.double(30.0)        
0037     ),
0038     DeltaPtOvPtHistoParameter = cms.PSet(
0039       switchOn = cms.bool(True),
0040       BROn = cms.bool(False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
0041       EROn = cms.bool(False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
0042       slicingOn = cms.bool(False),
0043       nBin = cms.int32(160), #200
0044       xMin = cms.double(-1.0),
0045       xMax = cms.double(1.0)        
0046     ),
0047 # Histogram Parameters related to Eta                               
0048     EtaHistoParameter = cms.PSet(
0049       switchOn = cms.bool(True),
0050       nBin = cms.int32(100),
0051       xMin = cms.double(-5.0),
0052       xMax = cms.double(5.0)        
0053     ),
0054     DeltaEtaHistoParameter = cms.PSet(
0055       switchOn = cms.bool(True),
0056       nBin = cms.int32(400),
0057       xMin = cms.double(-0.2),
0058       xMax = cms.double(0.2)        
0059     ),
0060 # Histogram Parameters related to Phi                               
0061     PhiHistoParameter = cms.PSet(
0062       switchOn = cms.bool(True),
0063       nBin = cms.int32(100),
0064       xMin = cms.double(-3.1416),
0065       xMax = cms.double(3.1416)        
0066     ),
0067     DeltaPhiHistoParameter = cms.PSet(
0068       switchOn = cms.bool(True),
0069       nBin = cms.int32(400), 
0070       xMin = cms.double(-0.2),
0071       xMax = cms.double(0.2)        
0072     ),
0073     DeltaRHistoParameter = cms.PSet(
0074       switchOn = cms.bool(True),
0075       nBin = cms.int32(150), 
0076       xMin = cms.double(0.0),
0077       xMax = cms.double(1.0)        
0078     ),
0079 # Histogram Parameters related to Charge                               
0080     ChargeHistoParameter = cms.PSet(
0081       switchOn = cms.bool(False),
0082       nBin = cms.int32(3),
0083       xMin = cms.double(-1.5),
0084       xMax = cms.double(1.5)        
0085     )
0086  )