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.ParticleNetJetTagMonitor_cfi import ParticleNetJetTagMonitor as _particleNetJetTagMonitor
0004 
0005 particleNetAK8HbbTagMonitoring = _particleNetJetTagMonitor.clone(
0006     ## general options
0007     FolderName = "HLT/HIG/PNETAK8/HLT_IsoMu50_AK8PFJet230_SoftDropMass40_PFAK8ParticleNetBB0p35_or_HLT_Ele50_CaloIdVT_GsfTrkIdT_AK8PFJet230_SoftDropMass40/",
0008     requireValidHLTPaths = True,
0009     requireHLTOfflineJetMatching = True,
0010     ## objects
0011     muons = "muons",
0012     electrons = "gedGsfElectrons",
0013     jets = "ak8PFJetsPuppi",
0014     jetPNETScore = "pfMassDecorrelatedParticleNetDiscriminatorsJetTags:XbbvsQCD",
0015     jetPNETScoreHLT = "hltParticleNetDiscriminatorsJetTagsAK8:HbbVsQCD",
0016     jetsForHTandBTag  = "ak4PFJetsCHS",
0017     jetPNETScoreForHTandBTag = "pfParticleNetAK4DiscriminatorsJetTagsForRECO:BvsAll",
0018     jetSoftDropMass = "ak8PFJetsPuppiSoftDropMass",
0019     met = "pfMetPuppi",
0020     jecForMC = "",
0021     jecForData = "",
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 > 60 && 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 > 60 && abs(eta) < 2.5",
0033     vetoElectronSelection = "pt > 15 && abs(eta) < 2.5",
0034     tagElectronID = "egmGsfElectronIDsForDQM:cutBasedElectronID-RunIIIWinter22-V1-tight",
0035     vetoElectronID = "egmGsfElectronIDsForDQM:cutBasedElectronID-RunIIIWinter22-V1-loose",
0036     ntagelectrons = -1,
0037     nvetoelectrons = -1,
0038     ## Lepton counting
0039     ntagleptons = 1,
0040     nvetoleptons = 1,
0041     ## Emu pairs
0042     dileptonSelection = "",
0043     nemupairs = -1,
0044     ## Jet AK8 selection
0045     jetSelection = "pt > 180 && abs(eta) < 2.4",
0046     minPNETScoreCut = 0.1,
0047     minSoftDropMassCut = 50,
0048     maxSoftDropMassCut = 110,
0049     njets = 1,
0050     ## B-tagged jet selection
0051     jetSelectionForHTandBTag = "pt > 30 && abs(eta) < 2.5",
0052     minPNETBTagCut = 0.25,
0053     nbjets = 2,
0054     ## PF-MET selection
0055     metSelection = "pt > 30",
0056     ## Jet lepton cleaning
0057     lepJetDeltaRmin = 0.8,
0058     lepJetDeltaRminForHTandBTag = 0.4,
0059     ## Trigger matching
0060     hltRecoDeltaRmax = 0.8,
0061     ntrigobjecttomatch = 1,
0062     ## binning for efficiency
0063     NjetBinning = [0,1,2,3,4,5,6,7,8],
0064     HTBinning = [100,200,300,400,500,600,700,800,1000,1250],
0065     leptonPtBinning = [75,100,125,150,200,250,300,400,600],
0066     leptonEtaBinning = [-2.5,-2.0,-1.5,-0.5,0.,0.5,1.0,1.5,2.0,2.5],
0067     diLeptonPtBinning = [],
0068     diLeptonMassBinning = [],
0069     jet1PtBinning = [180,200,220,240,260,280,300,325,350,375,400,450,500,600,750,900],
0070     jet2PtBinning = [],
0071     jet1EtaBinning = [-2.5,-2.0,-1.5,-1.0,-0.5,0.,0.5,1.0,1.5,2.0,2.5],
0072     jet2EtaBinning = [],
0073     jet1PNETscoreBinning = [0,0.02,0.04,0.06,0.08,0.10,0.15,0.20,0.25,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1],
0074     jet2PNETscoreBinning = [],
0075     jet1PNETscoreTransBinning = [0,0.02,0.04,0.06,0.08,0.1,0.15,0.2,0.4,0.6,0.8,1.0,2,3,6],
0076     jet2PNETscoreTransBinning = [],
0077     jet1PtBinning2d = [180,220,260,300,340,400,500,750,1250],
0078     jet2PtBinning2d = [],
0079     jet1EtaBinning2d = [-2.5,-2.0,-1.5,-1.0,-0.5,0.,0.5,1.0,1.5,2.0,2.5],
0080     jet2EtaBinning2d = [],
0081     jet1PNETscoreBinning2d = [0,0.03,0.06,0.08,0.12,0.18,0.25,0.35,0.50,0.70,0.90,1.0],
0082     jet2PNETscoreBinning2d = [],
0083     jet1PNETscoreTransBinning2d = [0,0.03,0.06,0.08,0.12,0.18,0.25,0.40,0.60,0.85,1.5,3,6],
0084     jet2PNETscoreTransBinning2d = [],
0085     ## trigger for numerator and denominator
0086     numGenericTriggerEvent = dict(
0087         hltPaths      = ["HLT_IsoMu50_AK8PFJet230_SoftDropMass40_PNetBB0p06_v*", "HLT_Ele50_CaloIdVT_GsfTrkIdT_AK8PFJet230_SoftDropMass40_PNetBB0p06_v*",],
0088         andOr         = False,
0089         andOrHlt      = True,
0090         #hltInputTag   = "TriggerResults::reHLT", ## when testing in the DQM workflow (https://twiki.cern.ch/twiki/bin/viewauth/CMS/HLTValidationAndDQM)
0091         hltInputTag   = "TriggerResults::HLT",
0092         errorReplyHlt = False,
0093         dcsInputTag   = "scalersRawToDigi",
0094         dcsPartitions = [24, 25, 26, 27, 28, 29],
0095         andOrDcs      = False,
0096         errorReplyDcs = True,
0097         verbosityLevel = 1,
0098     ),
0099     denGenericTriggerEvent = dict(
0100         hltPaths      = ["HLT_IsoMu50_AK8PFJet230_SoftDropMass40_v*",
0101                          "HLT_Ele50_CaloIdVT_GsfTrkIdT_AK8PFJet230_SoftDropMass40_v*",
0102                      ],
0103         andOr         = False,
0104         andOrHlt      = True,
0105         #hltInputTag   = "TriggerResults::reHLT", ## when testing in the DQM workflow (https://twiki.cern.ch/twiki/bin/viewauth/CMS/HLTValidationAndDQM)
0106         hltInputTag   = "TriggerResults::HLT",
0107         errorReplyHlt = False,
0108         dcsInputTag   = "scalersRawToDigi",
0109         dcsPartitions = [24, 25, 26, 27, 28, 29],
0110         andOrDcs      = False,
0111         errorReplyDcs = True,
0112         verbosityLevel = 1,
0113     ),
0114 )