Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:58:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.topMonitoring_cfi import topMonitoring
0004 
0005 hltHIGmonitoring = topMonitoring.clone(
0006     #FolderName = 'HLT/Higgs/default/',
0007     FolderName = 'HLT/HIG/default/',
0008 
0009     histoPSet = dict(
0010         lsPSet = dict(
0011             nbins =  2500,
0012             xmin  =  0.,
0013             xmax  = 2500.),
0014         
0015         metPSet = dict(
0016             nbins = 30,
0017             xmin  =  0 ,
0018             xmax  =  300),
0019 
0020         ptPSet = dict(
0021             nbins =   60 ,
0022             xmin  =   0 ,
0023             xmax  =  300),
0024 
0025         phiPSet = dict(
0026             nbins =  32 ,
0027             xmin  = -3.2,
0028             xmax  =  3.2),
0029 
0030         etaPSet = dict(
0031              nbins =  30 ,
0032              xmin  =  -3.0,
0033              xmax  =  3.0),
0034 
0035         htPSet = dict(
0036             nbins =   60 ,
0037             xmin  =   0 ,
0038             xmax  =  600),
0039         # Marina
0040         csvPSet = dict(
0041             nbins =  50 ,
0042             xmin  =  0.0 ,
0043             xmax  =  1.0 ),
0044 
0045         DRPSet = dict(
0046             nbins =  60 ,
0047             xmin  =  0.0 ,
0048             xmax  = 6.0),
0049 
0050         invMassPSet = dict(
0051             nbins =  40 ,
0052              xmin  =  0.0 ,
0053              xmax  =  80.0),
0054 
0055          MHTPSet = dict(
0056             nbins =  80 ,
0057             xmin  =   60 ,
0058             xmax  =  300),
0059 
0060          #MET and HT binning
0061          metBinning = [0,20,40,60,80,100,125,150,175,200],
0062          HTBinning  = [0,20,40,60,80,100,125,150,175,200,300,400,500,700],
0063          #Eta binning
0064          eleEtaBinning = [-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5],
0065          jetEtaBinning = [-4.7,-3.2,-3.0,-2.5,-2.1,-1.8,-1.5,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.5,3.0,3.2,4.7],
0066          muEtaBinning  = [-2.4,-2.1,-1.7,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.7,2.1,2.4],
0067          #pt binning
0068          elePtBinning = [0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400],
0069          jetPtBinning = [0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400],
0070          muPtBinning  = [0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400],
0071          #Eta binning 2D
0072          eleEtaBinning2D = [-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5],
0073          jetEtaBinning2D = [-4.7,-3.2,-3.0,-2.5,-2.1,-1.8,-1.5,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.5,3.0,3.2,4.7],
0074          muEtaBinning2D  = [-2.4,-2.1,-1.7,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.7,2.1,2.4],
0075 
0076          #pt binning 2D
0077          elePtBinning2D = [0,15,20,30,40,60,80,100,200,400],
0078          jetPtBinning2D = [0,15,20,30,40,60,80,100,200,400],
0079          muPtBinning2D  = [0,15,20,30,40,60,80,100,200,400],
0080          #HT and phi binning 2D
0081          HTBinning2D  = [0,20,40,70,100,150,200,400,700],
0082          phiBinning2D = [-3.1416,-2.5132,-1.8849,-1.2566,-0.6283,0,0.6283,1.2566,1.8849,2.5132,3.1416],
0083     ),
0084     applyLeptonPVcuts = True,
0085     leptonPVcuts = dict(
0086          dxy =  0.5,
0087          dz  =  1.),
0088 
0089     met       = "pfMet", # pfMet
0090     jets      = "ak4PFJets", # ak4PFJets, ak4PFJetsCHS
0091     electrons = "gedGsfElectrons", # while pfIsolatedElectronsEI are reco::PFCandidate !
0092     muons     = "muons", # while pfIsolatedMuonsEI are reco::PFCandidate !
0093     vertices  = "offlinePrimaryVertices",
0094 
0095     HTdefinition = 'pt>30 & abs(eta)<2.5',
0096     leptJetDeltaRmin = 0.4,
0097     eleSelection =  'pt > 7. && abs(eta) < 2.5', 
0098     muoSelection =  'pt > 5 &&  abs(eta) < 2.4 && (isGlobalMuon || (isTrackerMuon && numberOfMatches>0)) && muonBestTrackType != 2',
0099     vertexSelection = '!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2',
0100 
0101     nmuons     = 0,
0102     nelectrons = 0,
0103     njets      = 0,
0104 
0105 
0106     numGenericTriggerEventPSet = dict(
0107              andOr         =  False,
0108              andOrHlt      = True,# True:=OR; False:=AND
0109              verbosityLevel = 1,
0110              hltInputTag   = "TriggerResults::HLT",
0111              errorReplyHlt =  False ),
0112 
0113     denGenericTriggerEventPSet = dict(
0114             andOr         = False,
0115             dcsInputTag   = "scalersRawToDigi",
0116             dcsRecordInputTag = "onlineMetaDataDigis",
0117             dcsPartitions = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
0118             andOrDcs      =  False,
0119             errorReplyDcs =  True,
0120             verbosityLevel = 1)
0121 )
0122