CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DQMOffline/JetMET/python/jptDQMConfig_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #constants for histograms
00004 nTracksBins = 100
00005 nHitsBins = 40
00006 nLayersBins = 20
00007 phiMax = 3.2
00008 phiBinSize = 0.1
00009 etaMax = 2.5
00010 etaBinSize = 0.1
00011 trackPtMax = 50
00012 trackPtBinSize = 0.5
00013 dzMax = 20
00014 dzBinSize = 0.2
00015 dxyMax = 10
00016 dxyBinSize = 0.2
00017 factorMax = 3.0
00018 factorBinSize = 0.1
00019 etMax = 200
00020 etBinSize = 2
00021 eMax = 200
00022 eBinSize = 2
00023 pMax = 200
00024 pBinSize = 2
00025 ptMax = 200
00026 ptBinSize = 2
00027 pcMax = 200
00028 pcBinSize = 2
00029 massMax = 25
00030 massBinSize = 1
00031 deltaEtaMax = 0.5
00032 deltaEtaBinSize = 0.01
00033 deltaPhiMax = 0.5
00034 deltaPhiBinSize = 0.01
00035 sOverNMax = 50
00036 sOverNBinSize = 0.1
00037 drMax = 1.0
00038 jetConeSize = 0.5 #no point having histograms with DR larger than the jet cone size when out of cone tracks are not used
00039 drBinSize = 0.01
00040 ptFractionBins = 50
00041 n90Bins = 50
00042 fHPDBins = 50
00043 resEMFBins = 50
00044 fRBXBins = 50
00045 #derrived constants
00046 nTracksMax = nTracksBins
00047 nHitsMax = nHitsBins
00048 nLayersMax = nLayersBins
00049 factorBins = int((factorMax-1.0)/factorBinSize)
00050 phiMin = -1.*phiMax
00051 phiBins = int(2*phiMax/phiBinSize)
00052 etaMin = -1.*etaMax
00053 etaBins = int(2*etaMax/etaBinSize)
00054 trackPtBins = int(trackPtMax/trackPtBinSize)
00055 dxyMin = -1.*dxyMax
00056 dxyBins = int(2*dxyMax/dxyBinSize)
00057 dzMin = -1.*dzMax
00058 dzBins = int(2*dzMax/dzBinSize)
00059 etBins = int(etMax/etBinSize)
00060 eBins = int(eMax/eBinSize)
00061 pBins = int(pMax/pBinSize)
00062 ptBins = int(ptMax/ptBinSize)
00063 pcBins = int(pcMax/pcBinSize)
00064 massBins = int(massMax/massBinSize)
00065 deltaEtaMin = -1.*deltaEtaMax
00066 deltaEtaBins = int(2*deltaEtaMax/deltaEtaBinSize)
00067 deltaPhiMin = -1.*deltaPhiMax
00068 deltaPhiBins = int(2*deltaPhiMax/deltaPhiBinSize)
00069 sOverNBins = int(sOverNMax/sOverNBinSize)
00070 drBins = int(drMax/drBinSize)
00071 n90Max = n90Bins
00072 
00073 import RecoJets.JetProducers.JetIDParams_cfi
00074 theJetIDParams = RecoJets.JetProducers.JetIDParams_cfi.JetIDParams.clone()
00075 
00076 #plugin config
00077 jptDQMParameters = cms.PSet(
00078   #Folder in DQM Store to write histograms to
00079   HistogramPath = cms.string('JetMET/Jet/uncJPT'),##JPT
00080   #Whether to dump buffer info and raw data if any error is found
00081   PrintDebugMessages = cms.untracked.bool(False),
00082   #Whether to write the DQM store to a file at the end of the run and the file name
00083   #KH WriteDQMStore = cms.untracked.bool(True), This has to be false by default
00084   WriteDQMStore = cms.untracked.bool(False),
00085   DQMStoreFileName = cms.untracked.string('DQMStore.root'),
00086   
00087   #Jet ID #here not cleaned
00088   n90HitsMin = cms.int32(0),
00089   fHPDMax    = cms.double(1.),
00090   resEMFMin  = cms.double(0.0),
00091   correctedPtThreshold = cms.double(3.0),
00092   JetIDParams = theJetIDParams,
00093   
00094   #Historgram configuration
00095   EHistogramConfig = cms.PSet(
00096     Enabled = cms.bool(True),
00097     NBins = cms.uint32(eBins),
00098     Min = cms.double(0),
00099     Max = cms.double(eMax)
00100   ),
00101   EtHistogramConfig = cms.PSet(
00102     Enabled = cms.bool(True),
00103     NBins = cms.uint32(etBins),
00104     Min = cms.double(0),
00105     Max = cms.double(etMax)
00106   ),
00107   PHistogramConfig = cms.PSet(
00108     Enabled = cms.bool(True),
00109     NBins = cms.uint32(pBins),
00110     Min = cms.double(0),
00111     Max = cms.double(pMax)
00112   ),
00113   MassHistogramConfig = cms.PSet(
00114     Enabled = cms.bool(True),
00115     NBins = cms.uint32(massBins),
00116     Min = cms.double(0),
00117     Max = cms.double(massMax)
00118   ),
00119   PtHistogramConfig = cms.PSet(
00120     Enabled = cms.bool(True),
00121     NBins = cms.uint32(ptBins),
00122     Min = cms.double(0),
00123     Max = cms.double(ptMax)
00124   ),
00125   Pt1HistogramConfig = cms.PSet(
00126     Enabled = cms.bool(True),
00127     NBins = cms.uint32(ptBins),
00128     Min = cms.double(0),
00129     Max = cms.double(ptMax)
00130   ),
00131   Pt2HistogramConfig = cms.PSet(
00132     Enabled = cms.bool(True),
00133     NBins = cms.uint32(ptBins),
00134     Min = cms.double(0),
00135     Max = cms.double(ptMax)
00136   ),
00137   Pt3HistogramConfig = cms.PSet(
00138     Enabled = cms.bool(True),
00139     NBins = cms.uint32(ptBins),
00140     Min = cms.double(0),
00141     Max = cms.double(ptMax)
00142   ),
00143   PxHistogramConfig = cms.PSet(
00144     Enabled = cms.bool(True),
00145     NBins = cms.uint32(pcBins),
00146     Min = cms.double(0),
00147     Max = cms.double(pcMax)
00148   ),
00149   PyHistogramConfig = cms.PSet(
00150     Enabled = cms.bool(True),
00151     NBins = cms.uint32(pcBins),
00152     Min = cms.double(0),
00153     Max = cms.double(pcMax)
00154   ),
00155   PzHistogramConfig = cms.PSet(
00156     Enabled = cms.bool(True),
00157     NBins = cms.uint32(pcBins),
00158     Min = cms.double(0),
00159     Max = cms.double(pcMax)
00160   ),
00161   EtaHistogramConfig = cms.PSet(
00162     Enabled = cms.bool(True),
00163     NBins = cms.uint32(etaBins),
00164     Min = cms.double(etaMin),
00165     Max = cms.double(etaMax)
00166   ),
00167   PhiHistogramConfig = cms.PSet(
00168     Enabled = cms.bool(True),
00169     NBins = cms.uint32(phiBins),
00170     Min = cms.double(phiMin),
00171     Max = cms.double(phiMax)
00172   ),
00173   deltaEtaHistogramConfig = cms.PSet(
00174     Enabled = cms.bool(True),
00175     NBins = cms.uint32(deltaEtaBins),
00176     Min = cms.double(deltaEtaMin),
00177     Max = cms.double(deltaEtaMax)
00178   ),
00179   deltaPhiHistogramConfig = cms.PSet(
00180     Enabled = cms.bool(True),
00181     NBins = cms.uint32(deltaPhiBins),
00182     Min = cms.double(deltaPhiMin),
00183     Max = cms.double(deltaPhiMax)
00184   ),
00185   PhiVsEtaHistogramConfig = cms.PSet(
00186     Enabled = cms.bool(True),
00187     NBins = cms.uint32(phiBins),
00188     Min = cms.double(phiMin),
00189     Max = cms.double(phiMax),
00190     NBinsY = cms.uint32(etaBins),
00191     MinY = cms.double(etaMin),
00192     MaxY = cms.double(etaMax)
00193   ),
00194   N90HitsHistogramConfig = cms.PSet(
00195     Enabled = cms.bool(True),
00196     NBins = cms.uint32(n90Bins),
00197     Min = cms.double(0),
00198     Max = cms.double(n90Max)
00199   ),
00200   fHPDHistogramConfig = cms.PSet(
00201     Enabled = cms.bool(True),
00202     NBins = cms.uint32(fHPDBins),
00203     Min = cms.double(0.0),
00204     Max = cms.double(1.0)
00205   ),
00206   ResEMFHistogramConfig = cms.PSet(
00207     Enabled = cms.bool(True),
00208     NBins = cms.uint32(resEMFBins),
00209     Min = cms.double(0.0),
00210     Max = cms.double(1.0)
00211   ),
00212   fRBXHistogramConfig = cms.PSet(
00213     Enabled = cms.bool(True),
00214     NBins = cms.uint32(fRBXBins),
00215     Min = cms.double(0.0),
00216     Max = cms.double(1.0)
00217   ),
00218   
00219   #Pions
00220   nAllPionsTracksPerJetHistogramConfig = cms.PSet(
00221     Enabled = cms.bool(True),
00222     NBins = cms.uint32(nTracksBins),
00223     Min = cms.double(0),
00224     Max = cms.double(nTracksBins)
00225   ),
00226   AllPionsTrackPtHistogramConfig = cms.PSet(
00227     Enabled = cms.bool(True),
00228     NBins = cms.uint32(trackPtBins),
00229     Min = cms.double(0),
00230     Max = cms.double(trackPtMax)
00231   ),
00232   AllPionsTrackPhiHistogramConfig = cms.PSet(
00233     Enabled = cms.bool(True),
00234     NBins = cms.uint32(phiBins),
00235     Min = cms.double(phiMin),
00236     Max = cms.double(phiMax)
00237   ),
00238   AllPionsTrackEtaHistogramConfig = cms.PSet(
00239     Enabled = cms.bool(True),
00240     NBins = cms.uint32(etaBins),
00241     Min = cms.double(etaMin),
00242     Max = cms.double(etaMax)
00243   ),
00244   AllPionsTrackDzHistogramConfig = cms.PSet(
00245     Enabled = cms.bool(True),
00246     NBins = cms.uint32(dzBins),
00247     Min = cms.double(dzMin),
00248     Max = cms.double(dzMax)
00249   ),
00250   AllPionsTrackDxyHistogramConfig = cms.PSet(
00251     Enabled = cms.bool(True),
00252     NBins = cms.uint32(dxyBins),
00253     Min = cms.double(dxyMin),
00254     Max = cms.double(dxyMax)
00255   ),
00256   AllPionsTrackNHitsHistogramConfig = cms.PSet(
00257     Enabled = cms.bool(True),
00258     NBins = cms.uint32(nHitsBins),
00259     Min = cms.double(0), 
00260     Max = cms.double(nHitsMax)
00261   ),
00262   AllPionsTrackNLayersHistogramConfig = cms.PSet(
00263     Enabled = cms.bool(True),
00264     NBins = cms.uint32(nLayersBins),
00265     Min = cms.double(0), 
00266     Max = cms.double(nLayersMax)
00267   ),
00268   AllPionsTrackPtVsEtaHistogramConfig = cms.PSet(
00269     Enabled = cms.bool(True),
00270     NBins = cms.uint32(etaBins),
00271     Min = cms.double(etaMin),
00272     Max = cms.double(etaMax)
00273   ),
00274   #Pions In of cone at calo, in cone at vertex
00275   nInCaloInVertexPionsTracksPerJetHistogramConfig = cms.PSet(
00276     Enabled = cms.bool(True),
00277     NBins = cms.uint32(nTracksBins),
00278     Min = cms.double(0),
00279     Max = cms.double(nTracksBins)
00280   ),
00281   InCaloInVertexPionsTrackPtHistogramConfig = cms.PSet(
00282     Enabled = cms.bool(True),
00283     NBins = cms.uint32(trackPtBins),
00284     Min = cms.double(0),
00285     Max = cms.double(trackPtMax)
00286   ),
00287   InCaloInVertexPionsTrackPhiHistogramConfig = cms.PSet(
00288     Enabled = cms.bool(True),
00289     NBins = cms.uint32(phiBins),
00290     Min = cms.double(phiMin),
00291     Max = cms.double(phiMax)
00292   ),
00293   InCaloInVertexPionsTrackEtaHistogramConfig = cms.PSet(
00294     Enabled = cms.bool(True),
00295     NBins = cms.uint32(etaBins),
00296     Min = cms.double(etaMin),
00297     Max = cms.double(etaMax)
00298   ),
00299   InCaloInVertexPionsTrackDzHistogramConfig = cms.PSet(
00300     Enabled = cms.bool(True),
00301     NBins = cms.uint32(dzBins),
00302     Min = cms.double(dzMin),
00303     Max = cms.double(dzMax)
00304   ),
00305   InCaloInVertexPionsTrackDxyHistogramConfig = cms.PSet(
00306     Enabled = cms.bool(True),
00307     NBins = cms.uint32(dxyBins),
00308     Min = cms.double(dxyMin),
00309     Max = cms.double(dxyMax)
00310   ),
00311   InCaloInVertexPionsTrackNHitsHistogramConfig = cms.PSet(
00312     Enabled = cms.bool(True),
00313     NBins = cms.uint32(nHitsBins),
00314     Min = cms.double(0), 
00315     Max = cms.double(nHitsMax)
00316   ),
00317   InCaloInVertexPionsTrackNLayersHistogramConfig = cms.PSet(
00318     Enabled = cms.bool(True),
00319     NBins = cms.uint32(nLayersBins),
00320     Min = cms.double(0), 
00321     Max = cms.double(nLayersMax)
00322   ),
00323   InCaloInVertexPionsTrackPtVsEtaHistogramConfig = cms.PSet(
00324     Enabled = cms.bool(True),
00325     NBins = cms.uint32(etaBins),
00326     Min = cms.double(etaMin),
00327     Max = cms.double(etaMax)
00328   ),
00329   #Pions In of cone at calo, out cone at vertex
00330   nInCaloOutVertexPionsTracksPerJetHistogramConfig = cms.PSet(
00331     Enabled = cms.bool(True),
00332     NBins = cms.uint32(nTracksBins),
00333     Min = cms.double(0),
00334     Max = cms.double(nTracksBins)
00335   ),
00336   InCaloOutVertexPionsTrackPtHistogramConfig = cms.PSet(
00337     Enabled = cms.bool(True),
00338     NBins = cms.uint32(trackPtBins),
00339     Min = cms.double(0),
00340     Max = cms.double(trackPtMax)
00341   ),
00342   InCaloOutVertexPionsTrackPhiHistogramConfig = cms.PSet(
00343     Enabled = cms.bool(True),
00344     NBins = cms.uint32(phiBins),
00345     Min = cms.double(phiMin),
00346     Max = cms.double(phiMax)
00347   ),
00348   InCaloOutVertexPionsTrackEtaHistogramConfig = cms.PSet(
00349     Enabled = cms.bool(True),
00350     NBins = cms.uint32(etaBins),
00351     Min = cms.double(etaMin),
00352     Max = cms.double(etaMax)
00353   ),
00354   InCaloOutVertexPionsTrackDzHistogramConfig = cms.PSet(
00355     Enabled = cms.bool(True),
00356     NBins = cms.uint32(dzBins),
00357     Min = cms.double(dzMin),
00358     Max = cms.double(dzMax)
00359   ),
00360   InCaloOutVertexPionsTrackDxyHistogramConfig = cms.PSet(
00361     Enabled = cms.bool(True),
00362     NBins = cms.uint32(dxyBins),
00363     Min = cms.double(dxyMin),
00364     Max = cms.double(dxyMax)
00365   ),
00366   InCaloOutVertexPionsTrackNHitsHistogramConfig = cms.PSet(
00367     Enabled = cms.bool(True),
00368     NBins = cms.uint32(nHitsBins),
00369     Min = cms.double(0), 
00370     Max = cms.double(nHitsMax)
00371   ),
00372   InCaloOutVertexPionsTrackNLayersHistogramConfig = cms.PSet(
00373     Enabled = cms.bool(True),
00374     NBins = cms.uint32(nLayersBins),
00375     Min = cms.double(0), 
00376     Max = cms.double(nLayersMax)
00377   ),
00378   InCaloOutVertexPionsTrackPtVsEtaHistogramConfig = cms.PSet(
00379     Enabled = cms.bool(True),
00380     NBins = cms.uint32(etaBins),
00381     Min = cms.double(etaMin),
00382     Max = cms.double(etaMax)
00383   ),
00384   #Pions Out of cone at calo, in cone at vertex
00385   nOutCaloInVertexPionsTracksPerJetHistogramConfig = cms.PSet(
00386     Enabled = cms.bool(True),
00387     NBins = cms.uint32(nTracksBins),
00388     Min = cms.double(0),
00389     Max = cms.double(nTracksBins)
00390   ),
00391   OutCaloInVertexPionsTrackPtHistogramConfig = cms.PSet(
00392     Enabled = cms.bool(True),
00393     NBins = cms.uint32(trackPtBins),
00394     Min = cms.double(0),
00395     Max = cms.double(trackPtMax)
00396   ),
00397   OutCaloInVertexPionsTrackPhiHistogramConfig = cms.PSet(
00398     Enabled = cms.bool(True),
00399     NBins = cms.uint32(phiBins),
00400     Min = cms.double(phiMin),
00401     Max = cms.double(phiMax)
00402   ),
00403   OutCaloInVertexPionsTrackEtaHistogramConfig = cms.PSet(
00404     Enabled = cms.bool(True),
00405     NBins = cms.uint32(etaBins),
00406     Min = cms.double(etaMin),
00407     Max = cms.double(etaMax)
00408   ),
00409   OutCaloInVertexPionsTrackDzHistogramConfig = cms.PSet(
00410     Enabled = cms.bool(True),
00411     NBins = cms.uint32(dzBins),
00412     Min = cms.double(dzMin),
00413     Max = cms.double(dzMax)
00414   ),
00415   OutCaloInVertexPionsTrackDxyHistogramConfig = cms.PSet(
00416     Enabled = cms.bool(True),
00417     NBins = cms.uint32(dxyBins),
00418     Min = cms.double(dxyMin),
00419     Max = cms.double(dxyMax)
00420   ),
00421   OutCaloInVertexPionsTrackNHitsHistogramConfig = cms.PSet(
00422     Enabled = cms.bool(True),
00423     NBins = cms.uint32(nHitsBins),
00424     Min = cms.double(0), 
00425     Max = cms.double(nHitsMax)
00426   ),
00427   OutCaloInVertexPionsTrackNLayersHistogramConfig = cms.PSet(
00428     Enabled = cms.bool(True),
00429     NBins = cms.uint32(nLayersBins),
00430     Min = cms.double(0), 
00431     Max = cms.double(nLayersMax)
00432   ),
00433   OutCaloInVertexPionsTrackPtVsEtaHistogramConfig = cms.PSet(
00434     Enabled = cms.bool(True),
00435     NBins = cms.uint32(etaBins),
00436     Min = cms.double(etaMin),
00437     Max = cms.double(etaMax)
00438   ),
00439   
00440   #Muons
00441   nAllMuonsTracksPerJetHistogramConfig = cms.PSet(
00442     Enabled = cms.bool(True),
00443   #  NBins = cms.uint32(nTracksBins),
00444     NBins = cms.uint32(10),
00445     Min = cms.double(0),
00446   #  Max = cms.double(nTracksBins)
00447     Max = cms.double(10)
00448   ),
00449   AllMuonsTrackPtHistogramConfig = cms.PSet(
00450     Enabled = cms.bool(True),
00451     NBins = cms.uint32(trackPtBins),
00452     Min = cms.double(0),
00453     Max = cms.double(trackPtMax)
00454   ),
00455   AllMuonsTrackPhiHistogramConfig = cms.PSet(
00456     Enabled = cms.bool(True),
00457     NBins = cms.uint32(phiBins),
00458     Min = cms.double(phiMin),
00459     Max = cms.double(phiMax)
00460   ),
00461   AllMuonsTrackEtaHistogramConfig = cms.PSet(
00462     Enabled = cms.bool(True),
00463     NBins = cms.uint32(etaBins),
00464     Min = cms.double(etaMin),
00465     Max = cms.double(etaMax)
00466   ),
00467   AllMuonsTrackDzHistogramConfig = cms.PSet(
00468     Enabled = cms.bool(True),
00469     NBins = cms.uint32(dzBins),
00470     Min = cms.double(dzMin),
00471     Max = cms.double(dzMax)
00472   ),
00473   AllMuonsTrackDxyHistogramConfig = cms.PSet(
00474     Enabled = cms.bool(True),
00475     NBins = cms.uint32(dxyBins),
00476     Min = cms.double(dxyMin),
00477     Max = cms.double(dxyMax)
00478   ),
00479   AllMuonsTrackNHitsHistogramConfig = cms.PSet(
00480     Enabled = cms.bool(True),
00481     NBins = cms.uint32(nHitsBins),
00482     Min = cms.double(0), 
00483     Max = cms.double(nHitsMax)
00484   ),
00485   AllMuonsTrackNLayersHistogramConfig = cms.PSet(
00486     Enabled = cms.bool(True),
00487     NBins = cms.uint32(nLayersBins),
00488     Min = cms.double(0), 
00489     Max = cms.double(nLayersMax)
00490   ),
00491   AllMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00492     Enabled = cms.bool(True),
00493     NBins = cms.uint32(etaBins),
00494     Min = cms.double(etaMin),
00495     Max = cms.double(etaMax)
00496   ),
00497   #Muons In of cone at calo, in cone at vertex
00498   nInCaloInVertexMuonsTracksPerJetHistogramConfig = cms.PSet(
00499     Enabled = cms.bool(True),
00500   #  NBins = cms.uint32(nTracksBins),
00501     NBins = cms.uint32(10),
00502     Min = cms.double(0),
00503   #  Max = cms.double(nTracksBins)
00504     Max = cms.double(10)
00505   ),
00506   InCaloInVertexMuonsTrackPtHistogramConfig = cms.PSet(
00507     Enabled = cms.bool(True),
00508     NBins = cms.uint32(trackPtBins),
00509     Min = cms.double(0),
00510     Max = cms.double(trackPtMax)
00511   ),
00512   InCaloInVertexMuonsTrackPhiHistogramConfig = cms.PSet(
00513     Enabled = cms.bool(True),
00514     NBins = cms.uint32(phiBins),
00515     Min = cms.double(phiMin),
00516     Max = cms.double(phiMax)
00517   ),
00518   
00519   InCaloInVertexMuonsTrackEtaHistogramConfig = cms.PSet(
00520     Enabled = cms.bool(True),
00521     NBins = cms.uint32(etaBins),
00522     Min = cms.double(etaMin),
00523     Max = cms.double(etaMax)
00524   ),
00525   InCaloInVertexMuonsTrackDzHistogramConfig = cms.PSet(
00526     Enabled = cms.bool(True),
00527     NBins = cms.uint32(dzBins),
00528     Min = cms.double(dzMin),
00529     Max = cms.double(dzMax)
00530   ),
00531   InCaloInVertexMuonsTrackDxyHistogramConfig = cms.PSet(
00532     Enabled = cms.bool(True),
00533     NBins = cms.uint32(dxyBins),
00534     Min = cms.double(dxyMin),
00535     Max = cms.double(dxyMax)
00536   ),
00537   InCaloInVertexMuonsTrackNHitsHistogramConfig = cms.PSet(
00538     Enabled = cms.bool(True),
00539     NBins = cms.uint32(nHitsBins),
00540     Min = cms.double(0), 
00541     Max = cms.double(nHitsMax)
00542   ),
00543   InCaloInVertexMuonsTrackNLayersHistogramConfig = cms.PSet(
00544     Enabled = cms.bool(True),
00545     NBins = cms.uint32(nLayersBins),
00546     Min = cms.double(0), 
00547     Max = cms.double(nLayersMax)
00548   ),
00549   InCaloInVertexMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00550     Enabled = cms.bool(True),
00551     NBins = cms.uint32(etaBins),
00552     Min = cms.double(etaMin),
00553     Max = cms.double(etaMax)
00554   ),
00555   #Muons In of cone at calo, out cone at vertex
00556   nInCaloOutVertexMuonsTracksPerJetHistogramConfig = cms.PSet(
00557     Enabled = cms.bool(True),
00558   #  NBins = cms.uint32(nTracksBins),
00559     NBins = cms.uint32(10),
00560     Min = cms.double(0),
00561   #  Max = cms.double(nTracksBins)
00562     Max = cms.double(10)
00563   ),
00564   InCaloOutVertexMuonsTrackPtHistogramConfig = cms.PSet(
00565     Enabled = cms.bool(True),
00566     NBins = cms.uint32(trackPtBins),
00567     Min = cms.double(0),
00568     Max = cms.double(trackPtMax)
00569   ),
00570   InCaloOutVertexMuonsTrackPhiHistogramConfig = cms.PSet(
00571     Enabled = cms.bool(True),
00572     NBins = cms.uint32(phiBins),
00573     Min = cms.double(phiMin),
00574     Max = cms.double(phiMax)
00575   ),
00576   InCaloOutVertexMuonsTrackEtaHistogramConfig = cms.PSet(
00577     Enabled = cms.bool(True),
00578     NBins = cms.uint32(etaBins),
00579     Min = cms.double(etaMin),
00580     Max = cms.double(etaMax)
00581   ),
00582   InCaloOutVertexMuonsTrackDzHistogramConfig = cms.PSet(
00583     Enabled = cms.bool(True),
00584     NBins = cms.uint32(dzBins),
00585     Min = cms.double(dzMin),
00586     Max = cms.double(dzMax)
00587   ),
00588   InCaloOutVertexMuonsTrackDxyHistogramConfig = cms.PSet(
00589     Enabled = cms.bool(True),
00590     NBins = cms.uint32(dxyBins),
00591     Min = cms.double(dxyMin),
00592     Max = cms.double(dxyMax)
00593   ),
00594   InCaloOutVertexMuonsTrackNHitsHistogramConfig = cms.PSet(
00595     Enabled = cms.bool(True),
00596     NBins = cms.uint32(nHitsBins),
00597     Min = cms.double(0), 
00598     Max = cms.double(nHitsMax)
00599   ),
00600   InCaloOutVertexMuonsTrackNLayersHistogramConfig = cms.PSet(
00601     Enabled = cms.bool(True),
00602     NBins = cms.uint32(nLayersBins),
00603     Min = cms.double(0), 
00604     Max = cms.double(nLayersMax)
00605   ),
00606   InCaloOutVertexMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00607     Enabled = cms.bool(True),
00608     NBins = cms.uint32(etaBins),
00609     Min = cms.double(etaMin),
00610     Max = cms.double(etaMax)
00611   ),
00612   #Muons Out of cone at calo, in cone at vertex
00613   nOutCaloInVertexMuonsTracksPerJetHistogramConfig = cms.PSet(
00614     Enabled = cms.bool(True),
00615   #  NBins = cms.uint32(nTracksBins),
00616     NBins = cms.uint32(10),
00617     Min = cms.double(0),
00618   #  Max = cms.double(nTracksBins)
00619     Max = cms.double(10)
00620   ),
00621   OutCaloInVertexMuonsTrackPtHistogramConfig = cms.PSet(
00622     Enabled = cms.bool(True),
00623     NBins = cms.uint32(trackPtBins),
00624     Min = cms.double(0),
00625     Max = cms.double(trackPtMax)
00626   ),
00627   OutCaloInVertexMuonsTrackPhiHistogramConfig = cms.PSet(
00628     Enabled = cms.bool(True),
00629     NBins = cms.uint32(phiBins),
00630     Min = cms.double(phiMin),
00631     Max = cms.double(phiMax)
00632   ),
00633   OutCaloInVertexMuonsTrackEtaHistogramConfig = cms.PSet(
00634     Enabled = cms.bool(True),
00635     NBins = cms.uint32(etaBins),
00636     Min = cms.double(etaMin),
00637     Max = cms.double(etaMax)
00638   ),
00639   OutCaloInVertexMuonsTrackDzHistogramConfig = cms.PSet(
00640     Enabled = cms.bool(True),
00641     NBins = cms.uint32(dzBins),
00642     Min = cms.double(dzMin),
00643     Max = cms.double(dzMax)
00644   ),
00645   OutCaloInVertexMuonsTrackDxyHistogramConfig = cms.PSet(
00646     Enabled = cms.bool(True),
00647     NBins = cms.uint32(dxyBins),
00648     Min = cms.double(dxyMin),
00649     Max = cms.double(dxyMax)
00650   ),
00651   OutCaloInVertexMuonsTrackNHitsHistogramConfig = cms.PSet(
00652     Enabled = cms.bool(True),
00653     NBins = cms.uint32(nHitsBins),
00654     Min = cms.double(0), 
00655     Max = cms.double(nHitsMax)
00656   ),
00657   OutCaloInVertexMuonsTrackNLayersHistogramConfig = cms.PSet(
00658     Enabled = cms.bool(True),
00659     NBins = cms.uint32(nLayersBins),
00660     Min = cms.double(0), 
00661     Max = cms.double(nLayersMax)
00662   ),
00663   OutCaloInVertexMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00664     Enabled = cms.bool(True),
00665     NBins = cms.uint32(etaBins),
00666     Min = cms.double(etaMin),
00667     Max = cms.double(etaMax)
00668   ),
00669   
00670   #Electrons
00671   nAllElectronsTracksPerJetHistogramConfig = cms.PSet(
00672     Enabled = cms.bool(True),
00673    # NBins = cms.uint32(nTracksBins), 
00674     NBins = cms.uint32(10),
00675     Min = cms.double(0),
00676    # Max = cms.double(nTracksBins)
00677     Max = cms.double(10)
00678   ),
00679   AllElectronsTrackPtHistogramConfig = cms.PSet(
00680     Enabled = cms.bool(True),
00681     NBins = cms.uint32(trackPtBins),
00682     Min = cms.double(0),
00683     Max = cms.double(trackPtMax)
00684   ),
00685   AllElectronsTrackPhiHistogramConfig = cms.PSet(
00686     Enabled = cms.bool(True),
00687     NBins = cms.uint32(phiBins),
00688     Min = cms.double(phiMin),
00689     Max = cms.double(phiMax)
00690   ),
00691   AllElectronsTrackEtaHistogramConfig = cms.PSet(
00692     Enabled = cms.bool(True),
00693     NBins = cms.uint32(etaBins),
00694     Min = cms.double(etaMin),
00695     Max = cms.double(etaMax)
00696   ),
00697   AllElectronsTrackDzHistogramConfig = cms.PSet(
00698     Enabled = cms.bool(True),
00699     NBins = cms.uint32(dzBins),
00700     Min = cms.double(dzMin),
00701     Max = cms.double(dzMax)
00702   ),
00703   AllElectronsTrackDxyHistogramConfig = cms.PSet(
00704     Enabled = cms.bool(True),
00705     NBins = cms.uint32(dxyBins),
00706     Min = cms.double(dxyMin),
00707     Max = cms.double(dxyMax)
00708   ),
00709   AllElectronsTrackNHitsHistogramConfig = cms.PSet(
00710     Enabled = cms.bool(True),
00711     NBins = cms.uint32(nHitsBins),
00712     Min = cms.double(0), 
00713     Max = cms.double(nHitsMax)
00714   ),
00715   AllElectronsTrackNLayersHistogramConfig = cms.PSet(
00716     Enabled = cms.bool(True),
00717     NBins = cms.uint32(nLayersBins),
00718     Min = cms.double(0), 
00719     Max = cms.double(nLayersMax)
00720   ),
00721   AllElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00722     Enabled = cms.bool(True),
00723     NBins = cms.uint32(etaBins),
00724     Min = cms.double(etaMin),
00725     Max = cms.double(etaMax)
00726   ),
00727   #Electrons In of cone at calo, in cone at vertex
00728   nInCaloInVertexElectronsTracksPerJetHistogramConfig = cms.PSet(
00729     Enabled = cms.bool(True),
00730   #  NBins = cms.uint32(nTracksBins),
00731     NBins = cms.uint32(10),
00732     Min = cms.double(0),
00733   #  Max = cms.double(nTracksBins)
00734     Max = cms.double(10)
00735   ),
00736   InCaloInVertexElectronsTrackPtHistogramConfig = cms.PSet(
00737     Enabled = cms.bool(True),
00738     NBins = cms.uint32(trackPtBins),
00739     Min = cms.double(0),
00740     Max = cms.double(trackPtMax)
00741   ),
00742   InCaloInVertexElectronsTrackPhiHistogramConfig = cms.PSet(
00743     Enabled = cms.bool(True),
00744     NBins = cms.uint32(phiBins),
00745     Min = cms.double(phiMin),
00746     Max = cms.double(phiMax)
00747   ),
00748   InCaloInVertexElectronsTrackEtaHistogramConfig = cms.PSet(
00749     Enabled = cms.bool(True),
00750     NBins = cms.uint32(etaBins),
00751     Min = cms.double(etaMin),
00752     Max = cms.double(etaMax)
00753   ),
00754   InCaloInVertexElectronsTrackDzHistogramConfig = cms.PSet(
00755     Enabled = cms.bool(True),
00756     NBins = cms.uint32(dzBins),
00757     Min = cms.double(dzMin),
00758     Max = cms.double(dzMax)
00759   ),
00760   InCaloInVertexElectronsTrackDxyHistogramConfig = cms.PSet(
00761     Enabled = cms.bool(True),
00762     NBins = cms.uint32(dxyBins),
00763     Min = cms.double(dxyMin),
00764     Max = cms.double(dxyMax)
00765   ),
00766   InCaloInVertexElectronsTrackNHitsHistogramConfig = cms.PSet(
00767     Enabled = cms.bool(True),
00768     NBins = cms.uint32(nHitsBins),
00769     Min = cms.double(0), 
00770     Max = cms.double(nHitsMax)
00771   ),
00772   InCaloInVertexElectronsTrackNLayersHistogramConfig = cms.PSet(
00773     Enabled = cms.bool(True),
00774     NBins = cms.uint32(nLayersBins),
00775     Min = cms.double(0), 
00776     Max = cms.double(nLayersMax)
00777   ),
00778   InCaloInVertexElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00779     Enabled = cms.bool(True),
00780     NBins = cms.uint32(etaBins),
00781     Min = cms.double(etaMin),
00782     Max = cms.double(etaMax)
00783   ),
00784   #Electrons In of cone at calo, out cone at vertex
00785   nInCaloOutVertexElectronsTracksPerJetHistogramConfig = cms.PSet(
00786     Enabled = cms.bool(True),
00787   #  NBins = cms.uint32(nTracksBins),
00788     NBins = cms.uint32(10),
00789     Min = cms.double(0),
00790   #  Max = cms.double(nTracksBins)
00791     Max = cms.double(10)
00792   ),
00793   InCaloOutVertexElectronsTrackPtHistogramConfig = cms.PSet(
00794     Enabled = cms.bool(True),
00795     NBins = cms.uint32(trackPtBins),
00796     Min = cms.double(0),
00797     Max = cms.double(trackPtMax)
00798   ),
00799   InCaloOutVertexElectronsTrackPhiHistogramConfig = cms.PSet(
00800     Enabled = cms.bool(True),
00801     NBins = cms.uint32(phiBins),
00802     Min = cms.double(phiMin),
00803     Max = cms.double(phiMax)
00804   ),
00805   InCaloOutVertexElectronsTrackEtaHistogramConfig = cms.PSet(
00806     Enabled = cms.bool(True),
00807     NBins = cms.uint32(etaBins),
00808     Min = cms.double(etaMin),
00809     Max = cms.double(etaMax)
00810   ),
00811   InCaloOutVertexElectronsTrackDzHistogramConfig = cms.PSet(
00812     Enabled = cms.bool(True),
00813     NBins = cms.uint32(dzBins),
00814     Min = cms.double(dzMin),
00815     Max = cms.double(dzMax)
00816   ),
00817   InCaloOutVertexElectronsTrackDxyHistogramConfig = cms.PSet(
00818     Enabled = cms.bool(True),
00819     NBins = cms.uint32(dxyBins),
00820     Min = cms.double(dxyMin),
00821     Max = cms.double(dxyMax)
00822   ),
00823   InCaloOutVertexElectronsTrackNHitsHistogramConfig = cms.PSet(
00824     Enabled = cms.bool(True),
00825     NBins = cms.uint32(nHitsBins),
00826     Min = cms.double(0), 
00827     Max = cms.double(nHitsMax)
00828   ),
00829   InCaloOutVertexElectronsTrackNLayersHistogramConfig = cms.PSet(
00830     Enabled = cms.bool(True),
00831     NBins = cms.uint32(nLayersBins),
00832     Min = cms.double(0), 
00833     Max = cms.double(nLayersMax)
00834   ),
00835   InCaloOutVertexElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00836     Enabled = cms.bool(True),
00837     NBins = cms.uint32(etaBins),
00838     Min = cms.double(etaMin),
00839     Max = cms.double(etaMax)
00840   ),
00841   #Electrons Out of cone at calo, in cone at vertex
00842   nOutCaloInVertexElectronsTracksPerJetHistogramConfig = cms.PSet(
00843     Enabled = cms.bool(True),
00844   #  NBins = cms.uint32(nTracksBins),
00845     NBins = cms.uint32(10),
00846     Min = cms.double(0),
00847   #  Max = cms.double(nTracksBins)
00848     Max = cms.double(10)
00849   ),
00850   OutCaloInVertexElectronsTrackPtHistogramConfig = cms.PSet(
00851     Enabled = cms.bool(True),
00852     NBins = cms.uint32(trackPtBins),
00853     Min = cms.double(0),
00854     Max = cms.double(trackPtMax)
00855   ),
00856   OutCaloInVertexElectronsTrackPhiHistogramConfig = cms.PSet(
00857     Enabled = cms.bool(True),
00858     NBins = cms.uint32(phiBins),
00859     Min = cms.double(phiMin),
00860     Max = cms.double(phiMax)
00861   ),
00862   OutCaloInVertexElectronsTrackEtaHistogramConfig = cms.PSet(
00863     Enabled = cms.bool(True),
00864     NBins = cms.uint32(etaBins),
00865     Min = cms.double(etaMin),
00866     Max = cms.double(etaMax)
00867   ),
00868   OutCaloInVertexElectronsTrackDzHistogramConfig = cms.PSet(
00869     Enabled = cms.bool(True),
00870     NBins = cms.uint32(dzBins),
00871     Min = cms.double(dzMin),
00872     Max = cms.double(dzMax)
00873   ),
00874   OutCaloInVertexElectronsTrackDxyHistogramConfig = cms.PSet(
00875     Enabled = cms.bool(True),
00876     NBins = cms.uint32(dxyBins),
00877     Min = cms.double(dxyMin),
00878     Max = cms.double(dxyMax)
00879   ),
00880   OutCaloInVertexElectronsTrackNHitsHistogramConfig = cms.PSet(
00881     Enabled = cms.bool(True),
00882     NBins = cms.uint32(nHitsBins),
00883     Min = cms.double(0), 
00884     Max = cms.double(nHitsMax)
00885   ),
00886   OutCaloInVertexElectronsTrackNLayersHistogramConfig = cms.PSet(
00887     Enabled = cms.bool(True),
00888     NBins = cms.uint32(nLayersBins),
00889     Min = cms.double(0), 
00890     Max = cms.double(nLayersMax)
00891   ),
00892   OutCaloInVertexElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00893     Enabled = cms.bool(True),
00894     NBins = cms.uint32(etaBins),
00895     Min = cms.double(etaMin),
00896     Max = cms.double(etaMax)
00897   ),
00898   
00899   #Jet level histograms
00900   nTracksHistogramConfig = cms.PSet(
00901     Enabled = cms.bool(True),
00902     NBins = cms.uint32(nTracksBins),
00903     Min = cms.double(0),
00904     Max = cms.double(nTracksMax)
00905   ),
00906   nTracksVsJetEtHistogramConfig = cms.PSet(
00907     Enabled = cms.bool(True),
00908     NBins = cms.uint32(etBins),
00909     Min = cms.double(0),
00910     Max = cms.double(etMax)
00911   ),
00912   nTracksVsJetEtaHistogramConfig = cms.PSet(
00913     Enabled = cms.bool(True),
00914     NBins = cms.uint32(etaBins),
00915     Min = cms.double(etaMin),
00916     Max = cms.double(etaMax)
00917   ),
00918   PtFractionInConeHistogramConfig = cms.PSet(
00919     Enabled = cms.bool(True),
00920     NBins = cms.uint32(ptFractionBins),
00921     Min = cms.double(0),
00922     Max = cms.double(1.0)
00923   ),
00924   PtFractionInConeVsJetRawEtHistogramConfig = cms.PSet(
00925     Enabled = cms.bool(True),
00926     NBins = cms.uint32(etBins),
00927     Min = cms.double(0),
00928     Max = cms.double(etMax)
00929   ),
00930   PtFractionInConeVsJetEtaHistogramConfig = cms.PSet(
00931     Enabled = cms.bool(True),
00932     NBins = cms.uint32(etaBins),
00933     Min = cms.double(etaMin),
00934     Max = cms.double(etaMax)
00935   ),
00936   CorrFactorHistogramConfig = cms.PSet(
00937     Enabled = cms.bool(True),
00938     NBins = cms.uint32(factorBins),
00939     Min = cms.double(1.0),
00940     Max = cms.double(factorMax)
00941   ),
00942   CorrFactorVsJetEtHistogramConfig = cms.PSet(
00943     Enabled = cms.bool(True),
00944     NBins = cms.uint32(etBins),
00945     Min = cms.double(0),
00946     Max = cms.double(etMax)
00947   ),
00948   CorrFactorVsJetEtaHistogramConfig = cms.PSet(
00949     Enabled = cms.bool(True),
00950     NBins = cms.uint32(etaBins),
00951     Min = cms.double(etaMin),
00952     Max = cms.double(etaMax)
00953   ),
00954   ZSPCorrFactorHistogramConfig = cms.PSet(
00955     Enabled = cms.bool(True),
00956     NBins = cms.uint32(factorBins),
00957     Min = cms.double(1.0),
00958     Max = cms.double(factorMax)
00959   ),
00960   ZSPCorrFactorVsJetEtHistogramConfig = cms.PSet(
00961     Enabled = cms.bool(True),
00962     NBins = cms.uint32(etBins),
00963     Min = cms.double(0),
00964     Max = cms.double(etMax)
00965   ),
00966   ZSPCorrFactorVsJetEtaHistogramConfig = cms.PSet(
00967     Enabled = cms.bool(True),
00968     NBins = cms.uint32(etaBins),
00969     Min = cms.double(etaMin),
00970     Max = cms.double(etaMax)
00971   ),
00972   JPTCorrFactorHistogramConfig = cms.PSet(
00973     Enabled = cms.bool(True),
00974     NBins = cms.uint32(factorBins),
00975     Min = cms.double(1.0),
00976     Max = cms.double(factorMax)
00977   ),
00978   JPTCorrFactorVsJetEtHistogramConfig = cms.PSet(
00979     Enabled = cms.bool(True),
00980     NBins = cms.uint32(etBins),
00981     Min = cms.double(0),
00982     Max = cms.double(etMax)
00983   ),
00984   JPTCorrFactorVsJetEtaHistogramConfig = cms.PSet(
00985     Enabled = cms.bool(True),
00986     NBins = cms.uint32(etaBins),
00987     Min = cms.double(etaMin),
00988     Max = cms.double(etaMax)
00989   ),
00990   TrackSiStripHitStoNHistogramConfig = cms.PSet(
00991     Enabled = cms.bool(True),
00992     NBins = cms.uint32(sOverNBins),
00993     Min = cms.double(0),
00994     Max = cms.double(sOverNMax)
00995   ),
00996   InCaloTrackDirectionJetDRHistogramConfig = cms.PSet(
00997     Enabled = cms.bool(True),
00998     NBins = cms.uint32(drBins),
00999     Min = cms.double(0),
01000     Max = cms.double(drMax)
01001   ),
01002   OutCaloTrackDirectionJetDRHistogramConfig = cms.PSet(
01003     Enabled = cms.bool(True),
01004     NBins = cms.uint32(drBins),
01005     Min = cms.double(0),
01006     Max = cms.double(jetConeSize)
01007   ), 
01008   InVertexTrackImpactPointJetDRHistogramConfig = cms.PSet(
01009     Enabled = cms.bool(True),
01010     NBins = cms.uint32(drBins),
01011     Min = cms.double(0),
01012     Max = cms.double(drMax)
01013   ),
01014   OutVertexTrackImpactPointJetDRHistogramConfig = cms.PSet(
01015     Enabled = cms.bool(True),
01016     NBins = cms.uint32(drBins),
01017     Min = cms.double(0),
01018     Max = cms.double(jetConeSize)
01019   ),
01020 )
01021 
01022 cleanedjptDQMParameters = jptDQMParameters.clone(
01023   HistogramPath = cms.string('JetMET/Jet/JPT'),
01024   n90HitsMin = cms.int32(2),
01025   fHPDMax    = cms.double(0.98),
01026   resEMFMin  = cms.double(0.01),
01027   correctedPtThreshold = cms.double(3.0)
01028     )