Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def DiElectronVertexValidation(**kwargs):
0004   mod = cms.EDAnalyzer('DiElectronVertexValidation',
0005     gsfTracks = cms.InputTag('electronGsfTracks'),
0006     vertices = cms.InputTag('offlinePrimaryVertices'),
0007     electrons = cms.InputTag('gedGsfElectrons'),
0008     pTThresholds = cms.vdouble(
0009       25,
0010       15
0011     ),
0012     maxSVdist = cms.double(50),
0013     DiMuMassConfig = cms.PSet(
0014       name = cms.string('DiMuMass'),
0015       title = cms.string('M(#mu#mu)'),
0016       yUnits = cms.string('[GeV]'),
0017       NxBins = cms.int32(24),
0018       NyBins = cms.int32(50),
0019       ymin = cms.double(70),
0020       ymax = cms.double(120)
0021     ),
0022     CosPhiConfig = cms.PSet(
0023       name = cms.string('CosPhi'),
0024       title = cms.string('cos(#phi_{xy})'),
0025       yUnits = cms.string(''),
0026       NxBins = cms.int32(50),
0027       NyBins = cms.int32(50),
0028       ymin = cms.double(-1),
0029       ymax = cms.double(1)
0030     ),
0031     CosPhi3DConfig = cms.PSet(
0032       name = cms.string('CosPhi3D'),
0033       title = cms.string('cos(#phi_{3D})'),
0034       yUnits = cms.string(''),
0035       NxBins = cms.int32(50),
0036       NyBins = cms.int32(50),
0037       ymin = cms.double(-1),
0038       ymax = cms.double(1)
0039     ),
0040     VtxProbConfig = cms.PSet(
0041       name = cms.string('VtxProb'),
0042       title = cms.string('Prob(#chi^{2}_{SV})'),
0043       yUnits = cms.string(''),
0044       NxBins = cms.int32(50),
0045       NyBins = cms.int32(50),
0046       ymin = cms.double(0),
0047       ymax = cms.double(1)
0048     ),
0049     VtxDistConfig = cms.PSet(
0050       name = cms.string('VtxDist'),
0051       title = cms.string('d_{xy}(PV,SV)'),
0052       yUnits = cms.string('[#mum]'),
0053       NxBins = cms.int32(50),
0054       NyBins = cms.int32(100),
0055       ymin = cms.double(0),
0056       ymax = cms.double(300)
0057     ),
0058     VtxDist3DConfig = cms.PSet(
0059       name = cms.string('VtxDist3D'),
0060       title = cms.string('d_{3D}(PV,SV)'),
0061       yUnits = cms.string('[#mum]'),
0062       NxBins = cms.int32(50),
0063       NyBins = cms.int32(250),
0064       ymin = cms.double(0),
0065       ymax = cms.double(500)
0066     ),
0067     VtxDistSigConfig = cms.PSet(
0068       name = cms.string('VtxDistSig'),
0069       title = cms.string('d_{xy}(PV,SV)/#sigma_{dxy}(PV,SV)'),
0070       yUnits = cms.string(''),
0071       NxBins = cms.int32(50),
0072       NyBins = cms.int32(100),
0073       ymin = cms.double(0),
0074       ymax = cms.double(5)
0075     ),
0076     VtxDist3DSigConfig = cms.PSet(
0077       name = cms.string('VtxDist3DSig'),
0078       title = cms.string('d_{3D}(PV,SV)/#sigma_{d3D}(PV,SV)'),
0079       yUnits = cms.string(''),
0080       NxBins = cms.int32(50),
0081       NyBins = cms.int32(100),
0082       ymin = cms.double(0),
0083       ymax = cms.double(5)
0084     ),
0085     mightGet = cms.optional.untracked.vstring
0086   )
0087   for k,v in kwargs.items():
0088     setattr(mod, k, v)
0089   return mod