Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-09-02 22:46:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.ParticleNetJetTagMonitor_cfi import ParticleNetJetTagMonitor as _particleNetJetTagMonitor
0004 
0005 particleNetAK4BTagMonitoring = _particleNetJetTagMonitor.clone(
0006     ## general options
0007     FolderName = "HLT/HIG/PNETAK4/HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBTagParticleNet_2BTagSum0p65/",
0008     requireValidHLTPaths = True,
0009     requireHLTOfflineJetMatching = True,
0010     ## objects
0011     muons = "muons",
0012     electrons = "gedGsfElectrons",
0013     jets = "ak4PFJetsCHS",
0014     jetPNETScore = "pfParticleNetAK4DiscriminatorsJetTagsForRECO:BvsAll",
0015     jetPNETScoreHLT = "hltParticleNetDiscriminatorsJetTags:BvsAll",    
0016     jetsForHTandBTag = "",
0017     jetPNETScoreForHTandBTag = "",
0018     jetSoftDropMass = "",
0019     met = "pfMetPuppi",
0020     jecForMC = "ak4PFCHSL1FastL2L3Corrector",
0021     jecForData = "ak4PFCHSL1FastL2L3ResidualCorrector",
0022     ## PV selection
0023     vertexSelection = "!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2",
0024     ## Muon selection (based on the definition of https://cmssdt.cern.ch/lxr/source/DataFormats/MuonReco/interface/Muon.h)    
0025     tagMuonSelection = "pt > 15 && abs(eta) < 2.4 && passed(4) && passed(256)",
0026     vetoMuonSelection = "pt > 10 && abs(eta) < 2.4 && passed(1) && passed(128)",
0027     maxLeptonDxyCut = 0.1,
0028     maxLeptonDzCut = 0.2,
0029     ntagmuons = 1,
0030     nvetomuons = 1,
0031     ## Electron selection
0032     tagElectronSelection = "pt > 25 && abs(eta) < 2.5",
0033     vetoElectronSelection = "pt > 15 && abs(eta) < 2.5",
0034     tagElectronID = "egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight",
0035     vetoElectronID = "egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-loose",
0036     ntagelectrons = 1,
0037     nvetoelectrons = 1,
0038     ## Total number of leptons (electron+muons) in the event
0039     ntagleptons = 2,
0040     nvetoleptons = 2,
0041     ## Emu pairs
0042     dileptonSelection = "mass > 20 && charge == 0",
0043     nemupairs = 1,
0044     ## jet selection (main jet collection)
0045     jetSelection = "pt > 30 && abs(eta) < 2.5",
0046     minPNETScoreCut = 0.1,
0047     minSoftDropMassCut = 0,
0048     maxSoftDropMassCut = 10000,
0049     njets  = 2,
0050     ## Bjet selection (ak4 jets)
0051     jetSelectionForHTandBTag = "pt > 30 && abs(eta) < 2.5",
0052     nbjets = -1,
0053     ## Met selection
0054     metSelection = "pt > 0",
0055     ## Cleaning jet-lepton
0056     lepJetDeltaRmin = 0.4,
0057     ## Match reco with HLT
0058     hltRecoDeltaRmax = 0.4,        
0059     ntrigobjecttomatch = 2,
0060     ## binning for efficiency
0061     NjetBinning = [0,1,2,3,4,5,6,7,8],
0062     HTBinning = [0,50,100,150,200,250,300,350,400,500,600,750,1000],
0063     leptonPtBinning = [20,30,40,50,60,75,90,110,135,175,225,300],
0064     leptonEtaBinning = [-2.5,-2.25,-2.0,-1.75,-1.5,-1.25,-1.0,-0.75,-0.5,-0.25,0.,0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0,2.25,2.5],
0065     diLeptonPtBinning = [0,20,30,40,50,60,75,90,110,135,175,225,300],
0066     diLeptonMassBinning = [20,30,40,50,60,70,80,90,100,110,120,130,140,155,170,185,200,220,240,260,300],
0067     jet1PtBinning = [20,30,40,50,60,75,90,110,130,150,175,200,225,250,300,400,500],
0068     jet2PtBinning = [20,30,40,50,60,75,90,110,130,150,175,200,225,250,300],
0069     jet1EtaBinning = [-2.5,-2.25,-2.0,-1.75,-1.5,-1.25,-1.0,-0.75,-0.5,-0.25,0.,0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0,2.25,2.5],
0070     jet2EtaBinning = [-2.5,-2.25,-2.0,-1.75,-1.5,-1.25,-1.0,-0.75,-0.5,-0.25,0.,0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0,2.25,2.5],
0071     jet1PNETscoreBinning = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.75,0.8,0.85,0.9,0.925,0.95,0.975,1],
0072     jet2PNETscoreBinning = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.75,0.8,0.85,0.9,0.925,0.95,0.975,1],
0073     jet1PNETscoreTransBinning = [0,0.1,0.2,0.3,0.4,0.6,0.8,1.0,1.25,1.50,1.75,2.25,2.75,3.5,6],
0074     jet2PNETscoreTransBinning = [0,0.1,0.2,0.3,0.4,0.6,0.8,1.0,1.25,1.50,1.75,2.25,2.75,3.5,6],
0075     jet1PtBinning2d = [20,30,40,50,75,100,150,250,500],
0076     jet2PtBinning2d = [20,30,40,50,75,100,125,150,250],
0077     jet1EtaBinning2d = [-2.5,-2.0,-1.5,-1.0,-0.5,0.,0.5,1.0,1.5,2.0,2.5],
0078     jet2EtaBinning2d = [-2.5,-2.0,-1.5,-1.0,-0.5,0.,0.5,1.0,1.5,2.0,2.5],
0079     jet1PNETscoreBinning2d = [0,0.15,0.30,0.45,0.60,0.75,0.85,0.90,0.95,0.975,1],
0080     jet2PNETscoreBinning2d = [0,0.15,0.30,0.45,0.60,0.75,0.85,0.90,0.95,0.975,1],
0081     jet1PNETscoreTransBinning2d = [0,0.15,0.30,0.45,0.60,0.75,1,1.5,2,2.5,3.25,6],
0082     jet2PNETscoreTransBinning2d = [0,0.15,0.30,0.45,0.60,0.75,1,1.5,2,2.5,3.25,6],
0083     ## trigger for numerator and denominator
0084     numGenericTriggerEvent = dict(
0085         hltPaths      = ["HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBTagParticleNet_2BTagSum0p65_v*"],
0086         andOr         = False,
0087         andOrHlt      = True,
0088         #hltInputTag   = "TriggerResults::reHLT", ## when testing in the DQM workflow (https://twiki.cern.ch/twiki/bin/viewauth/CMS/HLTValidationAndDQM)
0089         hltInputTag   = "TriggerResults::HLT",
0090         errorReplyHlt = False,
0091         dcsInputTag   = "scalersRawToDigi",
0092         dcsPartitions = [24, 25, 26, 27, 28, 29],
0093         andOrDcs      = False,
0094         errorReplyDcs = True,
0095         verbosityLevel = 1,
0096     ),
0097     denGenericTriggerEvent = dict(
0098         hltPaths      = ["HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_v*"],
0099         andOr         = False,
0100         andOrHlt      = True,
0101         #hltInputTag   = "TriggerResults::reHLT", ## when testing in the DQM workflow (https://twiki.cern.ch/twiki/bin/viewauth/CMS/HLTValidationAndDQM)
0102         hltInputTag   = "TriggerResults::HLT",
0103         errorReplyHlt = False,
0104         dcsInputTag   = "scalersRawToDigi",
0105         dcsPartitions = [24, 25, 26, 27, 28, 29],
0106         andOrDcs      = False,
0107         errorReplyDcs = True,
0108         verbosityLevel = 1,
0109     ),
0110 )