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 pfElectronDQMAnalyzer = DQMEDAnalyzer('PFCandidateDQMAnalyzer',
0005     InputCollection = cms.InputTag('pfAllElectrons'),
0006     MatchCollection = cms.InputTag('gensource'),
0007     BenchmarkLabel  = cms.string('PFElectronValidation/PFElecVsGenElec'),
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(True),
0013     ptMin = cms.double( 2.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     slimmedLikeSelection = cms.bool(False),
0020     # Histogram Parameters related to pt
0021     #VariablePtBins  = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
0022     VariablePtBins  = cms.vdouble(0.), # if only one entry PtHistoParameter used
0023     PtHistoParameter = cms.PSet(
0024       switchOn = cms.bool(True),
0025       nBin = cms.int32(60),
0026       xMin = cms.double(0.0),
0027       xMax = cms.double(120.0)        
0028     ),
0029     DeltaPtHistoParameter = cms.PSet(
0030       switchOn = cms.bool(True),
0031       nBin = cms.int32(100),
0032       xMin = cms.double(-30.0),
0033       xMax = cms.double(30.0)        
0034     ),
0035     DeltaPtOvPtHistoParameter = cms.PSet(
0036       switchOn = cms.bool(True),
0037       BROn = cms.bool(False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
0038       EROn = cms.bool(False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
0039       slicingOn = cms.bool(False),
0040       nBin = cms.int32(160), #200
0041       xMin = cms.double(-1.0),
0042       xMax = cms.double(1.0)        
0043     ),
0044 # Histogram Parameters related to Eta                               
0045     EtaHistoParameter = cms.PSet(
0046       switchOn = cms.bool(True),
0047       nBin = cms.int32(100),
0048       xMin = cms.double(-5.0),
0049       xMax = cms.double(5.0)        
0050     ),
0051     DeltaEtaHistoParameter = cms.PSet(
0052       switchOn = cms.bool(True),
0053       nBin = cms.int32(400),
0054       xMin = cms.double(-0.2),
0055       xMax = cms.double(0.2)        
0056     ),
0057 # Histogram Parameters related to Phi                               
0058     PhiHistoParameter = cms.PSet(
0059       switchOn = cms.bool(True),
0060       nBin = cms.int32(100),
0061       xMin = cms.double(-3.1416),
0062       xMax = cms.double(3.1416)        
0063     ),
0064     DeltaPhiHistoParameter = cms.PSet(
0065       switchOn = cms.bool(True),
0066       nBin = cms.int32(400), 
0067       xMin = cms.double(-0.2),
0068       xMax = cms.double(0.2)        
0069     ),
0070     DeltaRHistoParameter = cms.PSet(
0071       switchOn = cms.bool(True),
0072       nBin = cms.int32(150), 
0073       xMin = cms.double(0.0),
0074       xMax = cms.double(1.0)        
0075     ),
0076 # Histogram Parameters related to Charge                               
0077     ChargeHistoParameter = cms.PSet(
0078       switchOn = cms.bool(False),
0079       nBin = cms.int32(3),
0080       xMin = cms.double(-1.5),
0081       xMax = cms.double(1.5)        
0082     )
0083 )