Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 pfJetResDQMAnalyzer = DQMEDAnalyzer('PFJetDQMAnalyzer',
0005     InputCollection = cms.InputTag('pfAllElectrons'),
0006     MatchCollection = cms.InputTag('gensource'),
0007     BenchmarkLabel  = cms.string('PFJetResValidation/PFElecVsGenElec'),
0008     deltaRMax = cms.double(0.1),
0009     onlyTwoJets = cms.bool(True),
0010     matchCharge = cms.bool(False),
0011     mode = cms.int32( 1 ),
0012     CreatePFractionHistos = cms.bool(False),
0013     CreateReferenceHistos = cms.bool(True),
0014     CreateEfficiencyHistos = cms.bool(False),
0015     ptMin = cms.double( 0.0 ),
0016     ptMax = cms.double( 999999 ),
0017     etaMin = cms.double(-10),
0018     etaMax = cms.double(10),
0019     phiMin = cms.double(-3.14),
0020     phiMax = cms.double(3.14),
0021 # Histogram Parameters related to pt
0022     #VariablePtBins  = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
0023     VariablePtBins  = cms.vdouble(20,40,60,80,100,150,200,250,300,400,500,750), # must be = to the one in PFClient_cfi if you want to slice the TH2
0024     PtHistoParameter = cms.PSet(
0025       switchOn = cms.bool(True),
0026       nBin = cms.int32(50),
0027       xMin = cms.double(0.0),
0028       xMax = cms.double(100.0)        
0029     ),
0030     DeltaPtHistoParameter = cms.PSet(
0031       switchOn = cms.bool(True),
0032       nBin = cms.int32(100),
0033       xMin = cms.double(-50.0),
0034       xMax = cms.double(50.0)        
0035     ),
0036     DeltaPtOvPtHistoParameter = cms.PSet(
0037       switchOn = cms.bool(True),
0038       BROn = cms.bool(True), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
0039       EROn = cms.bool(True), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
0040       slicingOn = cms.bool(False),
0041       nBin = cms.int32(160), #200
0042       xMin = cms.double(-1.0),
0043       xMax = cms.double(1.0)        
0044     ),
0045 # Histogram Parameters related to Eta                               
0046     EtaHistoParameter = cms.PSet(
0047       switchOn = cms.bool(True),
0048       nBin = cms.int32(100),
0049       xMin = cms.double(-5.0),
0050       xMax = cms.double(5.0)        
0051     ),
0052     DeltaEtaHistoParameter = cms.PSet(
0053       switchOn = cms.bool(True),
0054       nBin = cms.int32(50),
0055       xMin = cms.double(-0.5),
0056       xMax = cms.double(0.5)        
0057     ),
0058 # Histogram Parameters related to Phi                               
0059     PhiHistoParameter = cms.PSet(
0060       switchOn = cms.bool(True),
0061       nBin = cms.int32(100),
0062       xMin = cms.double(-3.1416),
0063       xMax = cms.double(3.1416)        
0064     ),
0065     DeltaPhiHistoParameter = cms.PSet(
0066       switchOn = cms.bool(True),
0067       nBin = cms.int32(50),
0068       xMin = cms.double(-0.5),
0069       xMax = cms.double(0.5)        
0070     ),
0071 # Histogram Parameters related to DeltaR     
0072    DeltaRHistoParameter = cms.PSet(
0073       switchOn = cms.bool(True),
0074       nBin = cms.int32(150), 
0075       xMin = cms.double(0.0),
0076       xMax = cms.double(1.0)        
0077     ),
0078 # Histogram Parameters related to Charge                               
0079     ChargeHistoParameter = cms.PSet(
0080       switchOn = cms.bool(False),
0081       nBin = cms.int32(3),
0082       xMin = cms.double(-1.5),
0083       xMax = cms.double(1.5)        
0084     )
0085 )