Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.metPlusTrackMonitoring_cfi import metPlusTrackMonitoring
0004 # Define 100 logarithmic bins from 10^0 to 10^3 GeV
0005 binsLogX_METplusTrack = []
0006 nBinsLogX_METplusTrack = 100
0007 powerLo_METplusTrack = 0.0
0008 powerHi_METplusTrack = 3.0
0009 binPowerWidth_METplusTrack = (powerHi_METplusTrack - powerLo_METplusTrack) / nBinsLogX_METplusTrack
0010 for ibin in range(nBinsLogX_METplusTrack + 1):
0011    binsLogX_METplusTrack.append( pow(10, powerLo_METplusTrack + ibin * binPowerWidth_METplusTrack) )
0012 
0013 hltMETplusTrackMonitoring = metPlusTrackMonitoring.clone(
0014   FolderName = 'HLT/EXO/MET/MET105_IsoTrk50/',
0015   histoPSet = dict(
0016           lsPSet = dict(
0017                     nbins = 250 ,
0018                     xmin  =  0.,
0019                     xmax  = 2500.),
0020 
0021           metPSet = dict(
0022                     nbins = 100,
0023                     xmin  = -0.5,
0024                     xmax  = 999.5),
0025 
0026           ptPSet = dict(
0027                     nbins = 100,
0028                     xmin  = -0.5,
0029                     xmax  = 999.5),
0030 
0031           etaPSet = dict(
0032                     nbins = 24,
0033                     xmin  = -2.4,
0034                     xmax  = 2.4),
0035 
0036           phiPSet = dict(
0037                     nbins = 32,
0038                     xmin  = -3.2,
0039                     xmax  = 3.2),
0040     
0041           metBinning = binsLogX_METplusTrack,
0042           ptBinning = binsLogX_METplusTrack
0043       ),
0044   met       = "caloMet", # caloMet
0045   jets      = "ak4PFJets", # ak4PFJets, ak4PFJetsCHS
0046   muons     = "muons", # while pfIsolatedMuonsEI are reco::PFCandidate !
0047 
0048   muonSelection = 'pt>26 && abs(eta)<2.1 && (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt-0.5*pfIsolationR04.sumPUPt)/pt<0.12',
0049   vtxSelection = 'ndof>=4 && abs(z)<24.0 && position.Rho<2.0',
0050   nmuons = 1,
0051   leadJetEtaCut = 2.4,
0052 
0053   numGenericTriggerEventPSet = dict(
0054     andOr          = False,
0055     #dbLabel        = "ExoDQMTrigger", # it does not exist yet, we should consider the possibility of using the DB, but as it is now it will need a label per path !
0056     andOrHlt       = True,# True:=OR; False:=AND
0057     hltInputTag    = "TriggerResults::HLT",
0058     hltPaths       = ["HLT_MET105_IsoTrk50_v*"], # HLT_ZeroBias_v
0059     #hltDBKey       = "EXO_HLT_MET",
0060     errorReplyHlt  = False,
0061     verbosityLevel = 0
0062   ),
0063 
0064   denGenericTriggerEventPSet = dict(
0065     andOr          =  False ,
0066     dcsInputTag    =  "scalersRawToDigi",
0067     dcsRecordInputTag = "onlineMetaDataDigis",
0068     dcsPartitions  = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
0069     andOrDcs       = False,
0070     errorReplyDcs  = True,
0071     verbosityLevel = 1,
0072     hltPaths       = ["HLT_IsoMu27_v*"])
0073 )
0074