CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/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     Min = cms.double(0),
00445     Max = cms.double(nTracksBins)
00446   ),
00447   AllMuonsTrackPtHistogramConfig = cms.PSet(
00448     Enabled = cms.bool(True),
00449     NBins = cms.uint32(trackPtBins),
00450     Min = cms.double(0),
00451     Max = cms.double(trackPtMax)
00452   ),
00453   AllMuonsTrackPhiHistogramConfig = cms.PSet(
00454     Enabled = cms.bool(True),
00455     NBins = cms.uint32(phiBins),
00456     Min = cms.double(phiMin),
00457     Max = cms.double(phiMax)
00458   ),
00459   AllMuonsTrackEtaHistogramConfig = cms.PSet(
00460     Enabled = cms.bool(True),
00461     NBins = cms.uint32(etaBins),
00462     Min = cms.double(etaMin),
00463     Max = cms.double(etaMax)
00464   ),
00465   AllMuonsTrackDzHistogramConfig = cms.PSet(
00466     Enabled = cms.bool(True),
00467     NBins = cms.uint32(dzBins),
00468     Min = cms.double(dzMin),
00469     Max = cms.double(dzMax)
00470   ),
00471   AllMuonsTrackDxyHistogramConfig = cms.PSet(
00472     Enabled = cms.bool(True),
00473     NBins = cms.uint32(dxyBins),
00474     Min = cms.double(dxyMin),
00475     Max = cms.double(dxyMax)
00476   ),
00477   AllMuonsTrackNHitsHistogramConfig = cms.PSet(
00478     Enabled = cms.bool(True),
00479     NBins = cms.uint32(nHitsBins),
00480     Min = cms.double(0), 
00481     Max = cms.double(nHitsMax)
00482   ),
00483   AllMuonsTrackNLayersHistogramConfig = cms.PSet(
00484     Enabled = cms.bool(True),
00485     NBins = cms.uint32(nLayersBins),
00486     Min = cms.double(0), 
00487     Max = cms.double(nLayersMax)
00488   ),
00489   AllMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00490     Enabled = cms.bool(True),
00491     NBins = cms.uint32(etaBins),
00492     Min = cms.double(etaMin),
00493     Max = cms.double(etaMax)
00494   ),
00495   #Muons In of cone at calo, in cone at vertex
00496   nInCaloInVertexMuonsTracksPerJetHistogramConfig = cms.PSet(
00497     Enabled = cms.bool(True),
00498     NBins = cms.uint32(nTracksBins),
00499     Min = cms.double(0),
00500     Max = cms.double(nTracksBins)
00501   ),
00502   InCaloInVertexMuonsTrackPtHistogramConfig = cms.PSet(
00503     Enabled = cms.bool(True),
00504     NBins = cms.uint32(trackPtBins),
00505     Min = cms.double(0),
00506     Max = cms.double(trackPtMax)
00507   ),
00508   InCaloInVertexMuonsTrackPhiHistogramConfig = cms.PSet(
00509     Enabled = cms.bool(True),
00510     NBins = cms.uint32(phiBins),
00511     Min = cms.double(phiMin),
00512     Max = cms.double(phiMax)
00513   ),
00514   
00515   InCaloInVertexMuonsTrackEtaHistogramConfig = cms.PSet(
00516     Enabled = cms.bool(True),
00517     NBins = cms.uint32(etaBins),
00518     Min = cms.double(etaMin),
00519     Max = cms.double(etaMax)
00520   ),
00521   InCaloInVertexMuonsTrackDzHistogramConfig = cms.PSet(
00522     Enabled = cms.bool(True),
00523     NBins = cms.uint32(dzBins),
00524     Min = cms.double(dzMin),
00525     Max = cms.double(dzMax)
00526   ),
00527   InCaloInVertexMuonsTrackDxyHistogramConfig = cms.PSet(
00528     Enabled = cms.bool(True),
00529     NBins = cms.uint32(dxyBins),
00530     Min = cms.double(dxyMin),
00531     Max = cms.double(dxyMax)
00532   ),
00533   InCaloInVertexMuonsTrackNHitsHistogramConfig = cms.PSet(
00534     Enabled = cms.bool(True),
00535     NBins = cms.uint32(nHitsBins),
00536     Min = cms.double(0), 
00537     Max = cms.double(nHitsMax)
00538   ),
00539   InCaloInVertexMuonsTrackNLayersHistogramConfig = cms.PSet(
00540     Enabled = cms.bool(True),
00541     NBins = cms.uint32(nLayersBins),
00542     Min = cms.double(0), 
00543     Max = cms.double(nLayersMax)
00544   ),
00545   InCaloInVertexMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00546     Enabled = cms.bool(True),
00547     NBins = cms.uint32(etaBins),
00548     Min = cms.double(etaMin),
00549     Max = cms.double(etaMax)
00550   ),
00551   #Muons In of cone at calo, out cone at vertex
00552   nInCaloOutVertexMuonsTracksPerJetHistogramConfig = cms.PSet(
00553     Enabled = cms.bool(True),
00554     NBins = cms.uint32(nTracksBins),
00555     Min = cms.double(0),
00556     Max = cms.double(nTracksBins)
00557   ),
00558   InCaloOutVertexMuonsTrackPtHistogramConfig = cms.PSet(
00559     Enabled = cms.bool(True),
00560     NBins = cms.uint32(trackPtBins),
00561     Min = cms.double(0),
00562     Max = cms.double(trackPtMax)
00563   ),
00564   InCaloOutVertexMuonsTrackPhiHistogramConfig = cms.PSet(
00565     Enabled = cms.bool(True),
00566     NBins = cms.uint32(phiBins),
00567     Min = cms.double(phiMin),
00568     Max = cms.double(phiMax)
00569   ),
00570   InCaloOutVertexMuonsTrackEtaHistogramConfig = cms.PSet(
00571     Enabled = cms.bool(True),
00572     NBins = cms.uint32(etaBins),
00573     Min = cms.double(etaMin),
00574     Max = cms.double(etaMax)
00575   ),
00576   InCaloOutVertexMuonsTrackDzHistogramConfig = cms.PSet(
00577     Enabled = cms.bool(True),
00578     NBins = cms.uint32(dzBins),
00579     Min = cms.double(dzMin),
00580     Max = cms.double(dzMax)
00581   ),
00582   InCaloOutVertexMuonsTrackDxyHistogramConfig = cms.PSet(
00583     Enabled = cms.bool(True),
00584     NBins = cms.uint32(dxyBins),
00585     Min = cms.double(dxyMin),
00586     Max = cms.double(dxyMax)
00587   ),
00588   InCaloOutVertexMuonsTrackNHitsHistogramConfig = cms.PSet(
00589     Enabled = cms.bool(True),
00590     NBins = cms.uint32(nHitsBins),
00591     Min = cms.double(0), 
00592     Max = cms.double(nHitsMax)
00593   ),
00594   InCaloOutVertexMuonsTrackNLayersHistogramConfig = cms.PSet(
00595     Enabled = cms.bool(True),
00596     NBins = cms.uint32(nLayersBins),
00597     Min = cms.double(0), 
00598     Max = cms.double(nLayersMax)
00599   ),
00600   InCaloOutVertexMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00601     Enabled = cms.bool(True),
00602     NBins = cms.uint32(etaBins),
00603     Min = cms.double(etaMin),
00604     Max = cms.double(etaMax)
00605   ),
00606   #Muons Out of cone at calo, in cone at vertex
00607   nOutCaloInVertexMuonsTracksPerJetHistogramConfig = cms.PSet(
00608     Enabled = cms.bool(True),
00609     NBins = cms.uint32(nTracksBins),
00610     Min = cms.double(0),
00611     Max = cms.double(nTracksBins)
00612   ),
00613   OutCaloInVertexMuonsTrackPtHistogramConfig = cms.PSet(
00614     Enabled = cms.bool(True),
00615     NBins = cms.uint32(trackPtBins),
00616     Min = cms.double(0),
00617     Max = cms.double(trackPtMax)
00618   ),
00619   OutCaloInVertexMuonsTrackPhiHistogramConfig = cms.PSet(
00620     Enabled = cms.bool(True),
00621     NBins = cms.uint32(phiBins),
00622     Min = cms.double(phiMin),
00623     Max = cms.double(phiMax)
00624   ),
00625   OutCaloInVertexMuonsTrackEtaHistogramConfig = cms.PSet(
00626     Enabled = cms.bool(True),
00627     NBins = cms.uint32(etaBins),
00628     Min = cms.double(etaMin),
00629     Max = cms.double(etaMax)
00630   ),
00631   OutCaloInVertexMuonsTrackDzHistogramConfig = cms.PSet(
00632     Enabled = cms.bool(True),
00633     NBins = cms.uint32(dzBins),
00634     Min = cms.double(dzMin),
00635     Max = cms.double(dzMax)
00636   ),
00637   OutCaloInVertexMuonsTrackDxyHistogramConfig = cms.PSet(
00638     Enabled = cms.bool(True),
00639     NBins = cms.uint32(dxyBins),
00640     Min = cms.double(dxyMin),
00641     Max = cms.double(dxyMax)
00642   ),
00643   OutCaloInVertexMuonsTrackNHitsHistogramConfig = cms.PSet(
00644     Enabled = cms.bool(True),
00645     NBins = cms.uint32(nHitsBins),
00646     Min = cms.double(0), 
00647     Max = cms.double(nHitsMax)
00648   ),
00649   OutCaloInVertexMuonsTrackNLayersHistogramConfig = cms.PSet(
00650     Enabled = cms.bool(True),
00651     NBins = cms.uint32(nLayersBins),
00652     Min = cms.double(0), 
00653     Max = cms.double(nLayersMax)
00654   ),
00655   OutCaloInVertexMuonsTrackPtVsEtaHistogramConfig = cms.PSet(
00656     Enabled = cms.bool(True),
00657     NBins = cms.uint32(etaBins),
00658     Min = cms.double(etaMin),
00659     Max = cms.double(etaMax)
00660   ),
00661   
00662   #Electrons
00663   nAllElectronsTracksPerJetHistogramConfig = cms.PSet(
00664     Enabled = cms.bool(True),
00665     NBins = cms.uint32(nTracksBins),
00666     Min = cms.double(0),
00667     Max = cms.double(nTracksBins)
00668   ),
00669   AllElectronsTrackPtHistogramConfig = cms.PSet(
00670     Enabled = cms.bool(True),
00671     NBins = cms.uint32(trackPtBins),
00672     Min = cms.double(0),
00673     Max = cms.double(trackPtMax)
00674   ),
00675   AllElectronsTrackPhiHistogramConfig = cms.PSet(
00676     Enabled = cms.bool(True),
00677     NBins = cms.uint32(phiBins),
00678     Min = cms.double(phiMin),
00679     Max = cms.double(phiMax)
00680   ),
00681   AllElectronsTrackEtaHistogramConfig = cms.PSet(
00682     Enabled = cms.bool(True),
00683     NBins = cms.uint32(etaBins),
00684     Min = cms.double(etaMin),
00685     Max = cms.double(etaMax)
00686   ),
00687   AllElectronsTrackDzHistogramConfig = cms.PSet(
00688     Enabled = cms.bool(True),
00689     NBins = cms.uint32(dzBins),
00690     Min = cms.double(dzMin),
00691     Max = cms.double(dzMax)
00692   ),
00693   AllElectronsTrackDxyHistogramConfig = cms.PSet(
00694     Enabled = cms.bool(True),
00695     NBins = cms.uint32(dxyBins),
00696     Min = cms.double(dxyMin),
00697     Max = cms.double(dxyMax)
00698   ),
00699   AllElectronsTrackNHitsHistogramConfig = cms.PSet(
00700     Enabled = cms.bool(True),
00701     NBins = cms.uint32(nHitsBins),
00702     Min = cms.double(0), 
00703     Max = cms.double(nHitsMax)
00704   ),
00705   AllElectronsTrackNLayersHistogramConfig = cms.PSet(
00706     Enabled = cms.bool(True),
00707     NBins = cms.uint32(nLayersBins),
00708     Min = cms.double(0), 
00709     Max = cms.double(nLayersMax)
00710   ),
00711   AllElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00712     Enabled = cms.bool(True),
00713     NBins = cms.uint32(etaBins),
00714     Min = cms.double(etaMin),
00715     Max = cms.double(etaMax)
00716   ),
00717   #Electrons In of cone at calo, in cone at vertex
00718   nInCaloInVertexElectronsTracksPerJetHistogramConfig = cms.PSet(
00719     Enabled = cms.bool(True),
00720     NBins = cms.uint32(nTracksBins),
00721     Min = cms.double(0),
00722     Max = cms.double(nTracksBins)
00723   ),
00724   InCaloInVertexElectronsTrackPtHistogramConfig = cms.PSet(
00725     Enabled = cms.bool(True),
00726     NBins = cms.uint32(trackPtBins),
00727     Min = cms.double(0),
00728     Max = cms.double(trackPtMax)
00729   ),
00730   InCaloInVertexElectronsTrackPhiHistogramConfig = cms.PSet(
00731     Enabled = cms.bool(True),
00732     NBins = cms.uint32(phiBins),
00733     Min = cms.double(phiMin),
00734     Max = cms.double(phiMax)
00735   ),
00736   InCaloInVertexElectronsTrackEtaHistogramConfig = cms.PSet(
00737     Enabled = cms.bool(True),
00738     NBins = cms.uint32(etaBins),
00739     Min = cms.double(etaMin),
00740     Max = cms.double(etaMax)
00741   ),
00742   InCaloInVertexElectronsTrackDzHistogramConfig = cms.PSet(
00743     Enabled = cms.bool(True),
00744     NBins = cms.uint32(dzBins),
00745     Min = cms.double(dzMin),
00746     Max = cms.double(dzMax)
00747   ),
00748   InCaloInVertexElectronsTrackDxyHistogramConfig = cms.PSet(
00749     Enabled = cms.bool(True),
00750     NBins = cms.uint32(dxyBins),
00751     Min = cms.double(dxyMin),
00752     Max = cms.double(dxyMax)
00753   ),
00754   InCaloInVertexElectronsTrackNHitsHistogramConfig = cms.PSet(
00755     Enabled = cms.bool(True),
00756     NBins = cms.uint32(nHitsBins),
00757     Min = cms.double(0), 
00758     Max = cms.double(nHitsMax)
00759   ),
00760   InCaloInVertexElectronsTrackNLayersHistogramConfig = cms.PSet(
00761     Enabled = cms.bool(True),
00762     NBins = cms.uint32(nLayersBins),
00763     Min = cms.double(0), 
00764     Max = cms.double(nLayersMax)
00765   ),
00766   InCaloInVertexElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00767     Enabled = cms.bool(True),
00768     NBins = cms.uint32(etaBins),
00769     Min = cms.double(etaMin),
00770     Max = cms.double(etaMax)
00771   ),
00772   #Electrons In of cone at calo, out cone at vertex
00773   nInCaloOutVertexElectronsTracksPerJetHistogramConfig = cms.PSet(
00774     Enabled = cms.bool(True),
00775     NBins = cms.uint32(nTracksBins),
00776     Min = cms.double(0),
00777     Max = cms.double(nTracksBins)
00778   ),
00779   InCaloOutVertexElectronsTrackPtHistogramConfig = cms.PSet(
00780     Enabled = cms.bool(True),
00781     NBins = cms.uint32(trackPtBins),
00782     Min = cms.double(0),
00783     Max = cms.double(trackPtMax)
00784   ),
00785   InCaloOutVertexElectronsTrackPhiHistogramConfig = cms.PSet(
00786     Enabled = cms.bool(True),
00787     NBins = cms.uint32(phiBins),
00788     Min = cms.double(phiMin),
00789     Max = cms.double(phiMax)
00790   ),
00791   InCaloOutVertexElectronsTrackEtaHistogramConfig = cms.PSet(
00792     Enabled = cms.bool(True),
00793     NBins = cms.uint32(etaBins),
00794     Min = cms.double(etaMin),
00795     Max = cms.double(etaMax)
00796   ),
00797   InCaloOutVertexElectronsTrackDzHistogramConfig = cms.PSet(
00798     Enabled = cms.bool(True),
00799     NBins = cms.uint32(dzBins),
00800     Min = cms.double(dzMin),
00801     Max = cms.double(dzMax)
00802   ),
00803   InCaloOutVertexElectronsTrackDxyHistogramConfig = cms.PSet(
00804     Enabled = cms.bool(True),
00805     NBins = cms.uint32(dxyBins),
00806     Min = cms.double(dxyMin),
00807     Max = cms.double(dxyMax)
00808   ),
00809   InCaloOutVertexElectronsTrackNHitsHistogramConfig = cms.PSet(
00810     Enabled = cms.bool(True),
00811     NBins = cms.uint32(nHitsBins),
00812     Min = cms.double(0), 
00813     Max = cms.double(nHitsMax)
00814   ),
00815   InCaloOutVertexElectronsTrackNLayersHistogramConfig = cms.PSet(
00816     Enabled = cms.bool(True),
00817     NBins = cms.uint32(nLayersBins),
00818     Min = cms.double(0), 
00819     Max = cms.double(nLayersMax)
00820   ),
00821   InCaloOutVertexElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00822     Enabled = cms.bool(True),
00823     NBins = cms.uint32(etaBins),
00824     Min = cms.double(etaMin),
00825     Max = cms.double(etaMax)
00826   ),
00827   #Electrons Out of cone at calo, in cone at vertex
00828   nOutCaloInVertexElectronsTracksPerJetHistogramConfig = cms.PSet(
00829     Enabled = cms.bool(True),
00830     NBins = cms.uint32(nTracksBins),
00831     Min = cms.double(0),
00832     Max = cms.double(nTracksBins)
00833   ),
00834   OutCaloInVertexElectronsTrackPtHistogramConfig = cms.PSet(
00835     Enabled = cms.bool(True),
00836     NBins = cms.uint32(trackPtBins),
00837     Min = cms.double(0),
00838     Max = cms.double(trackPtMax)
00839   ),
00840   OutCaloInVertexElectronsTrackPhiHistogramConfig = cms.PSet(
00841     Enabled = cms.bool(True),
00842     NBins = cms.uint32(phiBins),
00843     Min = cms.double(phiMin),
00844     Max = cms.double(phiMax)
00845   ),
00846   OutCaloInVertexElectronsTrackEtaHistogramConfig = cms.PSet(
00847     Enabled = cms.bool(True),
00848     NBins = cms.uint32(etaBins),
00849     Min = cms.double(etaMin),
00850     Max = cms.double(etaMax)
00851   ),
00852   OutCaloInVertexElectronsTrackDzHistogramConfig = cms.PSet(
00853     Enabled = cms.bool(True),
00854     NBins = cms.uint32(dzBins),
00855     Min = cms.double(dzMin),
00856     Max = cms.double(dzMax)
00857   ),
00858   OutCaloInVertexElectronsTrackDxyHistogramConfig = cms.PSet(
00859     Enabled = cms.bool(True),
00860     NBins = cms.uint32(dxyBins),
00861     Min = cms.double(dxyMin),
00862     Max = cms.double(dxyMax)
00863   ),
00864   OutCaloInVertexElectronsTrackNHitsHistogramConfig = cms.PSet(
00865     Enabled = cms.bool(True),
00866     NBins = cms.uint32(nHitsBins),
00867     Min = cms.double(0), 
00868     Max = cms.double(nHitsMax)
00869   ),
00870   OutCaloInVertexElectronsTrackNLayersHistogramConfig = cms.PSet(
00871     Enabled = cms.bool(True),
00872     NBins = cms.uint32(nLayersBins),
00873     Min = cms.double(0), 
00874     Max = cms.double(nLayersMax)
00875   ),
00876   OutCaloInVertexElectronsTrackPtVsEtaHistogramConfig = cms.PSet(
00877     Enabled = cms.bool(True),
00878     NBins = cms.uint32(etaBins),
00879     Min = cms.double(etaMin),
00880     Max = cms.double(etaMax)
00881   ),
00882   
00883   #Jet level histograms
00884   nTracksHistogramConfig = cms.PSet(
00885     Enabled = cms.bool(True),
00886     NBins = cms.uint32(nTracksBins),
00887     Min = cms.double(0),
00888     Max = cms.double(nTracksMax)
00889   ),
00890   nTracksVsJetEtHistogramConfig = cms.PSet(
00891     Enabled = cms.bool(True),
00892     NBins = cms.uint32(etBins),
00893     Min = cms.double(0),
00894     Max = cms.double(etMax)
00895   ),
00896   nTracksVsJetEtaHistogramConfig = cms.PSet(
00897     Enabled = cms.bool(True),
00898     NBins = cms.uint32(etaBins),
00899     Min = cms.double(etaMin),
00900     Max = cms.double(etaMax)
00901   ),
00902   PtFractionInConeHistogramConfig = cms.PSet(
00903     Enabled = cms.bool(True),
00904     NBins = cms.uint32(ptFractionBins),
00905     Min = cms.double(0),
00906     Max = cms.double(1.0)
00907   ),
00908   PtFractionInConeVsJetRawEtHistogramConfig = cms.PSet(
00909     Enabled = cms.bool(True),
00910     NBins = cms.uint32(etBins),
00911     Min = cms.double(0),
00912     Max = cms.double(etMax)
00913   ),
00914   PtFractionInConeVsJetEtaHistogramConfig = cms.PSet(
00915     Enabled = cms.bool(True),
00916     NBins = cms.uint32(etaBins),
00917     Min = cms.double(etaMin),
00918     Max = cms.double(etaMax)
00919   ),
00920   CorrFactorHistogramConfig = cms.PSet(
00921     Enabled = cms.bool(True),
00922     NBins = cms.uint32(factorBins),
00923     Min = cms.double(1.0),
00924     Max = cms.double(factorMax)
00925   ),
00926   CorrFactorVsJetEtHistogramConfig = cms.PSet(
00927     Enabled = cms.bool(True),
00928     NBins = cms.uint32(etBins),
00929     Min = cms.double(0),
00930     Max = cms.double(etMax)
00931   ),
00932   CorrFactorVsJetEtaHistogramConfig = cms.PSet(
00933     Enabled = cms.bool(True),
00934     NBins = cms.uint32(etaBins),
00935     Min = cms.double(etaMin),
00936     Max = cms.double(etaMax)
00937   ),
00938   ZSPCorrFactorHistogramConfig = cms.PSet(
00939     Enabled = cms.bool(True),
00940     NBins = cms.uint32(factorBins),
00941     Min = cms.double(1.0),
00942     Max = cms.double(factorMax)
00943   ),
00944   ZSPCorrFactorVsJetEtHistogramConfig = cms.PSet(
00945     Enabled = cms.bool(True),
00946     NBins = cms.uint32(etBins),
00947     Min = cms.double(0),
00948     Max = cms.double(etMax)
00949   ),
00950   ZSPCorrFactorVsJetEtaHistogramConfig = cms.PSet(
00951     Enabled = cms.bool(True),
00952     NBins = cms.uint32(etaBins),
00953     Min = cms.double(etaMin),
00954     Max = cms.double(etaMax)
00955   ),
00956   JPTCorrFactorHistogramConfig = cms.PSet(
00957     Enabled = cms.bool(True),
00958     NBins = cms.uint32(factorBins),
00959     Min = cms.double(1.0),
00960     Max = cms.double(factorMax)
00961   ),
00962   JPTCorrFactorVsJetEtHistogramConfig = cms.PSet(
00963     Enabled = cms.bool(True),
00964     NBins = cms.uint32(etBins),
00965     Min = cms.double(0),
00966     Max = cms.double(etMax)
00967   ),
00968   JPTCorrFactorVsJetEtaHistogramConfig = cms.PSet(
00969     Enabled = cms.bool(True),
00970     NBins = cms.uint32(etaBins),
00971     Min = cms.double(etaMin),
00972     Max = cms.double(etaMax)
00973   ),
00974   TrackSiStripHitStoNHistogramConfig = cms.PSet(
00975     Enabled = cms.bool(True),
00976     NBins = cms.uint32(sOverNBins),
00977     Min = cms.double(0),
00978     Max = cms.double(sOverNMax)
00979   ),
00980   InCaloTrackDirectionJetDRHistogramConfig = cms.PSet(
00981     Enabled = cms.bool(True),
00982     NBins = cms.uint32(drBins),
00983     Min = cms.double(0),
00984     Max = cms.double(drMax)
00985   ),
00986   OutCaloTrackDirectionJetDRHistogramConfig = cms.PSet(
00987     Enabled = cms.bool(True),
00988     NBins = cms.uint32(drBins),
00989     Min = cms.double(0),
00990     Max = cms.double(jetConeSize)
00991   ), 
00992   InVertexTrackImpactPointJetDRHistogramConfig = cms.PSet(
00993     Enabled = cms.bool(True),
00994     NBins = cms.uint32(drBins),
00995     Min = cms.double(0),
00996     Max = cms.double(drMax)
00997   ),
00998   OutVertexTrackImpactPointJetDRHistogramConfig = cms.PSet(
00999     Enabled = cms.bool(True),
01000     NBins = cms.uint32(drBins),
01001     Min = cms.double(0),
01002     Max = cms.double(jetConeSize)
01003   ),
01004 )
01005 
01006 cleanedjptDQMParameters = jptDQMParameters.clone(
01007   HistogramPath = cms.string('JetMET/Jet/JPT'),
01008   n90HitsMin = cms.int32(2),
01009   fHPDMax    = cms.double(0.98),
01010   resEMFMin  = cms.double(0.01),
01011   correctedPtThreshold = cms.double(3.0)
01012     )