diff --git a/Jet/interface/ChargedPFTagData.h b/Jet/interface/ChargedPFTagData.h index 44f1e1f..136889e 100644 --- a/Jet/interface/ChargedPFTagData.h +++ b/Jet/interface/ChargedPFTagData.h @@ -34,6 +34,7 @@ class ChargedPFTagData: float fromPV; float puppi_weight; float track_chi2; + float track_ndof; float track_quality; float jetmassdroprel; @@ -78,6 +79,7 @@ class ChargedPFTagData: cpfDataArray.bookProperty("fromPV",&Data::fromPV); cpfDataArray.bookProperty("puppi_weight",&Data::puppi_weight); cpfDataArray.bookProperty("track_chi2",&Data::track_chi2); + cpfDataArray.bookProperty("track_ndof",&Data::track_ndof); cpfDataArray.bookProperty("track_quality",&Data::track_quality); cpfDataArray.bookProperty("jetmassdroprel",&Data::jetmassdroprel); diff --git a/Jet/interface/GlobalJetTagData.h b/Jet/interface/GlobalJetTagData.h index be10308..f7fb2c6 100644 --- a/Jet/interface/GlobalJetTagData.h +++ b/Jet/interface/GlobalJetTagData.h @@ -38,7 +38,7 @@ class GlobalJetTagData: array.bookProperty("pt", &Data::pt); array.bookProperty("eta", &Data::eta); array.bookProperty("phi", &Data::phi); - array.bookProperty("jetIdx", &Data::phi); + array.bookProperty("jetIdx", &Data::jetIdx); for (unsigned int i = 0; i < jetData.size(); ++i) { array.fill(&jetData[i], i); diff --git a/Jet/interface/SVTagData.h b/Jet/interface/SVTagData.h index 48b0585..ed40410 100644 --- a/Jet/interface/SVTagData.h +++ b/Jet/interface/SVTagData.h @@ -20,7 +20,7 @@ class SVTagData: float mass; float ntracks; float chi2; - float normchi2; + float ndof; float dxy; float dxysig; float d3d; @@ -49,7 +49,7 @@ class SVTagData: svDataArray.bookProperty("mass",&Data::mass); svDataArray.bookProperty("ntracks",&Data::ntracks); svDataArray.bookProperty("chi2",&Data::chi2); - svDataArray.bookProperty("normchi2",&Data::normchi2); + svDataArray.bookProperty("ndof",&Data::ndof); svDataArray.bookProperty("dxy",&Data::dxy); svDataArray.bookProperty("dxysig",&Data::dxysig); svDataArray.bookProperty("d3d",&Data::d3d); diff --git a/Jet/plugins/CSVInputTagPlugin.cc b/Jet/plugins/CSVInputTagPlugin.cc index c68f654..635d32c 100644 --- a/Jet/plugins/CSVInputTagPlugin.cc +++ b/Jet/plugins/CSVInputTagPlugin.cc @@ -74,14 +74,11 @@ class CSVInputTagDataPlugin: //http://cmslxr.fnal.gov/source/DataFormats/BTauReco/interface/TaggingVariable.h?v=CMSSW_9_4_0_pre1#0033 float trackSumJetEtRatio = vars.get(reco::btau::trackSumJetEtRatio, -1); - if (trackSumJetEtRatio>0) trackSumJetEtRatio = 0.1/(0.1+trackSumJetEtRatio); jetTagData.trackSumJetEtRatio = trackSumJetEtRatio; float trackSumJetDeltaR = vars.get(reco::btau::trackSumJetDeltaR, -1); - if (trackSumJetDeltaR>0) trackSumJetDeltaR = 0.1/(0.1+trackSumJetDeltaR); jetTagData.trackSumJetDeltaR = trackSumJetDeltaR; - - + jetTagData.vertexCategory = vars.get(reco::btau::vertexCategory, -1); jetTagData.jetNSelectedTracks = vars.get(reco::btau::jetNSelectedTracks, -1); jetTagData.jetNTracksEtaRel = vars.get(reco::btau::jetNTracksEtaRel, -1); @@ -91,31 +88,15 @@ class CSVInputTagDataPlugin: //the significances take often the values -1 //this maybe a bug and happen if trackSip2dValAboveCharm = -1 thus the reset value is ignored //cmslxr.fnal.gov/source/RecoBTag/SecondaryVertex/plugins/TemplatedSecondaryVertexProducer.cc?v=CMSSW_9_4_0 - if (trackSip2dValAboveCharm<0) - { - trackSip2dSigAboveCharm = -1; - jetTagData.trackSip2dValAboveCharm = trackSip2dValAboveCharm; - jetTagData.trackSip2dSigAboveCharm = trackSip2dSigAboveCharm; - } - else - { - jetTagData.trackSip2dValAboveCharm = trackSip2dValAboveCharm; - jetTagData.trackSip2dSigAboveCharm = std::log10(1+trackSip2dSigAboveCharm); - } + jetTagData.trackSip2dValAboveCharm = trackSip2dValAboveCharm; + jetTagData.trackSip2dSigAboveCharm = trackSip2dSigAboveCharm; float trackSip3dValAboveCharm = vars.get(reco::btau::trackSip2dValAboveCharm, -1); float trackSip3dSigAboveCharm = vars.get(reco::btau::trackSip3dSigAboveCharm, -1); - if (trackSip3dValAboveCharm<0) - { - trackSip3dSigAboveCharm = -1; - jetTagData.trackSip3dValAboveCharm = trackSip3dValAboveCharm; - jetTagData.trackSip3dSigAboveCharm = trackSip3dSigAboveCharm; - } - else - { - jetTagData.trackSip3dValAboveCharm = trackSip3dValAboveCharm; - jetTagData.trackSip3dSigAboveCharm = std::log10(10+trackSip3dSigAboveCharm); - } + + jetTagData.trackSip3dValAboveCharm = trackSip3dValAboveCharm; + jetTagData.trackSip3dSigAboveCharm = trackSip3dSigAboveCharm; + output->at(0).jetData.push_back(jetTagData); } diff --git a/Jet/plugins/ChargedPFTagPlugin.cc b/Jet/plugins/ChargedPFTagPlugin.cc index 6f3ea34..dd36f4b 100644 --- a/Jet/plugins/ChargedPFTagPlugin.cc +++ b/Jet/plugins/ChargedPFTagPlugin.cc @@ -77,7 +77,6 @@ class ChargedPFTagDataPlugin: { const pat::Jet& jet = jetCollection->at(ijet); const float jet_pt_uncorr = jet.correctedJet("Uncorrected").pt(); - //const float jet_e_uncorr = jet.correctedJet("Uncorrected").energy(); std::vector cpfData; for (unsigned int idaughter = 0; idaughter < jet.numberOfDaughters(); ++idaughter) @@ -90,7 +89,7 @@ class ChargedPFTagDataPlugin: nanox::ChargedPFTagData::Data data; - data.ptrel = 0.01/(0.01+constituent->pt()/jet_pt_uncorr); + data.ptrel = constituent->pt()/jet_pt_uncorr; data.drminsv = 0.4; for (const auto& sv: *svCollection.product()) @@ -102,10 +101,12 @@ class ChargedPFTagDataPlugin: data.vertex_association = constituent->pvAssociationQuality(); data.fromPV = constituent->fromPV(); data.puppi_weight = constituent->puppiWeight(); - data.track_chi2 = std::log10(constituent->pseudoTrack().chi2()/constituent->pseudoTrack().ndof()+1); + data.track_chi2 = constituent->pseudoTrack().chi2(); + data.track_ndof = constituent->pseudoTrack().ndof(); data.track_quality = constituent->pseudoTrack().qualityMask(); + if (jet.mass()<1e-10) data.jetmassdroprel = 0; - else data.jetmassdroprel = std::log10(1-(jet.p4()-constituent->p4()).mass()/jet.mass()); + else data.jetmassdroprel = (jet.p4()-constituent->p4()).mass()/jet.mass(); reco::TransientTrack transientTrack = builder->build(constituent->pseudoTrack()); reco::Candidate::Vector jetDir = jet.momentum().Unit(); @@ -120,18 +121,18 @@ class ChargedPFTagDataPlugin: TVector3 jetDir3(jetDir.x(),jetDir.y(),jetDir.z()); data.trackEtaRel=reco::btau::etaRel(jetDir, trackMom); - data.trackPtRel=std::log10(trackMom3.Perp(jetDir3)); - data.trackPPar=std::log10(1+jetDir.Dot(trackMom)); + data.trackPtRel=trackMom3.Perp(jetDir3); + data.trackPPar=jetDir.Dot(trackMom); data.trackDeltaR=reco::deltaR(trackMom, jetDir); - data.trackPtRatio=std::log10(1-data.trackPtRel / trackMag); - data.trackPParRatio=std::log10(1+data.trackPPar / trackMag); + data.trackPtRatio=data.trackPtRel / trackMag; + data.trackPParRatio=data.trackPPar / trackMag; - data.trackSip2dVal=std::copysign(std::log10(std::fabs(meas_ip2d.value())),meas_ip2d.value()); - data.trackSip2dSig=std::copysign(std::log10(std::fabs(meas_ip2d.significance())),meas_ip2d.significance()); - data.trackSip3dVal=std::copysign(std::log10(std::fabs(meas_ip3d.value())),meas_ip3d.value()); - data.trackSip3dSig=std::copysign(std::log10(std::fabs(meas_ip3d.significance())),meas_ip3d.significance()); + data.trackSip2dVal=std::abs(meas_ip2d.value()); + data.trackSip2dSig=std::abs(meas_ip2d.significance()); + data.trackSip3dVal=std::abs(meas_ip3d.value()); + data.trackSip3dSig=std::abs(meas_ip3d.significance()); - data.trackJetDistVal = std::log10(1-jetdist.value()); + data.trackJetDistVal = jetdist.value(); data.trackJetDistSig = jetdist.significance(); float sumPt = 0.; @@ -143,7 +144,7 @@ class ChargedPFTagDataPlugin: sumPt += other->pt(); } } - data.relIso01 = 10./(10.+sumPt/constituent->pt()); + data.relIso01 = sumPt/constituent->pt(); data.lostInnerHits = constituent->lostInnerHits(); //http://cmsdoxygen.web.cern.ch/cmsdoxygen/CMSSW_9_4_4/doc/html/d8/d79/classpat_1_1PackedCandidate.html#ab9ef9a12f92e02fa61653ba77ee34274 diff --git a/Jet/plugins/JetOriginTagPlugin.cc b/Jet/plugins/JetOriginTagPlugin.cc index 1493af3..2b10002 100644 --- a/Jet/plugins/JetOriginTagPlugin.cc +++ b/Jet/plugins/JetOriginTagPlugin.cc @@ -120,7 +120,7 @@ class JetOriginTagDataPlugin: { mother = mother->mother(); } - //find gluon anchestor + //find gluon ancestor if (mother->mother() and mother->mother()->pdgId()==21) { nGluons+=1; diff --git a/Jet/plugins/NeutralPFTagPlugin.cc b/Jet/plugins/NeutralPFTagPlugin.cc index caf654f..8d378ca 100644 --- a/Jet/plugins/NeutralPFTagPlugin.cc +++ b/Jet/plugins/NeutralPFTagPlugin.cc @@ -63,7 +63,6 @@ class NeutralPFTagDataPlugin: { const pat::Jet& jet = jetCollection->at(ijet); const float jet_pt_uncorr = jet.correctedJet("Uncorrected").pt(); - //const float jet_e_uncorr = jet.correctedJet("Uncorrected").energy(); std::vector npfData; for (unsigned int idaughter = 0; idaughter < jet.numberOfDaughters(); ++idaughter) @@ -76,7 +75,7 @@ class NeutralPFTagDataPlugin: nanox::NeutralPFTagData::Data data; - data.ptrel = 0.01/(0.01+constituent->pt()/jet_pt_uncorr); + data.ptrel = constituent->pt()/jet_pt_uncorr; data.puppi_weight = constituent->puppiWeight(); data.deltaR = reco::deltaR(*constituent,jet); data.isGamma = fabs(constituent->pdgId())==22; @@ -89,8 +88,9 @@ class NeutralPFTagDataPlugin: data.drminsv = std::min(data.drminsv,dR); } - if (jet.mass()<1e-10) data.jetmassdroprel = 0; - else data.jetmassdroprel = std::log10(1-(jet.p4()-constituent->p4()).mass()/jet.mass()); + if (jet.mass()<1e-10) data.jetmassdroprel = -9; + else data.jetmassdroprel = (jet.p4()- constituent->p4()).mass()/jet.mass(); + float sumPt = 0.; for (unsigned int jdaughter = 0; jdaughter < jet.numberOfDaughters(); ++jdaughter) @@ -101,7 +101,7 @@ class NeutralPFTagDataPlugin: sumPt += other->pt(); } } - data.relIso01 = 10./(10.+sumPt/constituent->pt()); + data.relIso01 = sumPt/constituent->pt(); npfData.emplace_back(data); } diff --git a/Jet/plugins/SVTagPlugin.cc b/Jet/plugins/SVTagPlugin.cc index 64f355d..88e800c 100644 --- a/Jet/plugins/SVTagPlugin.cc +++ b/Jet/plugins/SVTagPlugin.cc @@ -87,10 +87,10 @@ class SVTagDataPlugin: data.pt = std::log10(sv.pt()); data.deltaR = reco::deltaR(sv,jet); - data.mass = std::log10(1+sv.mass()); + data.mass = sv.mass(); data.ntracks = sv.numberOfDaughters(); - data.chi2 = std::log10(sv.vertexChi2()); - data.normchi2 = std::log10(sv.vertexChi2()/sv.vertexNdof()); + data.chi2 = sv.vertexChi2(); + data.ndof = sv.vertexNdof(); reco::Vertex::CovarianceMatrix covsv; sv.fillVertexCovariance(covsv); @@ -98,18 +98,18 @@ class SVTagDataPlugin: VertexDistanceXY distXY; Measurement1D distanceXY = distXY.distance(svtx, pv); - data.dxy = 0.1/(0.1+distanceXY.value()); - data.dxysig = std::log10(distanceXY.value()/distanceXY.error()); + data.dxy = distanceXY.value(); + data.dxysig = distanceXY.value()/distanceXY.error(); VertexDistance3D dist3D; Measurement1D distance3D = dist3D.distance(svtx, pv); - data.d3d = 0.1/(0.1+distance3D.value()); - data.d3dsig = std::log10(distance3D.value()/distance3D.error()); + data.d3d = distance3D.value(); + data.d3dsig = distance3D.value()/distance3D.error(); reco::Candidate::Vector distance(sv.vx() - pv.x(), sv.vy() - pv.y(), sv.vz() - pv.z()); - data.costhetasvpv = 0.01/(1.01-sv.momentum().Unit().Dot(distance.Unit())); + data.costhetasvpv = sv.momentum().Unit().Dot(distance.Unit()); - data.enratio = 0.1/(0.1+sv.energy()/jet_e_uncorr); + data.enratio = sv.energy()/jet_e_uncorr; svData.emplace_back(data); diff --git a/LLPSpecific/test/crab.py b/LLPSpecific/test/crab.py index a4d8f38..47bbf3d 100644 --- a/LLPSpecific/test/crab.py +++ b/LLPSpecific/test/crab.py @@ -3,396 +3,16 @@ import copy import math -requestName = "NANOX_23_05_2019" +requestName = "NANOX_190606" isData = False userName = "vcepaiti" +#userName = "mkomm" -''' - "SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - - "SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - "SMS-T1qqqq_ctau-100000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") - ], - - # === ZJetsToNuNu === - "ZJetsToNuNu_HT-100To200_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-100To200_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "ZJetsToNuNu_HT-200To400_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-200To400_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "ZJetsToNuNu_HT-400To600_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-400To600_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "ZJetsToNuNu_HT-600To800_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-600To800_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "ZJetsToNuNu_HT-800to1200_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-800To1200_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "ZJetsToNuNu_HT-1200To2500_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-1200To2500_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "ZJetsToNuNu_HT-2500ToInf_13TeV-madgraph":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZJetsToNuNu_HT-2500ToInf_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - # === WJetsToLNu === - "WJetsToLNu_HT-70To100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-70To100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-100To200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-100To200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-200To400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-200To400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-400To600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-400To600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-600To800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-600To800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-800To1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-800To1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-1200To2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-1200To2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WJetsToLNu_HT-2500ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WJetsToLNu_HT-2500ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - - # === GJets === - - "GJets_HT-40To100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/GJets_HT-40To100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "GJets_HT-100To200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/GJets_HT-100To200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "GJets_HT-200To400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/GJets_HT-200To400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "GJets_HT-400To600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/GJets_HT-400To600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "GJets_HT-600ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/GJets_HT-600ToInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - - # === DYJetsToLL === - - "DYJetsToLL_M-50_HT-70to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-70to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "DYJetsToLL_M-50_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - - # === TTJets === - - "TTJets_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), - ], - - "TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - - "TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - - "TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - - "TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - - "TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - - "TTJets_SingleLeptFromT_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_SingleLeptFromT_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "TTJets_SingleLeptFromTbar_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_SingleLeptFromTbar_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - - # === QCD === - - "QCD_HT100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT200to300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT200to300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT300to500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT300to500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT500to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT500to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT700to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT700to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT1000to1500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT1000to1500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "QCD_HT2000toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT2000toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - - # === SingleTop ==== - "ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - "ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - "ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - # === DiBoson == # - - "WW_TuneCUETP8M1_13TeV-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WW_TuneCUETP8M1_13TeV-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "WZ_TuneCUETP8M1_13TeV-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "ZZ_TuneCUETP8M1_13TeV-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], +myJobs = { - # === EWK V+jets === # - "EWKWMinus2Jets_WToLNu_M-50_13TeV-madgraph-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/EWKWMinus2Jets_WToLNu_M-50_13TeV-madgraph-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "EWKWPlus2Jets_WToLNu_M-50_13TeV-madgraph-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/EWKWPlus2Jets_WToLNu_M-50_13TeV-madgraph-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "EWKZ2Jets_ZToLL_M-50_13TeV-madgraph-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/EWKZ2Jets_ZToLL_M-50_13TeV-madgraph-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - - "EWKZ2Jets_ZToNuNu_M-50_13TeV-madgraph-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/EWKZ2Jets_ZToNuNu_M-50_13TeV-madgraph-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - "QCD_Pt_30to50_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_30to50_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - "QCD_Pt_50to80_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_50to80_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - "QCD_Pt_80to120_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_80to120_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext2-v1/MINIAODSIM"), - ], - "QCD_Pt_120to170_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_120to170_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_170to300_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_170to300_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_300to470_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_300to470_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_470to600_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_470to600_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - "QCD_Pt_600to800_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_600to800_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_800to1000_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_800to1000_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_1000to1400_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_1000to1400_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_1400to1800_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_1400to1800_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_1800to2400_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_1800to2400_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - ], - "QCD_Pt_2400to3200_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_2400to3200_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - ], - "QCD_Pt_3200toInf_TuneCUETP8M1_13TeV_pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_3200toInf_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v3/MINIAODSIM"), - ], - - "TT_TuneCUETP8M2T4_13TeV-powheg-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WToLNu_0J_13TeV-amcatnloFXFX-pythia8_ext1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_0J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - "WToLNu_1J_13TeV-amcatnloFXFX-pythia8_ext1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_1J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v3/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - "WToLNu_1J_13TeV-amcatnloFXFX-pythia8_ext3":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_1J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext3-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WToLNu_2J_13TeV-amcatnloFXFX-pythia8_ext1":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_2J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WToLNu_2J_13TeV-amcatnloFXFX-pythia8_ext2":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_2J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext2-v1/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - - "WToLNu_2J_13TeV-amcatnloFXFX-pythia8_ext3":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_2J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext3-v5/MINIAODSIM"), - lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) - ], - # === Private Thomas' === + # Training samples + + # Private split SUSY by Thomas "T1qqqqLL_ctau-0p001_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-0p001_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-0p001_Madgraph_Pythia_MINIAODSIM_18_01_11-28028af67189b3de7224b79195bd0e1d/USER"), @@ -401,7 +21,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - "T1qqqqLL_ctau-0p01_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-0p01_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-0p01_Madgraph_Pythia_MINIAODSIM_18_01_12-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -409,7 +28,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - "T1qqqqLL_ctau-0p1_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-0p1_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-0p1_Madgraph_Pythia_MINIAODSIM_18_01_12-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -417,7 +35,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - "T1qqqqLL_ctau-1_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-1_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-1_Madgraph_Pythia_MINIAODSIM_18_01_11-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -425,8 +42,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - - "T1qqqqLL_ctau-10_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-10_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-10_Madgraph_Pythia_MINIAODSIM_18_01_12-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -434,8 +49,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - - "T1qqqqLL_ctau-100_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-100_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-100_Madgraph_Pythia_MINIAODSIM_18_01_12-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -443,8 +56,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - - "T1qqqqLL_ctau-1000_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-1000_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-1000_Madgraph_Pythia_MINIAODSIM_17_12_23-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -452,8 +63,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - - "T1qqqqLL_ctau-10000_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-10000_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-10000_Madgraph_Pythia_MINIAODSIM_18_01_12-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -461,8 +70,6 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], - - "T1qqqqLL_ctau-100000_Madgraph_Pythia_GEN-SIM":[ lambda cfg: setattr(cfg.Data,"inputDataset","/T1qqqqLL_ctau-100000_Madgraph_Pythia_GEN-SIM/tstreble-T1qqqqLL_ctau-100000_Madgraph_Pythia_MINIAODSIM_17_12_29-28028af67189b3de7224b79195bd0e1d/USER"), lambda cfg: setattr(cfg.Data,"unitsPerJob", 100), @@ -471,95 +78,202 @@ lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") ], -''' + # ttbar -myJobs = { + "TT_TuneCUETP8M2T4_13TeV-powheg-pythia8-evtgen":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8-evtgen/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + + "TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], - # === Topping Up the Grid === + "TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], - "SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + "TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), ], + "TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + + # QCD + "QCD_Pt_30to50_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_30to50_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_Pt_50to80_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_50to80_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_Pt_80to120_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_80to120_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext2-v1/MINIAODSIM"), + ], + "QCD_Pt_120to170_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_120to170_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_170to300_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_170to300_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_300to470_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_300to470_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_470to600_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_470to600_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_Pt_600to800_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_600to800_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_800to1000_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_800to1000_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_1000to1400_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_1000to1400_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_1400to1800_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_1400to1800_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_1800to2400_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_1800to2400_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "QCD_Pt_2400to3200_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_2400to3200_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_Pt_3200toInf_TuneCUETP8M1_13TeV_pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_Pt_3200toInf_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v3/MINIAODSIM"), + ], + + + # WJets + "WToLNu_0J_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_0J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + "WToLNu_1J_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_1J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v3/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + "WToLNu_2J_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_2J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + + # Evaluation samples + ''' + # split SUSY + # official samples + + "SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], "SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - "SMS-T1qqqq_ctau-100000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + + #Top-up + + "SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-10000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") + ], + "SMS-T1qqqq_ctau-100000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_extra":[ lambda cfg: setattr(cfg.Data,"inputDataset","/SMS-T1qqqq_ctau-100000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/mkomm-LLP_miniaodv180920-312db0fc9b855c6adca5525185ce0591/USER"), - lambda cfg: setattr(cfg.Data,"unitsPerJob", 5), - lambda cfg: setattr(cfg.Data,"inputDBS", 'phys03'), - lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), - lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=T1qqqqLL") + lambda cfg: setattr(cfg.Data,"unitsPerJob",15), + lambda cfg: setattr(cfg.Data,"inputDBS","phys03"), + lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True") ], - - - # === Gluino decay to gravitino (GMSB model) === + # Other LL models + # Gluino decay to gravitino (GMSB model) "gluinoGMSB_M2500_ctau1000p0_TuneCUETP8M1_13TeV_pythia8":[ lambda cfg: setattr(cfg.Data,"inputDataset","/gluinoGMSB_M2500_ctau1000p0_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), @@ -572,7 +286,7 @@ lambda cfg: cfg.JobType.pyCfgParams.append("addLLPInfo=True"), lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=GMSB") ], - ## === RPV SUSY STOP TO B L === # + # RPV SUSY Stop To BL "DisplacedSUSY_StopToBL_M-1200_CTau-1_TuneCUETP8M1_13TeV_pythia8":[ lambda cfg: setattr(cfg.Data,"inputDataset","/DisplacedSUSY_StopToBL_M-1200_CTau-1_TuneCUETP8M1_13TeV_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), @@ -624,12 +338,173 @@ lambda cfg: cfg.JobType.pyCfgParams.append("LLPtype=HToSS") ], - "TT_TuneCUETP8M2T4_13TeV-powheg-pythia8-evtgen":[ - lambda cfg: setattr(cfg.Data,"inputDataset","/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8-evtgen/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + + # ttbar + "TT_TuneCUETP8M2T4_13TeV-powheg-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/TT_TuneCUETP8M2T4_13TeV-powheg-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + + # QCD + "QCD_HT100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT200to300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT200to300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT300to500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT300to500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT500to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT500to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT700to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT700to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT1000to1500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT1000to1500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT1500to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "QCD_HT2000toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/QCD_HT2000toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + + # wjets + + "WToLNu_0J_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_0J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_backup_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + "WToLNu_1J_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_1J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_backup_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) ], + "WToLNu_1J_13TeV-amcatnloFXFX-pythia8_ext3":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_1J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext3-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + + + "WToLNu_2J_13TeV-amcatnloFXFX-pythia8_ext2":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_2J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext2-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + "WToLNu_2J_13TeV-amcatnloFXFX-pythia8_ext3":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WToLNu_2J_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext3-v5/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + + # DYjets + "DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext2-v1/MINIAODSIM"), + ], + "DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + + # Znunu + "DYJetsToNuNu_Zpt-0To50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_Zpt-0To50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-50To100_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-50To100_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_ext4":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-100To250_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext4-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_ext4":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-250To400_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext4-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-400To650_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-400To650_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-400To650_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-400To650_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-650ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-650ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + "DYJetsToNuNu_PtZ-650ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_ext1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/DYJetsToNuNu_PtZ-650ToInf_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + + # Single-top + "ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/ST_t-channel_antitop_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + "ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/ST_t-channel_top_4f_inclusiveDecays_13TeV-powhegV2-madspin-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + lambda cfg: setattr(cfg.Data,"unitsPerJob",int(math.ceil(cfg.Data.unitsPerJob/3.*2))) + ], + "ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM"), + ], + + # Diboson + "WW_TuneCUETP8M1_13TeV-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WW_TuneCUETP8M1_13TeV-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "WZ_TuneCUETP8M1_13TeV-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/WZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + "ZZ_TuneCUETP8M1_13TeV-pythia8":[ + lambda cfg: setattr(cfg.Data,"inputDataset","/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM"), + ], + ''' } + +# DATA +for dataset in [ + '/SingleMuon/Run2016B-03Feb2017_ver2-v2/MINIAOD', + '/SingleMuon/Run2016C-03Feb2017-v1/MINIAOD', + '/SingleMuon/Run2016D-03Feb2017-v1/MINIAOD', + '/SingleMuon/Run2016E-03Feb2017-v1/MINIAOD', + '/SingleMuon/Run2016F-03Feb2017-v1/MINIAOD', + '/SingleMuon/Run2016G-03Feb2017-v1/MINIAOD', + '/SingleMuon/Run2016H-03Feb2017_ver2-v1/MINIAOD', + '/SingleMuon/Run2016H-03Feb2017_ver3-v1/MINIAOD', + ''' + '/MET/Run2016B-03Feb2017_ver2-v2/MINIAOD', + '/MET/Run2016C-03Feb2017-v1/MINIAOD', + '/MET/Run2016D-03Feb2017-v1/MINIAOD', + '/MET/Run2016E-03Feb2017-v1/MINIAOD', + '/MET/Run2016F-03Feb2017-v1/MINIAOD', + '/MET/Run2016G-03Feb2017-v1/MINIAOD', + '/MET/Run2016H-03Feb2017_ver2-v1/MINIAOD', + '/MET/Run2016H-03Feb2017_ver3-v1/MINIAOD', + ''' +]: + datasetSplit = dataset.split('/') + datasetName = datasetSplit[1]+"_"+datasetSplit[2] + myJobs[datasetName] = [ + lambda cfg,dataset=dataset: setattr(cfg.Data,"inputDataset", dataset), + lambda cfg,datasetSplit=datasetSplit: setattr(cfg.Data,"outputDatasetTag",datasetSplit[2]+"_"+cfg.Data.outputDatasetTag), + lambda cfg,datasetSplit=datasetSplit: cfg.JobType.pyCfgParams.append("isData=True") + ] + + configTmpl = Configuration() configTmpl.section_('General') @@ -640,9 +515,11 @@ configTmpl.JobType.psetName = "NANOX/LLPSpecific/test/produce_80X_NANOX.py" configTmpl.JobType.pluginName = 'Analysis' configTmpl.JobType.outputFiles = ['nano.root'] -configTmpl.JobType.maxJobRuntimeMin=40*60 +configTmpl.JobType.maxJobRuntimeMin=12*60 +configTmpl.JobType.maxMemoryMB = 4000 configTmpl.JobType.pyCfgParams = [] -configTmpl.JobType.allowUndistributedCMSSW = True +configTmpl.JobType.inputFiles = []#'QGL_cmssw8020_v2.db'] +configTmpl.JobType.allowUndistributedCMSSW = True configTmpl.JobType.maxMemoryMB = 4000 configTmpl.section_('Data') @@ -699,19 +576,19 @@ def submit(config): for modifier in jobModifiers: modifier(config) print config - + if not os.path.exists(configTmpl.JobType.psetName): print "\nConfiguration file ", pSet, "does not exist. Aborting..." sys.exit(1) print "Submitting job ",i," of ",len(myJobs.keys()),":",config.General.workArea - if os.path.isdir(os.path.join(os.getcwd(),config.General.workArea)): + if os.path.isdir(os.path.join(os.getcwd(),config.General.workArea)): print "Output directory ",os.path.join(os.getcwd(),config.General.workArea)," exists -> skipping" continue print config - + p = Process(target=submit, args=(config,)) p.start() p.join() - + diff --git a/LLPSpecific/test/produce_80X_NANOX.py b/LLPSpecific/test/produce_80X_NANOX.py index 7ee4e81..3791c9b 100644 --- a/LLPSpecific/test/produce_80X_NANOX.py +++ b/LLPSpecific/test/produce_80X_NANOX.py @@ -94,9 +94,9 @@ #'root://cms-xrd-global.cern.ch//store/mc/RunIISummer16MiniAODv2/DisplacedSUSY_StopToBL_M-1000_CTau-10_TuneCUETP8M1_13TeV_pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/50000/2A1590D3-16CC-E611-9460-B083FECFF52E.root' #'root://cmsxrootd.fnal.gov//store/user/mkomm/LLP/LLP_miniaodv180920/SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/SMS-T1qqqq_ctau-0p001_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/LLP_miniaodv180920/180926_190406/0000/T1qqqqLL_MINIAODSIM_10.root' #'root://cms-xrd-global.cern.ch//store/mc/RunIISummer16MiniAODv2/gluinoGMSB_M2000_ctau300p0_TuneCUETP8M1_13TeV_pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/50000/DC2F0032-5BC9-E611-BC7B-D48564593FA8.root' - #'root://cms-xrd-global.cern.ch//store/mc/RunIISummer16MiniAODv2/gluinoGMSB_M2000_ctau300p0_TuneCUETP8M1_13TeV_pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/50000/DC2F0032-5BC9-E611-BC7B-D48564593FA8.root' #'root://cms-xrd-global.cern.ch//store/user/tstreble/T1qqqqLL_ctau-0p001_Madgraph_Pythia_GEN-SIM/T1qqqqLL_ctau-0p001_Madgraph_Pythia_MINIAODSIM_18_01_11/180111_112650/0000/T1qqqqLL_MINIAODSIM_1.root' #'root://cms-xrd-global.cern.ch//store/mc/RunIISummer16MiniAODv2/SMS-T1qqqq_ctau-1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/MINIAODSIM/PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/10000/000486C0-2588-E711-8E92-0025905A48BA.root', + #'root://cms-xrd-global.cern.ch//store/user/mkomm/LLP/LLP_miniaodv180920/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/LLP_miniaodv180920/180926_190502/0000/T1qqqqLL_MINIAODSIM_190.root', #'root://cmsxrootd.fnal.gov//store/mc/RunIISummer16MiniAODv2/SMS-T1qqqq_ctau-0p01_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/MINIAODSIM/PUMoriond17_GridpackScan_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v2/110000/0C07E448-338A-E711-B877-0CC47A4D75F2.root' #"root://cmsxrootd.fnal.gov//store/mc/RunIISummer16MiniAODv2/QCD_Pt_30to50_TuneCUETP8M1_13TeV_pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/120000/04915DCA-1BB2-E611-8A4B-0CC47A4C8E56.root" #"root://cmsxrootd.fnal.gov//store/mc/RunIISummer16MiniAODv2/QCD_Pt_50to80_TuneCUETP8M1_13TeV_pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/110000/00898E1E-99B1-E611-8A4A-C81F66C8BA4C.root", @@ -267,17 +267,22 @@ def addFilter(seq,inputTag,cutString,minN=None): 'pfDeepFlavourTagInfos', ] bTagDiscriminators = [ - 'pfCombinedSecondaryVertexV2BJetTags', - 'pfDeepCSVJetTags:probudsg', - 'pfDeepCSVJetTags:probb', - 'pfDeepCSVJetTags:probc', - 'pfDeepCSVJetTags:probbb', - 'pfDeepFlavourJetTags:probb', - 'pfDeepFlavourJetTags:probbb', - 'pfDeepFlavourJetTags:problepb', - 'pfDeepFlavourJetTags:probc', - 'pfDeepFlavourJetTags:probuds', - 'pfDeepFlavourJetTags:probg', + #'softPFMuonBJetTags', + #'softPFElectronBJetTags', + #'pfJetBProbabilityBJetTags', + #'pfJetProbabilityBJetTags', + 'pfCombinedSecondaryVertexV2BJetTags', + 'pfDeepCSVJetTags:probudsg', #to be fixed with new names + 'pfDeepCSVJetTags:probb', + 'pfDeepCSVJetTags:probc', + 'pfDeepCSVJetTags:probbb', + #'pfDeepCSVJetTags:probcc', + 'pfDeepFlavourJetTags:probb', + 'pfDeepFlavourJetTags:probbb', + 'pfDeepFlavourJetTags:problepb', + #'pfDeepFlavourJetTags:probc', + #'pfDeepFlavourJetTags:probuds', + #'pfDeepFlavourJetTags:probg' ] updateJetCollection( @@ -542,5 +547,3 @@ def addFilter(seq,inputTag,cutString,minN=None): from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete process = customiseEarlyDelete(process) # End adding early deletion - -