diff --git a/CMGTools/VVResonances/cfg/runVV_cfg.py b/CMGTools/VVResonances/cfg/runVV_cfg.py index f3fb8bf82911e..3ab94132c38ba 100644 --- a/CMGTools/VVResonances/cfg/runVV_cfg.py +++ b/CMGTools/VVResonances/cfg/runVV_cfg.py @@ -38,36 +38,36 @@ "HT800":triggers_HT800, "HT900":triggers_HT900, "JJ":triggers_dijet_fat, - "MET90":triggers_Jet80MET90, - "MET120":triggers_Jet80MET120 + "MET90":triggers_met90_mht90+triggers_metNoMu90_mhtNoMu90, + "MET120":triggers_metNoMu120_mhtNoMu120 } #-------- HOW TO RUN -test = 0 +test = 1 if test==1: # test a single component, using a single thread. - selectedComponents = [ZJetsToNuNu_HT100to200] + selectedComponents = [VBF_RadionToZZ_narrow_4500] for c in selectedComponents: + c.files = c.files[:1] c.splitFactor = 1 - elif test==2: # test all components (1 thread per component). - selectedComponents = [dataSamples[0]] + selectedComponents = [BulkGravToWW_narrow_2500] for comp in selectedComponents: comp.splitFactor = 1 # comp.files = comp.files[:1] +elif test==3: + # test all components (1 thread per component). + selectedComponents = [DYJetsToLL_M50_HT600toInf] + for comp in selectedComponents: + comp.splitFactor = 1 -elif test==3: - # test a single component, using a single thread. - selectedComponents = [signalSamples[0]] - for c in selectedComponents: - c.files = c.files[:1] - c.splitFactor = 1 - - - - +elif test==4: + # test all components (1 thread per component). + selectedComponents = [RSGravToWWToLNQQ_kMpl01_4500] + for comp in selectedComponents: + comp.splitFactor = 20 ## output histogram outputService=[] diff --git a/CMGTools/VVResonances/data/pileup_DATA.root b/CMGTools/VVResonances/data/pileup_DATA.root index a6d0fd05fa12c..d25b8629a56b2 100644 Binary files a/CMGTools/VVResonances/data/pileup_DATA.root and b/CMGTools/VVResonances/data/pileup_DATA.root differ diff --git a/CMGTools/VVResonances/interface/FastJetInterface.h b/CMGTools/VVResonances/interface/FastJetInterface.h index 004d4e1724d03..58c5b7c8104f5 100644 --- a/CMGTools/VVResonances/interface/FastJetInterface.h +++ b/CMGTools/VVResonances/interface/FastJetInterface.h @@ -30,12 +30,12 @@ class FastJetInterface { void makeExclusiveJets( int); void makeExclusiveJets( double); void makeExclusiveJetsUpTo(int); - void makeSubJets(unsigned int); - void makeSubJets(unsigned int, double); - void makeSubJets(unsigned int, int); - void makeSubJetsUpTo(unsigned int, int); - void prune(bool,double zcut,double rcutfactor); - void softDrop(bool,double beta,double zcut,double R0); + void makeSubJets(bool,unsigned int); + void makeSubJets(bool,unsigned int, double); + void makeSubJets(bool,unsigned int, int); + void makeSubJetsUpTo(bool,unsigned int, int); + void prune(bool,unsigned int ,double zcut,double rcutfactor); + void softDrop(bool,unsigned int,double beta,double zcut,double R0); bool massDropTag( unsigned int, double&,double&); diff --git a/CMGTools/VVResonances/python/analyzers/EventInterpretationBase.py b/CMGTools/VVResonances/python/analyzers/EventInterpretationBase.py index 989514ac1a8f4..a186406909472 100644 --- a/CMGTools/VVResonances/python/analyzers/EventInterpretationBase.py +++ b/CMGTools/VVResonances/python/analyzers/EventInterpretationBase.py @@ -6,7 +6,7 @@ from PhysicsTools.HeppyCore.utils.deltar import * import PhysicsTools.HeppyCore.framework.config as cfg from CMGTools.VVResonances.tools.PyJetToolbox import * - +from copy import copy @@ -36,13 +36,18 @@ def __init__(self, cfg_ana, cfg_comp, looperName): if self.cfg_comp.isMC: if hasattr(self.cfg_comp,'globalTag'): self.jetReCalibrator = JetReCalibrator(self.cfg_comp.globalTag,self.cfg_ana.recalibrationType, False,cfg_ana.jecPath) + self.jetReCalibratorFAT = JetReCalibrator(self.cfg_comp.globalTag,self.cfg_ana.recalibrationTypeFAT, False,cfg_ana.jecPath) + else: self.jetReCalibrator = JetReCalibrator(mcGT,self.cfg_ana.recalibrationType, False,cfg_ana.jecPath) + self.jetReCalibratorFAT = JetReCalibrator(mcGT,self.cfg_ana.recalibrationTypeFAT, False,cfg_ana.jecPath) else: if hasattr(self.cfg_comp,'globalTag'): self.jetReCalibrator = JetReCalibrator(self.cfg_comp.globalTag,self.cfg_ana.recalibrationType, True,cfg_ana.jecPath) + self.jetReCalibratorFAT = JetReCalibrator(self.cfg_comp.globalTag,self.cfg_ana.recalibrationTypeFAT, True,cfg_ana.jecPath) else: self.jetReCalibrator = JetReCalibrator(dataGT,self.cfg_ana.recalibrationType, True,cfg_ana.jecPath) + self.jetReCalibratorFAT = JetReCalibrator(dataGT,self.cfg_ana.recalibrationTypeFAT, True,cfg_ana.jecPath) self.attachBTag = cfg_ana.attachBTag if self.attachBTag: @@ -69,16 +74,22 @@ def declareHandles(self): def removeLeptonFootPrint(self,leptons,cands): toRemove=[] + cList=list(cands) for lepton in leptons: + for p in range(0,lepton.numberOfSourceCandidatePtrs()): index = lepton.sourceCandidatePtr(p).key() - toRemove.append(cands[index]) - return list(set(cands)-set(toRemove)) + if not cands[index] in toRemove: + toRemove.append(cands[index]) + + for r in toRemove: + cList.remove(r) + return cList def matchSubJets(self,jets,genquarks): for j in jets: - for s in j.subjets: + for s in j.subjets_SD+j.subjets: s.mcquark = None s.matched=0 for g in genquarks: @@ -118,21 +129,34 @@ def makeFatJets(self,cands): else: toolboxFat.setSoftDrop(self.cfg_ana.softdrop) # Lets cluster !! Fat jets first - fatJets=toolboxFat.inclusiveJets(100.0,True) + fatJets=toolboxFat.inclusiveJets(200.0,True) filtered = filter(self.selectFat,fatJets) + ##Apply JECS in SoftDrop and Pruned: + if self.jetReCalibratorFAT is not None: + + prunedJets=[] + for j in fatJets: + prunedJets.append(j.softDropJet) + prunedJets.append(j.prunedJet) + + self.jetReCalibratorFAT.correctAll(prunedJets, self.rho, self.shiftJEC,True,False,[0.,0.],[0.,0.,0.]) + for p in prunedJets: + p.setRawFactor(1.0/p.corr) standardFatJets = self.handles['fatjets'].product() if self.attachBTag: for fat in filtered: for standardFat in standardFatJets: fat.btag = standardFat.bDiscriminator(self.btagDiscriminator) - for j in fat.subjets: + for j in fat.subjets_SD+fat.subjets: for standard in self.handles['subjets'].product(): if deltaR(j.eta(),j.phi(),standard.eta(),standard.phi())<0.1: j.btag = standard.bDiscriminator(self.btagDiscriminator) break + + return filtered def makeSatelliteJets(self,cands): @@ -142,9 +166,12 @@ def makeSatelliteJets(self,cands): toolbox.setSubjets(False,'inc',2) toolbox.setPruning(False) toolbox.setNtau(False) - toolbox.setSoftDrop(False) - + toolbox.setSoftDrop(False) unfiltered = toolbox.inclusiveJets(30.0,False) + + + + if self.attachBTag: for j in unfiltered: for standard in self.handles['jets'].product(): @@ -154,18 +181,63 @@ def makeSatelliteJets(self,cands): if self.jetReCalibrator is not None: self.jetReCalibrator.correctAll(unfiltered, self.rho, self.shiftJEC,True,False,[0.,0.],[0.,0.,0.]) - return filter(lambda x: x.pt()>30, unfiltered) + for p in unfiltered: + p.setRawFactor(1.0/p.corr) + + + filtered=filter(lambda x: x.pt()>30, unfiltered) + return filtered else: return unfiltered def removeJetFootPrint(self,jets,cands): + + toRemove=[] for j in jets: toRemove.extend(j.constituents) - return list(set(cands)-set(toRemove)) + out=list(set(cands)-set(toRemove)) + return out def topology(self,obj): + + #first clean nicely the jets from leptons and subjets + objToClean=[] + if abs(obj['pair'].leg1.pdgId())==23: + objToClean.extend([obj['pair'].leg1.leg1,obj['pair'].leg1.leg2]) +# print 'Z->ll', obj['pair'].leg1.leg1.pt(),obj['pair'].leg1.leg1.eta(),obj['pair'].leg1.leg1.phi(),obj['pair'].leg1.leg2.pt(),obj['pair'].leg1.leg2.eta(),obj['pair'].leg1.leg2.phi() + if abs(obj['pair'].leg1.pdgId())==24: + objToClean.extend([obj['pair'].leg1.leg1]) +# print 'W->lnu', obj['pair'].leg1.leg1.pt(),obj['pair'].leg1.leg1.eta(),obj['pair'].leg1.leg1.phi() + + if abs(obj['pair'].leg1.pdgId())==1: + objToClean.extend(obj['pair'].leg1.subjets) + + if abs(obj['pair'].leg2.pdgId())==23: + objToClean.extend([obj['pair'].leg2.leg1,obj['pair'].leg2.leg2]) + if abs(obj['pair'].leg2.pdgId())==24: + objToClean.extend([obj['pair'].leg2.leg1]) + if abs(obj['pair'].leg2.pdgId())==1: + objToClean.extend(obj['pair'].leg2.subjets) +# print 'jet', obj['pair'].leg2.pt(),obj['pair'].leg2.eta(),obj['pair'].leg2.phi() + + newJets=[] + for j in obj['satelliteJets']: + keep=True + for c in objToClean: + dr=deltaR(j.eta(),j.phi(),c.eta(),c.phi()) +# print 'dr=',dr + if dr<0.4: + keep=False + break + if keep: +# print 'filtered satellite jet',j.pt(),j.eta(),j.phi() + newJets.append(j) + + + obj['satelliteJets']=newJets + if len(obj['satelliteJets'])<2: obj['vbfDEta'] = -1.0 obj['vbfMJJ'] = -1.0 diff --git a/CMGTools/VVResonances/python/analyzers/LeptonicVMaker.py b/CMGTools/VVResonances/python/analyzers/LeptonicVMaker.py index 93922fcee2ab6..d369cf810dc49 100644 --- a/CMGTools/VVResonances/python/analyzers/LeptonicVMaker.py +++ b/CMGTools/VVResonances/python/analyzers/LeptonicVMaker.py @@ -24,6 +24,10 @@ def makeDiLeptons(self,leptonList): for l1,l2 in combinations(leptonList,2): if (l1.pdgId() == -l2.pdgId()): pair = Pair(l1,l2,23) + if abs(l1.pdgId())==11: + self.eeIsolationFootPrint(pair) + elif abs(l1.pdgId())==13: + self.mumuIsolationFootPrint(pair) m=pair.p4().mass() if self.selectLLPair(pair): # print 'New Z with mass ',m @@ -31,6 +35,99 @@ def makeDiLeptons(self,leptonList): return output + def muIsolationFootPrint(self,z):#does nothing / for common interface + footPrintLeg1=0.0 + z.leg1.cleanedChargedIso = max(z.leg1.pfIsolationR04().sumChargedHadronPt,0.0) + z.leg1.cleanedNeutralIsoDB=max( z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-z.leg1.puChargedHadronIsoR(0.4)/2, 0.0) + z.leg1.cleanedNeutralIsoRho=max(z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-z.leg1.rho*z.leg1.EffectiveArea04,0) + + + + def mumuIsolationFootPrint(self,z): + footPrintLeg1=0.0 + footPrintLeg2=0.0 + dr=deltaR(z.leg1.eta(),z.leg1.phi(),z.leg2.eta(),z.leg2.phi()) + if dr<0.4 and not z.leg2.isPFMuon(): + footPrintLeg1=z.leg2.pt() + if dr<0.4 and not z.leg1.isPFMuon(): + footPrintLeg2=z.leg2.pt() + + z.leg1.cleanedChargedIso = max(z.leg1.pfIsolationR04().sumChargedHadronPt-footPrintLeg1,0.0) + z.leg2.cleanedChargedIso = max(z.leg2.pfIsolationR04().sumChargedHadronPt-footPrintLeg2,0.0) + z.leg1.cleanedNeutralIsoDB=max( z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-z.leg1.puChargedHadronIsoR(0.4)/2, 0.0) + z.leg1.cleanedNeutralIsoRho=max(z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-z.leg1.rho*z.leg1.EffectiveArea04,0) + z.leg2.cleanedNeutralIsoDB=max( z.leg2.neutralHadronIsoR(0.4)+z.leg2.photonIsoR(0.4)-z.leg2.puChargedHadronIsoR(0.4)/2, 0.0) + z.leg2.cleanedNeutralIsoRho=max(z.leg2.neutralHadronIsoR(0.4)+z.leg2.photonIsoR(0.4)-z.leg2.rho*z.leg2.EffectiveArea04,0) + + + + def eIsolationFootPrint(self,z): + footPrintChargedLeg1=0.0 + footPrintNeutralLeg1=0.0 + + if not z.leg1.isPF(): + + for i in range(0,z.leg1.associatedPackedPFCandidates().size()): + c=z.leg1.associatedPackedPFCandidates()[i] + dr = deltaR(z.leg1.eta(),z.leg1.phi(),c.eta(),c.phi()) + if z.leg1.isEB() or (dr>0.08 and dr<0.4): + if c.charge()>0: + footPrintChargedLeg1=footPrintChargedLeg1+c.pt() + else: + footPrintNeutralLeg1=footPrintNeutralLeg1+c.pt() + + z.leg1.cleanedChargedIso = max(z.leg1.chargedHadronIsoR(0.4)-footPrintChargedLeg1,0.0) + z.leg1.cleanedNeutralIsoDB=max( z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-footPrintNeutralLeg1-z.leg1.puChargedHadronIsoR(0.4)/2, 0.0) + z.leg1.cleanedNeutralIsoRho=max(z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-footPrintNeutralLeg1-z.leg1.rho*z.leg1.EffectiveArea04,0) + + def eeIsolationFootPrint(self,z): + footPrintChargedLeg1=0.0 + footPrintChargedLeg2=0.0 + footPrintNeutralLeg1=0.0 + footPrintNeutralLeg2=0.0 + + if not z.leg1.isPF(): + + for i in range(0,z.leg1.associatedPackedPFCandidates().size()): + c=z.leg1.associatedPackedPFCandidates()[i] + dr = deltaR(z.leg1.eta(),z.leg1.phi(),c.eta(),c.phi()) + if z.leg1.isEB() or (dr>0.08 and dr<0.4): + if c.charge()>0: + footPrintChargedLeg1=footPrintChargedLeg1+c.pt() + else: + footPrintNeutralLeg1=footPrintNeutralLeg1+c.pt() + dr = deltaR(z.leg2.eta(),z.leg2.phi(),c.eta(),c.phi()) + if z.leg2.isEB() or (dr>0.08 and dr<0.4): + if c.charge()>0: + footPrintChargedLeg2=footPrintChargedLeg2+c.pt() + else: + footPrintNeutralLeg2=footPrintNeutralLeg2+c.pt() + + if not z.leg2.isPF(): + for i in range(0,z.leg2.associatedPackedPFCandidates().size()): + c=z.leg2.associatedPackedPFCandidates()[i] + dr = deltaR(z.leg2.eta(),z.leg2.phi(),c.eta(),c.phi()) + if z.leg2.isEB() or (dr>0.08 and dr<0.4): + if c.charge()>0: + footPrintChargedLeg2=footPrintChargedLeg2+c.pt() + else: + footPrintNeutralLeg2=footPrintNeutralLeg2+c.pt() + dr = deltaR(z.leg1.eta(),z.leg1.phi(),c.eta(),c.phi()) + if z.leg1.isEB() or (dr>0.08 and dr<0.4): + if c.charge()>0: + footPrintChargedLeg1=footPrintChargedLeg1+c.pt() + else: + footPrintNeutralLeg1=footPrintNeutralLeg1+c.pt() + + + z.leg1.cleanedChargedIso = max(z.leg1.chargedHadronIsoR(0.4)-footPrintChargedLeg1,0.0) + z.leg2.cleanedChargedIso = max(z.leg1.chargedHadronIsoR(0.4)-footPrintChargedLeg2,0.0) + z.leg1.cleanedNeutralIsoDB=max( z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-footPrintNeutralLeg1-z.leg1.puChargedHadronIsoR(0.4)/2, 0.0) + z.leg1.cleanedNeutralIsoRho=max(z.leg1.neutralHadronIsoR(0.4)+z.leg1.photonIsoR(0.4)-footPrintNeutralLeg1-z.leg1.rho*z.leg1.EffectiveArea04,0) + z.leg2.cleanedNeutralIsoDB=max( z.leg2.neutralHadronIsoR(0.4)+z.leg2.photonIsoR(0.4)-footPrintNeutralLeg2-z.leg2.puChargedHadronIsoR(0.4)/2, 0.0) + z.leg2.cleanedNeutralIsoRho=max(z.leg2.neutralHadronIsoR(0.4)+z.leg2.photonIsoR(0.4)--footPrintNeutralLeg2-z.leg2.rho*z.leg2.EffectiveArea04,0) + + def simpleWKinematicFit(self,pair): MW=80.390 @@ -84,7 +181,7 @@ def simpleWKinematicFit(self,pair): def defaultWKinematicFit(self,pair): MW=80.390 - muonLV = ROOT.TLorentzVector(pair.leg1.px(),pair.leg1.py(),pair.leg1.pz(),pair.leg1.energy()) + muLonLV = ROOT.TLorentzVector(pair.leg1.px(),pair.leg1.py(),pair.leg1.pz(),pair.leg1.energy()) metLV = ROOT.TLorentzVector(pair.leg2.px(),pair.leg2.py(),pair.leg2.pz(),pair.leg2.energy()) @@ -124,6 +221,10 @@ def makeLeptonsMET(self,leptonList,MET): for l1 in leptonList: pair = Pair(l1,MET,l1.charge()*24) mt=pair.mt() + if abs(l1.pdgId())==11: + self.eIsolationFootPrint(pair) + elif abs(l1.pdgId())==13: + self.muIsolationFootPrint(pair) if self.selectLNuPair(pair): # self.defaultWKinematicFit(pair) self.simpleWKinematicFit(pair) @@ -145,14 +246,18 @@ def process(self, event): #now make Z first . for the remaining leptons after Z make W - leptonsSet = set(event.selectedLeptons) + leptons=list(event.selectedLeptons) used = [] + + for z in event.LL: used.extend([z.leg1,z.leg2]) - usedSet = set(used) - remaining = leptonsSet-usedSet - event.LNu = self.makeLeptonsMET(list(remaining),event.met) + for u in used: + leptons.remove(u) + + + event.LNu = self.makeLeptonsMET(leptons,event.met) return True diff --git a/CMGTools/VVResonances/python/analyzers/MultiFinalState.py b/CMGTools/VVResonances/python/analyzers/MultiFinalState.py index 27b3ef3d5fa52..67e528d6b09f6 100644 --- a/CMGTools/VVResonances/python/analyzers/MultiFinalState.py +++ b/CMGTools/VVResonances/python/analyzers/MultiFinalState.py @@ -15,12 +15,28 @@ def process(self, event): JJNuNu=[] TopCR=[] - if self.doSkim and not self.skim(event.selectedLeptons,event.met): + + leadJetConstituents=[] + + #clean leptons from reconstructed W->lnu and Z-> LL and make jets + goldenLeptonsList=[] + for W in event.LNu: + goldenLeptonsList.append(W.leg1) + for Z in event.LL: + goldenLeptonsList.append(Z.leg1) + goldenLeptonsList.append(Z.leg2) + + + goldenLeptonsSet=set(goldenLeptonsList) + goldenLeptons=list(goldenLeptonsSet) + + + if self.doSkim and not self.skim(goldenLeptons,event.met): return False - #clean leptons and make jets - cleanedPackedCandidates = self.removeLeptonFootPrint(event.selectedLeptons,event.packedCandidatesForJets) + cleanedPackedCandidates = self.removeLeptonFootPrint(goldenLeptons,event.packedCandidatesForJets) + if self.cfg_ana.doCHS: cleanedPackedCandidates = filter(lambda x: x.fromPV(0) ,cleanedPackedCandidates) @@ -37,13 +53,18 @@ def process(self, event): #find the jets in the opposite hemisphere of the lepton oppositeHemishereJets=[] for jet in selectedFatJets: - if jet.pt()>200 and deltaPhi(jet.phi(),bestW.leg1.phi())>3.14/2. and jet.softDropJet.mass()>40 and jet.softDropJet.mass()<130: + if jet.pt()>200 and deltaPhi(jet.phi(),bestW.phi())>3.14/2.: oppositeHemishereJets.append(jet) if len(oppositeHemishereJets)>0: - bestJet = max(oppositeHemishereJets,key=lambda x: x.softDropJet.mass()) + bestJet = max(oppositeHemishereJets,key=lambda x: x.prunedJet.mass()) + VV=Pair(bestW,bestJet) selected = {'pair':VV} + + #Additional leptons + selected['otherLeptons'] = list(goldenLeptonsSet-set([VV.leg1.leg1])) + remainingCands =self.removeJetFootPrint([bestJet],cleanedPackedCandidates) selected['satelliteJets']=self.makeSatelliteJets(remainingCands) self.topology(selected) @@ -64,6 +85,12 @@ def process(self, event): selected = {'pair':VV} remainingCands =self.removeJetFootPrint([jet],cleanedPackedCandidates) selected['satelliteJets']=self.makeSatelliteJets(remainingCands) + + leadJetConstituents=jet.prunedJet.constituents + + #Additional leptons + selected['otherLeptons'] = list(goldenLeptonsSet-set([VV.leg1.leg1,VV.leg1.leg2])) + #add VBF info self.topology(selected) LLJJ.append(selected) @@ -80,6 +107,11 @@ def process(self, event): selected = {'pair':VV} remainingCands =self.removeJetFootPrint([jet],cleanedPackedCandidates) selected['satelliteJets']=self.makeSatelliteJets(remainingCands) + leadJetConstituents=jet.prunedJet.constituents + + #Additional leptons + selected['otherLeptons'] = list(goldenLeptonsSet-set([VV.leg1.leg1])) + #add VBF info self.topology(selected) LNuJJ.append(selected) @@ -96,11 +128,17 @@ def process(self, event): selected = {'pair':VV} remainingCands =self.removeJetFootPrint([jet],cleanedPackedCandidates) selected['satelliteJets']=self.makeSatelliteJets(remainingCands) + leadJetConstituents=jet.prunedJet.constituents + + #Additional leptons + selected['otherLeptons'] = goldenLeptons + #add VBF info self.topology(selected) JJNuNu.append(selected) finished=True + #Now look for jet+jet if len(selectedFatJets)>1 and not finished: @@ -111,6 +149,11 @@ def process(self, event): selected = {'pair':VV} remainingCands =self.removeJetFootPrint([jet1,jet2],cleanedPackedCandidates) selected['satelliteJets']=self.makeSatelliteJets(remainingCands) + leadJetConstituents=jet1.prunedJet.constituents + + #Additional leptons + selected['otherLeptons'] = goldenLeptons + #add VBF info self.topology(selected) JJ.append(selected) @@ -118,13 +161,10 @@ def process(self, event): - - - - setattr(event,'LNuJJ'+self.cfg_ana.suffix,LNuJJ) setattr(event,'JJ'+self.cfg_ana.suffix,JJ) setattr(event,'LLJJ'+self.cfg_ana.suffix,LLJJ) setattr(event,'JJNuNu'+self.cfg_ana.suffix,JJNuNu) setattr(event,'TopCR'+self.cfg_ana.suffix,TopCR) + setattr(event,'leadJetConstituents'+self.cfg_ana.suffix,leadJetConstituents) diff --git a/CMGTools/VVResonances/python/analyzers/PackedCandidateLoader.py b/CMGTools/VVResonances/python/analyzers/PackedCandidateLoader.py index f97dfcfd37e42..ccb2714aea772 100644 --- a/CMGTools/VVResonances/python/analyzers/PackedCandidateLoader.py +++ b/CMGTools/VVResonances/python/analyzers/PackedCandidateLoader.py @@ -11,6 +11,10 @@ class PackedCandidateLoader( Analyzer ): def __init__(self, cfg_ana, cfg_comp, looperName): super(PackedCandidateLoader,self).__init__(cfg_ana, cfg_comp, looperName) + if hasattr(cfg_ana,'cut'): + self.select = cfg_ana.cut + else: + self.select = None def declareHandles(self): super(PackedCandidateLoader, self).declareHandles() @@ -19,8 +23,10 @@ def declareHandles(self): def process(self, event): self.readCollections( event.input ) cands = self.handles['packed'].product() - event.packedCandidatesForJets = cands - + if self.select==None: + event.packedCandidatesForJets = cands + else: + event.packedCandidatesForJets = filter(self.select,cands) diff --git a/CMGTools/VVResonances/python/analyzers/core_cff.py b/CMGTools/VVResonances/python/analyzers/core_cff.py index c6da014c54324..c2da61e299e11 100644 --- a/CMGTools/VVResonances/python/analyzers/core_cff.py +++ b/CMGTools/VVResonances/python/analyzers/core_cff.py @@ -9,7 +9,8 @@ from CMGTools.VVResonances.analyzers.PackedCandidateLoader import * from CMGTools.VVResonances.analyzers.LeptonicVMaker import * from CMGTools.VVResonances.analyzers.Skimmer import * -from CMGTools.VVResonances.tools.leptonID import muonID,electronID +from CMGTools.VVResonances.tools.leptonID import * +from PhysicsTools.HeppyCore.utils.deltar import * import os @@ -130,47 +131,47 @@ doSegmentBasedMuonCleaning=False, # inclusive very loose muon selection inclusive_muon_id = "", - inclusive_muon_pt = 35.0, + inclusive_muon_pt = 15.0, inclusive_muon_eta = 2.4, inclusive_muon_dxy = 0.2, inclusive_muon_dz = 0.2, muon_dxydz_track = "innerTrack", # loose muon selection loose_muon_id = "", - loose_muon_pt = 35.0, + loose_muon_pt = 20.0, loose_muon_eta = 2.4, loose_muon_dxy = 0.02, loose_muon_dz = 0.2, - loose_muon_isoCut = muonID, + loose_muon_isoCut = muonIDCommon, # inclusive very loose electron selection inclusive_electron_id = "", - inclusive_electron_pt = 35.0, + inclusive_electron_pt = 15.0, inclusive_electron_eta = 2.5, - inclusive_electron_dxy = 0.02, + inclusive_electron_dxy = 0.2, inclusive_electron_dz = 0.2, inclusive_electron_lostHits = 1.0, # loose electron selection loose_electron_id = "", loose_electron_pt = 35.0, loose_electron_eta = 2.5, - loose_electron_dxy = 0.02, + loose_electron_dxy = 0.2, loose_electron_dz = 0.2, loose_electron_isoCut = electronID, loose_electron_lostHits = 1.0, # muon isolation correction method (can be "rhoArea" or "deltaBeta") mu_isoCorr = "deltaBeta", - mu_effectiveAreas = "Phys14_25ns_v1", #(can be 'Data2012' or 'Phys14_25ns_v1') + mu_effectiveAreas = "Spring15_25ns_v1", #(can be 'Data2012' or 'Phys14_25ns_v1') # electron isolation correction method (can be "rhoArea" or "deltaBeta") ele_isoCorr = "rhoArea" , - el_effectiveAreas = "Phys14_25ns_v1" , #(can be 'Data2012' or 'Phys14_25ns_v1') - ele_tightId = "Cuts_2012" , + el_effectiveAreas = "Spring15_25ns_v1" , #(can be 'Data2012' or 'Phys14_25ns_v1') + ele_tightId = "" , # Mini-isolation, with pT dependent cone: will fill in the miniRelIso, miniRelIsoCharged, miniRelIsoNeutral variables of the leptons (see https://indico.cern.ch/event/368826/ ) - doMiniIsolation = True, # off by default since it requires access to all PFCandidates + doMiniIsolation = False, # off by default since it requires access to all PFCandidates packedCandidates = 'packedPFCandidates', miniIsolationPUCorr = 'deltaBeta', # Allowed options: 'rhoArea' (EAs for 03 cone scaled by R^2), 'deltaBeta', 'raw' (uncorrected), 'weights' (delta beta weights; not validated) miniIsolationVetoLeptons = 'inclusive', # use 'inclusive' to veto inclusive leptons and their footprint in all isolation cones # minimum deltaR between a loose electron and a loose muon (on overlaps, discard the electron) - min_dr_electron_muon = 0.1, + min_dr_electron_muon = 0.0, # do MC matching do_mc_match = True, # note: it will in any case try it only on MC, not on data match_inclusiveLeptons = False, # match to all inclusive leptons @@ -232,14 +233,15 @@ leptonicVAna = cfg.Analyzer( LeptonicVMaker, name='leptonicVMaker', - selectLNuPair=(lambda x: x.pt()>200.0), - selectLLPair=(lambda x: x.mass()>70.0 and x.mass()<110.0 and x.pt()>100.0) + selectLNuPair=(lambda x: isolationW(x) and leptonIDW(x) ), + selectLLPair=(lambda x: x.mass()>60.0 and x.mass()<120.0 and isolationZ(x) ) ) packedAna = cfg.Analyzer( PackedCandidateLoader, - name = 'PackedCandidateLoader' + name = 'PackedCandidateLoader', + select=lambda x: x.pt()<13000.0 ) @@ -251,22 +253,21 @@ massdrop=True, subjets=2, doCHS = True, - prunning=False, + prunning=True, softdrop = True, softdrop_beta=0.0, softdrop_zeta=0.1, - selectFat = (lambda x: x.pt()>100.0 and abs(x.eta())<2.4 and len(x.subjets)==2 and x.softDropJet.mass()>0.0) , + selectFat = (lambda x: x.pt()>200.0 and abs(x.eta())<2.4 and x.prunedJet.mass()>0.0 and len(x.subjets)>1 and x.looseID), ktPower=-1.0, r = 0.4, - selectPairLL = (lambda x: x.mass()>200.0 and x.deltaPhi()>1.5 ), - selectPairLNu = (lambda x: x.mass()>200.0 and x.deltaPhi()>1.5 ), - selectPairJJ = (lambda x: x.mass()>1000.0 and x.deltaPhi()>1.5 ), - selectPairJJNuNu = (lambda x: x.leg1.pt()>300 and x.deltaPhi()>1.0 ), + selectPairLL = (lambda x: x.mass()>0 and x.deltaPhi()>1.5 and x.leg1.pt()>200 and ((abs(x.leg1.leg1.pdgId())==11 and max(x.leg1.leg1.pt(),x.leg1.leg2.pt())>80) or (abs(x.leg1.leg1.pdgId())==13 and max(x.leg1.leg1.pt(),x.leg1.leg2.pt())>50))), + selectPairLNu = (lambda x: x.deltaPhi()>1.5 and x.leg1.pt()>200 and ((abs(x.leg1.leg1.pdgId())==11 and x.leg1.leg2.pt()>80) or (abs(x.leg1.leg1.pdgId())==13 and x.leg1.leg2.pt()>40))), + selectPairJJ = (lambda x: x.mass()>1000 and x.leg1.tightID and x.leg2.tightID), + selectPairJJNuNu = (lambda x: x.leg1.pt()>200 and x.deltaPhi()>1.5 ), suffix = '', recalibrateJets = True, # True, False, 'MC', 'Data' recalibrationType = "AK4PFchs", -# mcGT = "Summer15_50nsV5_MC", -# dataGT = "Summer15_50nsV5_DATA", + recalibrationTypeFAT = "AK8PFchs", jecPath = "%s/src/CMGTools/RootTools/data/jec/" % os.environ['CMSSW_BASE'], shiftJEC = 0, # set to +1 or -1 to get +/-1 sigma shifts rho = ('fixedGridRhoFastjetAll','',''), @@ -294,10 +295,9 @@ lepAna, metAna, leptonicVAna, - tauAna, - triggerFlagsAna, +# tauAna, packedAna, - multiStateAna -# eventFlagsAna - + multiStateAna, + eventFlagsAna, + triggerFlagsAna ] diff --git a/CMGTools/VVResonances/python/analyzers/tree_cff.py b/CMGTools/VVResonances/python/analyzers/tree_cff.py index 31057b6b9ae4a..0e7cbb8046c68 100644 --- a/CMGTools/VVResonances/python/analyzers/tree_cff.py +++ b/CMGTools/VVResonances/python/analyzers/tree_cff.py @@ -42,7 +42,9 @@ "TopCR" : NTupleCollection("topCR",LNuJJType ,5, help="Top control region candidate with a lepton neutrino and a fat jet"), "JJ" : NTupleCollection("jj",JJType ,5, help="VV candidate with two fat jets"), "LLJJ" : NTupleCollection("lljj",LLJJType ,5, help="VV candidate with two leptons and a fat jet"), - "JJNuNu" : NTupleCollection("nunujj",NuNuJJType ,5, help="VV candidate with fat jet and MET") + "JJNuNu" : NTupleCollection("nunujj",NuNuJJType ,5, help="VV candidate with fat jet and MET") +# "leadJetConstituents" : NTupleCollection("jetConstituents", particleType, 500, help="Constituents"), + # "genVBosons" : NTupleCollection("genV", genParticleWithLinksType, 10, help="Generated V bosons"), } ) diff --git a/CMGTools/VVResonances/python/analyzers/vvTypes.py b/CMGTools/VVResonances/python/analyzers/vvTypes.py index f85d495184a3d..ace8825625a71 100644 --- a/CMGTools/VVResonances/python/analyzers/vvTypes.py +++ b/CMGTools/VVResonances/python/analyzers/vvTypes.py @@ -1,6 +1,16 @@ from PhysicsTools.Heppy.analyzers.core.AutoFillTreeProducer import * +leptonTypeUltra = NTupleObjectType("leptonTypeUltra", baseObjectTypes=[leptonTypeExtra], variables = [ + NTupleVariable("cleanedChargedIso", lambda x : x.cleanedChargedIso, float), + NTupleVariable("cleanedNeutralIsoDB", lambda x : x.cleanedNeutralIsoDB, float), + NTupleVariable("cleanedNeutralIsoRho", lambda x : x.cleanedNeutralIsoRho, float), + NTupleVariable("cleanedRelIsoDB", lambda x : (x.cleanedChargedIso+x.cleanedNeutralIsoDB)/x.pt(), float), + NTupleVariable("cleanedRelIsoRho", lambda x : (x.cleanedChargedIso+x.cleanedNeutralIsoRho)/x.pt(), float) + +]) + + LNuType = NTupleObjectType("LNuType", baseObjectTypes=[fourVectorType], variables = [ NTupleVariable("mt", lambda x : x.mt(), float), @@ -8,6 +18,7 @@ ]) + LLType = NTupleObjectType("LLType", baseObjectTypes=[fourVectorType], variables = [ NTupleVariable("mt", lambda x : x.mt(), float), NTupleVariable("deltaPhi", lambda x : x.deltaPhi(), float), @@ -21,7 +32,9 @@ NTupleVariable("nLooseBTags", lambda x : x['nLooseBTags'], int), NTupleVariable("nMediumBTags", lambda x : x['nMediumBTags'], int), NTupleVariable("nTightBTags", lambda x : x['nTightBTags'], int), - NTupleVariable("nJets", lambda x : len(x['satelliteJets']), int) + NTupleVariable("nJets", lambda x : len(x['satelliteJets']), int), + NTupleVariable("topMass", lambda x : x['topMass'], float), + NTupleVariable("otherLeptons", lambda x : len(x['otherLeptons']), int) ]) @@ -31,6 +44,8 @@ NTupleVariable("rawFactor", lambda x : x.rawFactor(), float), NTupleVariable("btag", lambda x : x.bTag(), float), NTupleVariable("nConstituents", lambda x : len(x.constituents), int), + NTupleVariable("looseID", lambda x : x.looseID, int), + NTupleVariable("tightID", lambda x : x.tightID, int), NTupleVariable("chargedHadronEnergyFraction", lambda x : x.chargedHadronEnergyFraction(), float), NTupleVariable("neutralHadronEnergyFraction", lambda x : x.neutralHadronEnergyFraction(), float), NTupleVariable("photonEnergyFraction", lambda x : x.photonEnergyFraction(), float), @@ -67,47 +82,48 @@ NTupleSubObject("rawLV", lambda x : x['pair'].leg1.rawP4()+x['pair'].leg2.p4(),fourVectorType), NTupleSubObject("l1", lambda x : x['pair'].leg1,LNuType), NTupleSubObject("altl1", lambda x : x['pair'].leg1.alternateLV,fourVectorType), - NTupleSubObject("l1_l", lambda x : x['pair'].leg1.leg1,leptonTypeExtra), + NTupleSubObject("l1_l", lambda x : x['pair'].leg1.leg1,leptonTypeUltra), NTupleSubObject("l1_met", lambda x : x['pair'].leg1.leg2,metType), NTupleSubObject("l2", lambda x : x['pair'].leg2,FatJetType), NTupleSubObject("l2_softDrop", lambda x : x['pair'].leg2.softDropJet,JetType), - NTupleSubObject("l2_s1", lambda x : x['pair'].leg2.subjets[0],JetType), - NTupleVariable("l2_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), - NTupleSubObject("l2_s2", lambda x : x['pair'].leg2.subjets[1],JetType), - NTupleVariable("l2_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), - - + NTupleSubObject("l2_pruned", lambda x : x['pair'].leg2.prunedJet,JetType), + NTupleSubObject("l2_pruned_s1", lambda x : x['pair'].leg2.subjets[0],JetType), + NTupleVariable("l2_pruned_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), + NTupleSubObject("l2_pruned_s2", lambda x : x['pair'].leg2.subjets[1],JetType), + NTupleVariable("l2_pruned_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), ]) LLJJType = NTupleObjectType("LLJJType", baseObjectTypes=[VVType], variables = [ NTupleSubObject("l1", lambda x : x['pair'].leg1,LLType), - NTupleSubObject("l1_l1", lambda x : x['pair'].leg1.leg1,leptonTypeExtra), - NTupleSubObject("l1_l2", lambda x : x['pair'].leg1.leg2,leptonTypeExtra), + NTupleSubObject("l1_l1", lambda x : x['pair'].leg1.leg1,leptonTypeUltra), + NTupleSubObject("l1_l2", lambda x : x['pair'].leg1.leg2,leptonTypeUltra), NTupleSubObject("l2", lambda x : x['pair'].leg2,FatJetType), NTupleSubObject("l2_softDrop", lambda x : x['pair'].leg2.softDropJet,JetType), - NTupleSubObject("l2_s1", lambda x : x['pair'].leg2.subjets[0],JetType), - NTupleVariable("l2_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), - NTupleSubObject("l2_s2", lambda x : x['pair'].leg2.subjets[1],JetType), - NTupleVariable("l2_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), + NTupleSubObject("l2_pruned", lambda x : x['pair'].leg2.prunedJet,JetType), + NTupleSubObject("l2_pruned_s1", lambda x : x['pair'].leg2.subjets[0],JetType), + NTupleVariable("l2_pruned_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), + NTupleSubObject("l2_pruned_s2", lambda x : x['pair'].leg2.subjets[1],JetType), + NTupleVariable("l2_pruned_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), ]) JJType = NTupleObjectType("JJType", baseObjectTypes=[VVType], variables = [ - NTupleSubObject("l1", lambda x : x['pair'].leg1,FatJetType), - NTupleSubObject("l1_softDrop", lambda x : x['pair'].leg1.softDropJet,JetType), - NTupleSubObject("l1_s1", lambda x : x['pair'].leg1.subjets[0],JetType), - NTupleVariable("l1_s1_matched", lambda x : x['pair'].leg1.subjets[0].matched, int), - NTupleSubObject("l1_s2", lambda x : x['pair'].leg1.subjets[1],JetType), - NTupleVariable("l1_s2_matched", lambda x : x['pair'].leg1.subjets[1].matched, int), - NTupleSubObject("l2", lambda x : x['pair'].leg2,FatJetType), NTupleSubObject("l2_softDrop", lambda x : x['pair'].leg2.softDropJet,JetType), - NTupleSubObject("l2_s1", lambda x : x['pair'].leg2.subjets[0],JetType), - NTupleVariable("l2_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), - NTupleSubObject("l2_s2", lambda x : x['pair'].leg2.subjets[1],JetType), - NTupleVariable("l2_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), + NTupleSubObject("l2_pruned", lambda x : x['pair'].leg2.prunedJet,JetType), + NTupleSubObject("l2_pruned_s1", lambda x : x['pair'].leg2.subjets[0],JetType), + NTupleVariable("l2_pruned_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), + NTupleSubObject("l2_pruned_s2", lambda x : x['pair'].leg2.subjets[1],JetType), + NTupleVariable("l2_pruned_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), + NTupleSubObject("l1", lambda x : x['pair'].leg1,FatJetType), + NTupleSubObject("l1_softDrop", lambda x : x['pair'].leg1.softDropJet,JetType), + NTupleSubObject("l1_pruned", lambda x : x['pair'].leg1.prunedJet,JetType), + NTupleSubObject("l1_pruned_s1", lambda x : x['pair'].leg1.subjets[0],JetType), + NTupleVariable("l1_pruned_s1_matched", lambda x : x['pair'].leg1.subjets[0].matched, int), + NTupleSubObject("l1_pruned_s2", lambda x : x['pair'].leg1.subjets[1],JetType), + NTupleVariable("l1_pruned_s2_matched", lambda x : x['pair'].leg1.subjets[1].matched, int), ]) @@ -115,11 +131,12 @@ NuNuJJType = NTupleObjectType("NuNuJJType", baseObjectTypes=[VVType], variables = [ NTupleSubObject("met", lambda x : x['pair'].leg1,metType), NTupleSubObject("jet", lambda x : x['pair'].leg2,FatJetType), - NTupleSubObject("softDrop", lambda x : x['pair'].leg2.softDropJet,JetType), - NTupleSubObject("s1", lambda x : x['pair'].leg2.subjets[0],JetType), - NTupleVariable("s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), - NTupleSubObject("s2", lambda x : x['pair'].leg2.subjets[1],JetType), - NTupleVariable("s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int), + NTupleSubObject("jet_softDrop", lambda x : x['pair'].leg2.softDropJet,JetType), + NTupleSubObject("jet_pruned", lambda x : x['pair'].leg2.prunedJet,JetType), + NTupleSubObject("jet_pruned_s1", lambda x : x['pair'].leg2.subjets[0],JetType), + NTupleVariable("jet_pruned_s1_matched", lambda x : x['pair'].leg2.subjets[0].matched, int), + NTupleSubObject("jet_pruned_s2", lambda x : x['pair'].leg2.subjets[1],JetType), + NTupleVariable("jet_pruned_s2_matched", lambda x : x['pair'].leg2.subjets[1].matched, int) ]) diff --git a/CMGTools/VVResonances/python/plotting/PlotterBase.py b/CMGTools/VVResonances/python/plotting/PlotterBase.py index ac35dbdeea3e6..7f16ee3e4cb34 100644 --- a/CMGTools/VVResonances/python/plotting/PlotterBase.py +++ b/CMGTools/VVResonances/python/plotting/PlotterBase.py @@ -10,11 +10,9 @@ def __init__(self): self.markerstyle=20 self.corrFactors=[] - def addCorrectionFactor(self,name,value,error,model): + def addCorrectionFactor(self,value,model): corr=dict() corr['value']=value - corr['error']=error - corr['name']=name corr['model']=model self.corrFactors.append(corr) diff --git a/CMGTools/VVResonances/python/plotting/RooPlotter.py b/CMGTools/VVResonances/python/plotting/RooPlotter.py new file mode 100644 index 0000000000000..16d5fb02259aa --- /dev/null +++ b/CMGTools/VVResonances/python/plotting/RooPlotter.py @@ -0,0 +1,112 @@ +import ROOT + + +class RooPlotter(object): + def __init__(self,filename): + self.fIN=ROOT.TFile(filename) + self.w=self.fIN.Get("w") + self.contributions=[] + + + def fix(self,var,val): + self.w.var(var).setVal(val) + self.w.var(var).setConstant(1) + + def prefit(self,model="s",weighted=False): + self.fitResult = self.w.pdf("model_"+model).fitTo(self.w.data("data_obs"),ROOT.RooFit.NumCPU(8),ROOT.RooFit.SumW2Error(weighted)) + + + + def addContribution(self,contrib,signal,description,linewidth,lineStyle,lineColor,fillStyle,fillColor): + self.contributions.append({'name':contrib,'signal':signal,'description':description,'linewidth':linewidth,'linestyle':lineStyle,'linecolor':lineColor,'fillstyle':fillStyle,'fillcolor':fillColor}) + + + def drawStack(self,var,varDesc,cat,suffix,cut="",visualizeError = False): + #make frame + self.frame=self.w.var(var+"_"+suffix).frame() + #plot data + if cut !="": + dataset=self.w.data("data_obs").reduce(cut) + else: + dataset=self.w.data("data_obs") + + dataset.plotOn(self.frame,ROOT.RooFit.Cut("CMS_channel==CMS_channel::"+cat)) + #OK now stack for each curve add all the others + + errorVisualized=False + + for i in range(0,len(self.contributions)): + data = self.contributions[i] + names=[] + for j in range(i,len(self.contributions)): + if self.contributions[j]['signal']: + names.append('shapeSig_'+self.contributions[j]['name']+"_"+cat) + else: + names.append('shapeBkg_'+self.contributions[j]['name']+"_"+cat) + + self.w.pdf("model_s").plotOn(self.frame,ROOT.RooFit.Slice(self.w.cat("CMS_channel"),cat),ROOT.RooFit.Components(",".join(names)),ROOT.RooFit.ProjWData(dataset),ROOT.RooFit.Name(data['name']+"1"),ROOT.RooFit.LineStyle(data['linestyle']),\ + ROOT.RooFit.LineColor(data['linecolor']),ROOT.RooFit.FillStyle(data['fillstyle']),ROOT.RooFit.FillColor(data['fillcolor']),ROOT.RooFit.DrawOption("F")) + + self.w.pdf("model_s").plotOn(self.frame,ROOT.RooFit.Slice(self.w.cat("CMS_channel"),cat),ROOT.RooFit.Components(",".join(names)),ROOT.RooFit.ProjWData(dataset),ROOT.RooFit.Name(data['name']+"2"),ROOT.RooFit.LineStyle(data['linestyle']),\ + ROOT.RooFit.LineColor(data['linecolor']),ROOT.RooFit.FillStyle(data['fillstyle']),ROOT.RooFit.FillColor(data['fillcolor']),ROOT.RooFit.DrawOption("L")) + + if (not data['signal']) and (not errorVisualized): + self.w.pdf("model_s").plotOn(self.frame,ROOT.RooFit.Slice(self.w.cat("CMS_channel"),cat),ROOT.RooFit.Components(",".join(names)),ROOT.RooFit.ProjWData(dataset),ROOT.RooFit.Name(data['name']+"3"),ROOT.RooFit.LineStyle(data['linestyle']),\ + ROOT.RooFit.LineColor(data['linecolor']),ROOT.RooFit.FillStyle(1),ROOT.RooFit.FillColor(ROOT.kOrange),ROOT.RooFit.VisualizeError(self.fitResult,1)) + errorVisualized=True + + dataset.plotOn(self.frame,ROOT.RooFit.Cut("CMS_channel==CMS_channel::"+cat)) + + self.frame.SetXTitle(varDesc) + self.frame.SetYTitle("Events") + + #legend + self.legend = ROOT.TLegend(0.62,0.6,0.92,0.90,"","brNDC") + self.legend.SetBorderSize(0) + self.legend.SetLineColor(1) + self.legend.SetLineStyle(1) + self.legend.SetLineWidth(1) + self.legend.SetFillColor(0) + self.legend.SetFillStyle(0) + self.legend.SetTextFont(42) + + for c in self.contributions: + name=c['name'] + desc=c['description'] + curve=self.frame.getCurve(name+"1") + self.legend.AddEntry(curve,desc,"lf") + + + + + self.frame.SetTitle("CMS Preliminary, #sqrt{s} = 13 TeV, L = 1.3 fb^{-1}") + self.frame.SetLabelSize(0.05,"X") + self.frame.SetLabelSize(0.05,"Y") + self.frame.SetTitleSize(0.05,"X") + self.frame.SetTitleSize(0.05,"Y") + self.frame.SetTitleOffset(0.90,"X") + self.frame.SetTitleOffset(0.93,"Y") + + self.frame.Draw() + + + self.legend.Draw() + + pt =ROOT.TPaveText(0.1577181,0.9562937,0.9580537,0.9947552,"brNDC") + pt.SetBorderSize(0) + pt.SetTextAlign(12) + pt.SetFillStyle(0) + pt.SetTextFont(42) + pt.SetTextSize(0.03) + text = pt.AddText(0.01,0.3,"CMS Preliminary") + text = pt.AddText(0.25,0.3,"") + pt.Draw() + + + + + + + + + diff --git a/CMGTools/VVResonances/python/plotting/StackPlotter.py b/CMGTools/VVResonances/python/plotting/StackPlotter.py index a2aaeff0d1233..0ca4ede065412 100644 --- a/CMGTools/VVResonances/python/plotting/StackPlotter.py +++ b/CMGTools/VVResonances/python/plotting/StackPlotter.py @@ -1,7 +1,7 @@ import ROOT +import math from TreePlotter import TreePlotter - def convertToPoisson(h): graph = ROOT.TGraphAsymmErrors() q = (1-0.6827)/2. @@ -32,12 +32,13 @@ def convertToPoisson(h): return graph class StackPlotter(object): - def __init__(self): + def __init__(self,defaultCut="1"): self.plotters = [] self.types = [] self.labels = [] self.names = [] self.log=False + self.defaultCut=defaultCut def setLog(self,doLog): self.log=doLog @@ -73,12 +74,17 @@ def drawStack(self,var,cut,lumi,bins,mini,maxi,titlex = "", units = ""): signal=0 background=0 + backgroundErr=0 data=None dataG=None + error=ROOT.Double(0.0) + + cutL="("+self.defaultCut+")*("+cut+")" + for (plotter,typeP,label,name) in zip(self.plotters,self.types,self.labels,self.names): if typeP == "signal" or typeP =="background": - hist = plotter.drawTH1(var,cut,lumi,bins,mini,maxi,titlex,units) + hist = plotter.drawTH1(var,cutL,lumi,bins,mini,maxi,titlex,units) hist.SetName(name) stack.Add(hist) hists.append(hist) @@ -87,11 +93,11 @@ def drawStack(self,var,cut,lumi,bins,mini,maxi,titlex = "", units = ""): if typeP == "signal" : signal+=hist.Integral() if typeP == "background" : - background+=hist.Integral() - + background+=hist.IntegralAndError(1,hist.GetNbinsX(),error) + backgroundErr+=error*error if typeP =="data": - hist = plotter.drawTH1(var,cut,"1",bins,mini,maxi,titlex,units) + hist = plotter.drawTH1(var,cutL,"1",bins,mini,maxi,titlex,units) hist.SetName(hist.GetName()+label) hists.append(hist) data=hist @@ -181,6 +187,9 @@ def drawStack(self,var,cut,lumi,bins,mini,maxi,titlex = "", units = ""): print "Bkg = %f" %(background) if data is not None: print "Observed = %f"%(data.Integral()) + integral = data.IntegralAndError(1,data.GetNbinsX(),error) + if background>0.0: + print "Data/Bkg= {ratio} +- {err}".format(ratio=integral/background,err=math.sqrt(error*error/(background*background)+integral*integral*backgroundErr/(background*background*background*background))) pt =ROOT.TPaveText(0.1577181,0.9562937,0.9580537,0.9947552,"brNDC") pt.SetBorderSize(0) diff --git a/CMGTools/VVResonances/python/plotting/TreePlotter.py b/CMGTools/VVResonances/python/plotting/TreePlotter.py index 15c7a537e915d..3547d570597d0 100644 --- a/CMGTools/VVResonances/python/plotting/TreePlotter.py +++ b/CMGTools/VVResonances/python/plotting/TreePlotter.py @@ -20,7 +20,7 @@ def setupFromFile(self,filename): f=open(filename) data=pickle.load(f) weightinv = float(data['events']) - self.addCorrectionFactor("mcWeight",1./weightinv,0.0,'lnN') + self.addCorrectionFactor(1./weightinv,'flat') def applySmoothing(self): diff --git a/CMGTools/VVResonances/python/samples/loadSamples.py b/CMGTools/VVResonances/python/samples/loadSamples.py index 285ef459d4fe6..63e0d12ad1ee8 100644 --- a/CMGTools/VVResonances/python/samples/loadSamples.py +++ b/CMGTools/VVResonances/python/samples/loadSamples.py @@ -4,31 +4,29 @@ #Load backgrounds from common place from CMGTools.RootTools.samples.samples_13TeV_RunIISpring15MiniAODv2 import * +#### +#### +TTs = [ TTJets, TTJets_SingleLeptonFromTbar, TTJets_SingleLeptonFromTbar_ext, TTJets_SingleLeptonFromT, TTJets_SingleLeptonFromT_ext]+SingleTop + + +background = TTs+DYJetsM50HT+WJetsToLNuHT+ZJetsToNuNuHT+GJetsHT+QCDHT+QCDPt+DiBosons -background = TTs+DYJetsM50HT+WJetsToLNuHT+GJetsHT+QCDHT+QCDPt+DiBosons #background_50ns = [TTJets_50ns,TTJets_LO_50ns,WJetsToLNu_50ns]+QCDPt_50ns+DYJetsM50HT_50ns+DiBosons_50ns #Load signal from here -from CMGTools.VVResonances.samples.signal_13TeV_74X import signalSamples,RSGravToWWToLNQQ_kMpl01_2500 - -### -signalSamples=[RSGravToWWToLNQQ_kMpl01_2500] -### +from CMGTools.VVResonances.samples.signal_13TeV_74X import * mcSamples = background+signalSamples #load triggers from CMGTools.RootTools.samples.triggers_13TeV_Spring15 import * - #Load Data samples from CMGTools.RootTools.samples.samples_13TeV_DATA2015 import * - - SingleMuon=[SingleMuon_Run2015D_Promptv4,SingleMuon_Run2015D_05Oct] SingleElectron=[SingleElectron_Run2015D_Promptv4,SingleElectron_Run2015D_05Oct] JetHT=[JetHT_Run2015D_Promptv4,JetHT_Run2015D_05Oct] @@ -47,7 +45,7 @@ s.triggers = triggers_HT800+triggers_HT900+triggers_dijet_fat s.vetoTriggers = triggers_1mu_noniso+triggers_1mu_iso+triggers_1e_noniso+triggers_1e for s in MET: - s.triggers = triggers_Jet80MET90+triggers_Jet80MET120 + s.triggers = triggers_met90_mht90+triggers_metNoMu90_mhtNoMu90+triggers_metNoMu120_mhtNoMu120 s.vetoTriggers = triggers_1mu_noniso+triggers_1mu_iso+triggers_1e_noniso+triggers_1e+triggers_HT800+triggers_HT900+triggers_dijet_fat dataSamples=SingleMuon+SingleElectron+JetHT+MET @@ -57,15 +55,8 @@ dataDir = "$CMSSW_BASE/src/CMGTools/VVResonances/data" - - - - - #Load JSON -jsonFile = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/Cert_246908-258750_13TeV_PromptReco_Collisions15_25ns_JSON.txt' - - +jsonFile='/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/Cert_246908-260627_13TeV_PromptReco_Collisions15_25ns_JSON_Silver.txt' #Define splitting for comp in mcSamples: @@ -75,12 +66,12 @@ comp.puFileMC=dataDir+"/pileup_MC.root" comp.puFileData=dataDir+"/pileup_DATA.root" comp.efficiency = eff2012 - comp.triggers=triggers_1mu_noniso+triggers_1mu_iso+triggers_1e+triggers_1e_noniso+triggers_HT800+triggers_HT900+triggers_dijet_fat+triggers_Jet80MET90+triggers_Jet80MET120 - comp.globalTag = "Summer15_25nsV2_MC" + comp.triggers=triggers_1mu_noniso+triggers_1mu_iso+triggers_1e+triggers_1e_noniso+triggers_HT800+triggers_HT900+triggers_dijet_fat+triggers_met90_mht90+triggers_metNoMu90_mhtNoMu90+triggers_metNoMu120_mhtNoMu120 + comp.globalTag = "Summer15_25nsV6_MC" for comp in dataSamples: comp.splitFactor = 250 comp.isMC = False comp.isData = True comp.json = jsonFile - comp.globalTag = "Summer15_25nsV5_DATA" + comp.globalTag = "Summer15_25nsV6_DATA" diff --git a/CMGTools/VVResonances/python/samples/makeSignalTextFile.py b/CMGTools/VVResonances/python/samples/makeSignalTextFile.py index 6f54280da1a81..624e071b72abd 100644 --- a/CMGTools/VVResonances/python/samples/makeSignalTextFile.py +++ b/CMGTools/VVResonances/python/samples/makeSignalTextFile.py @@ -1,13 +1,14 @@ def convertSignal(filein,fileout): f = open(filein) ff=open(fileout,'w') - - ff.write('signalSamples=[]\n') + + ff.write("from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator\n") + ff.write("kreator = ComponentCreator()\n") + ff.write('signalSamples=[] \n') for line in f: prefix = line.split('/')[1] mass = prefix.split('M-')[1].split('_')[0] - splitted =prefix.split('_') - name = splitted[0]+'_'+splitted[1]+'_'+mass + name=prefix.split('M-')[0]+mass ff.write('{name}=kreator.makeMCComponent("{name}", "{sample}", "CMS", ".*root",1.0)\n'.format(name=name,sample=line.split('\n')[0])) ff.write('signalSamples.append({name})\n'.format(name=name)) f.close() diff --git a/CMGTools/VVResonances/python/samples/signal_13TeV_74X.py b/CMGTools/VVResonances/python/samples/signal_13TeV_74X.py index ec0d0a5c91d8c..a2615a7a76d2f 100644 --- a/CMGTools/VVResonances/python/samples/signal_13TeV_74X.py +++ b/CMGTools/VVResonances/python/samples/signal_13TeV_74X.py @@ -1,278 +1,651 @@ -import PhysicsTools.HeppyCore.framework.config as cfg -import os - -#####COMPONENT CREATOR - from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator kreator = ComponentCreator() - - -signalSamples=[] -BulkGravToWWToWlepWhad_narrow_600=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_600", "/BulkGravToWWToWlepWhad_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToWWToWlepWhad_narrow_600) -BulkGravToWWToWlepWhad_narrow_800=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_800", "/BulkGravToWWToWlepWhad_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToWWToWlepWhad_narrow_800) -BulkGravToWWToWlepWhad_narrow_1000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1000", "/BulkGravToWWToWlepWhad_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples=[] +BulkGravToZZToZhadZhad_narrow_1000=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1000", "/BulkGravToZZToZhadZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_1000) +BulkGravToZZToZhadZhad_narrow_1400=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1400", "/BulkGravToZZToZhadZhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_1400) +BulkGravToZZToZhadZhad_narrow_1600=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1600", "/BulkGravToZZToZhadZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_1600) +BulkGravToZZToZhadZhad_narrow_1800=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1800", "/BulkGravToZZToZhadZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_1800) +BulkGravToZZToZhadZhad_narrow_2000=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_2000", "/BulkGravToZZToZhadZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_2000) +BulkGravToZZToZhadZhad_narrow_2500=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_2500", "/BulkGravToZZToZhadZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_2500) +BulkGravToZZToZhadZhad_narrow_3000=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_3000", "/BulkGravToZZToZhadZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_3000) +BulkGravToZZToZhadZhad_narrow_4000=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_4000", "/BulkGravToZZToZhadZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_4000) +BulkGravToZZToZhadZhad_narrow_4500=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_4500", "/BulkGravToZZToZhadZhad_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_4500) +BulkGravToZZToZhadZhad_narrow_800=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_800", "/BulkGravToZZToZhadZhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZhad_narrow_800) +BulkGravToZZToZhadZinv_narrow_1000=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_1000", "/BulkGravToZZToZhadZinv_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_1000) +BulkGravToZZToZhadZinv_narrow_1200=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_1200", "/BulkGravToZZToZhadZinv_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_1200) +BulkGravToZZToZhadZinv_narrow_1400=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_1400", "/BulkGravToZZToZhadZinv_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_1400) +BulkGravToZZToZhadZinv_narrow_1600=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_1600", "/BulkGravToZZToZhadZinv_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_1600) +BulkGravToZZToZhadZinv_narrow_1800=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_1800", "/BulkGravToZZToZhadZinv_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_1800) +BulkGravToZZToZhadZinv_narrow_2000=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_2000", "/BulkGravToZZToZhadZinv_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_2000) +BulkGravToZZToZhadZinv_narrow_3000=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_3000", "/BulkGravToZZToZhadZinv_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_3000) +BulkGravToZZToZhadZinv_narrow_3500=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_3500", "/BulkGravToZZToZhadZinv_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_3500) +BulkGravToZZToZhadZinv_narrow_4000=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_4000", "/BulkGravToZZToZhadZinv_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_4000) +BulkGravToZZToZhadZinv_narrow_4500=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_4500", "/BulkGravToZZToZhadZinv_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_4500) +BulkGravToZZToZhadZinv_narrow_800=kreator.makeMCComponent("BulkGravToZZToZhadZinv_narrow_800", "/BulkGravToZZToZhadZinv_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZhadZinv_narrow_800) +BulkGravToZZToZlepZhad_narrow_1000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1000", "/BulkGravToZZToZlepZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_1000) +BulkGravToZZToZlepZhad_narrow_1200=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1200", "/BulkGravToZZToZlepZhad_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_1200) +BulkGravToZZToZlepZhad_narrow_1400=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1400", "/BulkGravToZZToZlepZhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_1400) +BulkGravToZZToZlepZhad_narrow_1600=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1600", "/BulkGravToZZToZlepZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_1600) +BulkGravToZZToZlepZhad_narrow_1800=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1800", "/BulkGravToZZToZlepZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_1800) +BulkGravToZZToZlepZhad_narrow_2000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_2000", "/BulkGravToZZToZlepZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_2000) +BulkGravToZZToZlepZhad_narrow_2500=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_2500", "/BulkGravToZZToZlepZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_2500) +BulkGravToZZToZlepZhad_narrow_3000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_3000", "/BulkGravToZZToZlepZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_3000) +BulkGravToZZToZlepZhad_narrow_3500=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_3500", "/BulkGravToZZToZlepZhad_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_3500) +BulkGravToZZToZlepZhad_narrow_4000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_4000", "/BulkGravToZZToZlepZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_4000) +BulkGravToZZToZlepZhad_narrow_800=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_800", "/BulkGravToZZToZlepZhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZToZlepZhad_narrow_800) +BulkGravToZZ_narrow_1000=kreator.makeMCComponent("BulkGravToZZ_narrow_1000", "/BulkGravToZZ_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_1000) +BulkGravToZZ_narrow_1200=kreator.makeMCComponent("BulkGravToZZ_narrow_1200", "/BulkGravToZZ_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_1200) +BulkGravToZZ_narrow_1400=kreator.makeMCComponent("BulkGravToZZ_narrow_1400", "/BulkGravToZZ_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_1400) +BulkGravToZZ_narrow_1600=kreator.makeMCComponent("BulkGravToZZ_narrow_1600", "/BulkGravToZZ_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_1600) +BulkGravToZZ_narrow_1800=kreator.makeMCComponent("BulkGravToZZ_narrow_1800", "/BulkGravToZZ_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_1800) +BulkGravToZZ_narrow_2500=kreator.makeMCComponent("BulkGravToZZ_narrow_2500", "/BulkGravToZZ_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_2500) +BulkGravToZZ_narrow_3000=kreator.makeMCComponent("BulkGravToZZ_narrow_3000", "/BulkGravToZZ_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_3000) +BulkGravToZZ_narrow_3500=kreator.makeMCComponent("BulkGravToZZ_narrow_3500", "/BulkGravToZZ_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_3500) +BulkGravToZZ_narrow_4000=kreator.makeMCComponent("BulkGravToZZ_narrow_4000", "/BulkGravToZZ_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_4000) +BulkGravToZZ_narrow_4500=kreator.makeMCComponent("BulkGravToZZ_narrow_4500", "/BulkGravToZZ_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_4500) +BulkGravToZZ_narrow_800=kreator.makeMCComponent("BulkGravToZZ_narrow_800", "/BulkGravToZZ_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToZZ_narrow_800) +RSGravToZZToLLQQ_kMpl01_1000=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_1000", "/RSGravToZZToLLQQ_kMpl01_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_1000) +RSGravToZZToLLQQ_kMpl01_1200=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_1200", "/RSGravToZZToLLQQ_kMpl01_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_1200) +RSGravToZZToLLQQ_kMpl01_1400=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_1400", "/RSGravToZZToLLQQ_kMpl01_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_1400) +RSGravToZZToLLQQ_kMpl01_1600=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_1600", "/RSGravToZZToLLQQ_kMpl01_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_1600) +RSGravToZZToLLQQ_kMpl01_1800=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_1800", "/RSGravToZZToLLQQ_kMpl01_M-1800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_1800) +RSGravToZZToLLQQ_kMpl01_2000=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_2000", "/RSGravToZZToLLQQ_kMpl01_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_2000) +RSGravToZZToLLQQ_kMpl01_2500=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_2500", "/RSGravToZZToLLQQ_kMpl01_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_2500) +RSGravToZZToLLQQ_kMpl01_3000=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_3000", "/RSGravToZZToLLQQ_kMpl01_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_3000) +RSGravToZZToLLQQ_kMpl01_4000=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_4000", "/RSGravToZZToLLQQ_kMpl01_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_4000) +RSGravToZZToLLQQ_kMpl01_4500=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_4500", "/RSGravToZZToLLQQ_kMpl01_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_4500) +RSGravToZZToLLQQ_kMpl01_800=kreator.makeMCComponent("RSGravToZZToLLQQ_kMpl01_800", "/RSGravToZZToLLQQ_kMpl01_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToLLQQ_kMpl01_800) +RSGravToZZToZlepZhad_narrow_1000=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_1000", "/RSGravToZZToZlepZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_1000) +RSGravToZZToZlepZhad_narrow_1200=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_1200", "/RSGravToZZToZlepZhad_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_1200) +RSGravToZZToZlepZhad_narrow_1400=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_1400", "/RSGravToZZToZlepZhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_1400) +RSGravToZZToZlepZhad_narrow_1600=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_1600", "/RSGravToZZToZlepZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_1600) +RSGravToZZToZlepZhad_narrow_1800=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_1800", "/RSGravToZZToZlepZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_1800) +RSGravToZZToZlepZhad_narrow_2000=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_2000", "/RSGravToZZToZlepZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_2000) +RSGravToZZToZlepZhad_narrow_2500=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_2500", "/RSGravToZZToZlepZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_2500) +RSGravToZZToZlepZhad_narrow_3000=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_3000", "/RSGravToZZToZlepZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_3000) +RSGravToZZToZlepZhad_narrow_3500=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_3500", "/RSGravToZZToZlepZhad_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_3500) +RSGravToZZToZlepZhad_narrow_4000=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_4000", "/RSGravToZZToZlepZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_4000) +RSGravToZZToZlepZhad_narrow_4500=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_4500", "/RSGravToZZToZlepZhad_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_4500) +RSGravToZZToZlepZhad_narrow_800=kreator.makeMCComponent("RSGravToZZToZlepZhad_narrow_800", "/RSGravToZZToZlepZhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZToZlepZhad_narrow_800) +RSGravToZZ_kMpl01_1000=kreator.makeMCComponent("RSGravToZZ_kMpl01_1000", "/RSGravToZZ_kMpl01_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_1000) +RSGravToZZ_kMpl01_1200=kreator.makeMCComponent("RSGravToZZ_kMpl01_1200", "/RSGravToZZ_kMpl01_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_1200) +RSGravToZZ_kMpl01_1400=kreator.makeMCComponent("RSGravToZZ_kMpl01_1400", "/RSGravToZZ_kMpl01_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_1400) +RSGravToZZ_kMpl01_1600=kreator.makeMCComponent("RSGravToZZ_kMpl01_1600", "/RSGravToZZ_kMpl01_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_1600) +RSGravToZZ_kMpl01_1800=kreator.makeMCComponent("RSGravToZZ_kMpl01_1800", "/RSGravToZZ_kMpl01_M-1800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_1800) +RSGravToZZ_kMpl01_2000=kreator.makeMCComponent("RSGravToZZ_kMpl01_2000", "/RSGravToZZ_kMpl01_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_2000) +RSGravToZZ_kMpl01_2500=kreator.makeMCComponent("RSGravToZZ_kMpl01_2500", "/RSGravToZZ_kMpl01_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_2500) +RSGravToZZ_kMpl01_3000=kreator.makeMCComponent("RSGravToZZ_kMpl01_3000", "/RSGravToZZ_kMpl01_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_3000) +RSGravToZZ_kMpl01_3500=kreator.makeMCComponent("RSGravToZZ_kMpl01_3500", "/RSGravToZZ_kMpl01_M-3500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_3500) +RSGravToZZ_kMpl01_4000=kreator.makeMCComponent("RSGravToZZ_kMpl01_4000", "/RSGravToZZ_kMpl01_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_4000) +RSGravToZZ_kMpl01_4500=kreator.makeMCComponent("RSGravToZZ_kMpl01_4500", "/RSGravToZZ_kMpl01_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_4500) +RSGravToZZ_kMpl01_600=kreator.makeMCComponent("RSGravToZZ_kMpl01_600", "/RSGravToZZ_kMpl01_M-600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_600) +RSGravToZZ_kMpl01_800=kreator.makeMCComponent("RSGravToZZ_kMpl01_800", "/RSGravToZZ_kMpl01_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_kMpl01_800) +RSGravToZZ_narrow_1000=kreator.makeMCComponent("RSGravToZZ_narrow_1000", "/RSGravToZZ_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_1000) +RSGravToZZ_narrow_1200=kreator.makeMCComponent("RSGravToZZ_narrow_1200", "/RSGravToZZ_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_1200) +RSGravToZZ_narrow_1400=kreator.makeMCComponent("RSGravToZZ_narrow_1400", "/RSGravToZZ_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_1400) +RSGravToZZ_narrow_1600=kreator.makeMCComponent("RSGravToZZ_narrow_1600", "/RSGravToZZ_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_1600) +RSGravToZZ_narrow_1800=kreator.makeMCComponent("RSGravToZZ_narrow_1800", "/RSGravToZZ_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_1800) +RSGravToZZ_narrow_2000=kreator.makeMCComponent("RSGravToZZ_narrow_2000", "/RSGravToZZ_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_2000) +RSGravToZZ_narrow_2500=kreator.makeMCComponent("RSGravToZZ_narrow_2500", "/RSGravToZZ_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_2500) +RSGravToZZ_narrow_3000=kreator.makeMCComponent("RSGravToZZ_narrow_3000", "/RSGravToZZ_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_3000) +RSGravToZZ_narrow_3500=kreator.makeMCComponent("RSGravToZZ_narrow_3500", "/RSGravToZZ_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_3500) +RSGravToZZ_narrow_4000=kreator.makeMCComponent("RSGravToZZ_narrow_4000", "/RSGravToZZ_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_4000) +RSGravToZZ_narrow_4500=kreator.makeMCComponent("RSGravToZZ_narrow_4500", "/RSGravToZZ_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_4500) +RSGravToZZ_narrow_600=kreator.makeMCComponent("RSGravToZZ_narrow_600", "/RSGravToZZ_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_600) +RSGravToZZ_narrow_800=kreator.makeMCComponent("RSGravToZZ_narrow_800", "/RSGravToZZ_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToZZ_narrow_800) +RadionToZZToZhadZinv_narrow_1000=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_1000", "/RadionToZZToZhadZinv_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_1000) +RadionToZZToZhadZinv_narrow_1200=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_1200", "/RadionToZZToZhadZinv_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_1200) +RadionToZZToZhadZinv_narrow_1600=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_1600", "/RadionToZZToZhadZinv_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_1600) +RadionToZZToZhadZinv_narrow_1800=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_1800", "/RadionToZZToZhadZinv_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_1800) +RadionToZZToZhadZinv_narrow_2000=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_2000", "/RadionToZZToZhadZinv_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_2000) +RadionToZZToZhadZinv_narrow_2500=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_2500", "/RadionToZZToZhadZinv_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_2500) +RadionToZZToZhadZinv_narrow_3000=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_3000", "/RadionToZZToZhadZinv_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_3000) +RadionToZZToZhadZinv_narrow_3500=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_3500", "/RadionToZZToZhadZinv_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_3500) +RadionToZZToZhadZinv_narrow_4000=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_4000", "/RadionToZZToZhadZinv_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_4000) +RadionToZZToZhadZinv_narrow_4500=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_4500", "/RadionToZZToZhadZinv_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_4500) +RadionToZZToZhadZinv_narrow_600=kreator.makeMCComponent("RadionToZZToZhadZinv_narrow_600", "/RadionToZZToZhadZinv_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RadionToZZToZhadZinv_narrow_600) +VBF_RadionToZZ_narrow_1000=kreator.makeMCComponent("VBF_RadionToZZ_narrow_1000", "/VBF_RadionToZZ_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_1000) +VBF_RadionToZZ_narrow_1200=kreator.makeMCComponent("VBF_RadionToZZ_narrow_1200", "/VBF_RadionToZZ_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_1200) +VBF_RadionToZZ_narrow_1400=kreator.makeMCComponent("VBF_RadionToZZ_narrow_1400", "/VBF_RadionToZZ_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_1400) +VBF_RadionToZZ_narrow_1600=kreator.makeMCComponent("VBF_RadionToZZ_narrow_1600", "/VBF_RadionToZZ_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_1600) +VBF_RadionToZZ_narrow_1800=kreator.makeMCComponent("VBF_RadionToZZ_narrow_1800", "/VBF_RadionToZZ_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_1800) +VBF_RadionToZZ_narrow_2000=kreator.makeMCComponent("VBF_RadionToZZ_narrow_2000", "/VBF_RadionToZZ_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_2000) +VBF_RadionToZZ_narrow_2500=kreator.makeMCComponent("VBF_RadionToZZ_narrow_2500", "/VBF_RadionToZZ_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_2500) +VBF_RadionToZZ_narrow_3000=kreator.makeMCComponent("VBF_RadionToZZ_narrow_3000", "/VBF_RadionToZZ_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_3000) +VBF_RadionToZZ_narrow_3500=kreator.makeMCComponent("VBF_RadionToZZ_narrow_3500", "/VBF_RadionToZZ_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_3500) +VBF_RadionToZZ_narrow_4000=kreator.makeMCComponent("VBF_RadionToZZ_narrow_4000", "/VBF_RadionToZZ_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_4000) +VBF_RadionToZZ_narrow_4500=kreator.makeMCComponent("VBF_RadionToZZ_narrow_4500", "/VBF_RadionToZZ_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_4500) +VBF_RadionToZZ_narrow_800=kreator.makeMCComponent("VBF_RadionToZZ_narrow_800", "/VBF_RadionToZZ_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToZZ_narrow_800) +BulkGravToWWToWlepWhad_narrow_1000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1000", "/BulkGravToWWToWlepWhad_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_1000) -BulkGravToWWToWlepWhad_narrow_1200=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1200", "/BulkGravToWWToWlepWhad_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_1200=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1200", "/BulkGravToWWToWlepWhad_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_1200) -BulkGravToWWToWlepWhad_narrow_1400=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1400", "/BulkGravToWWToWlepWhad_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_1400=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1400", "/BulkGravToWWToWlepWhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_1400) -BulkGravToWWToWlepWhad_narrow_1600=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1600", "/BulkGravToWWToWlepWhad_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_1600=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1600", "/BulkGravToWWToWlepWhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_1600) -BulkGravToWWToWlepWhad_narrow_1800=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1800", "/BulkGravToWWToWlepWhad_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_1800=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_1800", "/BulkGravToWWToWlepWhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_1800) -BulkGravToWWToWlepWhad_narrow_2000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_2000", "/BulkGravToWWToWlepWhad_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_2000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_2000", "/BulkGravToWWToWlepWhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_2000) -BulkGravToWWToWlepWhad_narrow_2500=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_2500", "/BulkGravToWWToWlepWhad_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_2500=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_2500", "/BulkGravToWWToWlepWhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_2500) -BulkGravToWWToWlepWhad_narrow_3000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_3000", "/BulkGravToWWToWlepWhad_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_3000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_3000", "/BulkGravToWWToWlepWhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_3000) -BulkGravToWWToWlepWhad_narrow_3500=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_3500", "/BulkGravToWWToWlepWhad_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_3500=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_3500", "/BulkGravToWWToWlepWhad_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_3500) -BulkGravToWWToWlepWhad_narrow_4000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_4000", "/BulkGravToWWToWlepWhad_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_4000=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_4000", "/BulkGravToWWToWlepWhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_4000) -BulkGravToWWToWlepWhad_narrow_4500=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_4500", "/BulkGravToWWToWlepWhad_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_4500=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_4500", "/BulkGravToWWToWlepWhad_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWWToWlepWhad_narrow_4500) -BulkGravToWW_narrow_600=kreator.makeMCComponent("BulkGravToWW_narrow_600", "/BulkGravToWW_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToWW_narrow_600) -BulkGravToWW_narrow_800=kreator.makeMCComponent("BulkGravToWW_narrow_800", "/BulkGravToWW_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToWW_narrow_800) -BulkGravToWW_narrow_1000=kreator.makeMCComponent("BulkGravToWW_narrow_1000", "/BulkGravToWW_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWWToWlepWhad_narrow_800=kreator.makeMCComponent("BulkGravToWWToWlepWhad_narrow_800", "/BulkGravToWWToWlepWhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToWWToWlepWhad_narrow_800) +BulkGravToWW_narrow_1000=kreator.makeMCComponent("BulkGravToWW_narrow_1000", "/BulkGravToWW_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_1000) -BulkGravToWW_narrow_1200=kreator.makeMCComponent("BulkGravToWW_narrow_1200", "/BulkGravToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_1200=kreator.makeMCComponent("BulkGravToWW_narrow_1200", "/BulkGravToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_1200) -BulkGravToWW_narrow_1400=kreator.makeMCComponent("BulkGravToWW_narrow_1400", "/BulkGravToWW_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_1400=kreator.makeMCComponent("BulkGravToWW_narrow_1400", "/BulkGravToWW_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_1400) -BulkGravToWW_narrow_1600=kreator.makeMCComponent("BulkGravToWW_narrow_1600", "/BulkGravToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_1600=kreator.makeMCComponent("BulkGravToWW_narrow_1600", "/BulkGravToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_1600) -BulkGravToWW_narrow_1800=kreator.makeMCComponent("BulkGravToWW_narrow_1800", "/BulkGravToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_1800=kreator.makeMCComponent("BulkGravToWW_narrow_1800", "/BulkGravToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_1800) -BulkGravToWW_narrow_2000=kreator.makeMCComponent("BulkGravToWW_narrow_2000", "/BulkGravToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_2000=kreator.makeMCComponent("BulkGravToWW_narrow_2000", "/BulkGravToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_2000) -BulkGravToWW_narrow_2500=kreator.makeMCComponent("BulkGravToWW_narrow_2500", "/BulkGravToWW_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_2500=kreator.makeMCComponent("BulkGravToWW_narrow_2500", "/BulkGravToWW_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_2500) -BulkGravToWW_narrow_3000=kreator.makeMCComponent("BulkGravToWW_narrow_3000", "/BulkGravToWW_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_3000=kreator.makeMCComponent("BulkGravToWW_narrow_3000", "/BulkGravToWW_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_3000) -BulkGravToWW_narrow_3500=kreator.makeMCComponent("BulkGravToWW_narrow_3500", "/BulkGravToWW_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_3500=kreator.makeMCComponent("BulkGravToWW_narrow_3500", "/BulkGravToWW_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_3500) -BulkGravToWW_narrow_4000=kreator.makeMCComponent("BulkGravToWW_narrow_4000", "/BulkGravToWW_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_4000=kreator.makeMCComponent("BulkGravToWW_narrow_4000", "/BulkGravToWW_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_4000) -BulkGravToWW_narrow_4500=kreator.makeMCComponent("BulkGravToWW_narrow_4500", "/BulkGravToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_4500=kreator.makeMCComponent("BulkGravToWW_narrow_4500", "/BulkGravToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(BulkGravToWW_narrow_4500) -RSGravToWW_kMpl01_600=kreator.makeMCComponent("RSGravToWW_kMpl01_600", "/RSGravToWW_kMpl01_M-600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWW_kMpl01_600) -RSGravToWW_kMpl01_800=kreator.makeMCComponent("RSGravToWW_kMpl01_800", "/RSGravToWW_kMpl01_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWW_kMpl01_800) -RSGravToWW_kMpl01_1000=kreator.makeMCComponent("RSGravToWW_kMpl01_1000", "/RSGravToWW_kMpl01_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +BulkGravToWW_narrow_600=kreator.makeMCComponent("BulkGravToWW_narrow_600", "/BulkGravToWW_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToWW_narrow_600) +BulkGravToWW_narrow_800=kreator.makeMCComponent("BulkGravToWW_narrow_800", "/BulkGravToWW_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(BulkGravToWW_narrow_800) +RSGravToWWToLNQQ_kMpl01_1000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1000", "/RSGravToWWToLNQQ_kMpl01_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_1000) +RSGravToWWToLNQQ_kMpl01_1200=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1200", "/RSGravToWWToLNQQ_kMpl01_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_1200) +RSGravToWWToLNQQ_kMpl01_1400=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1400", "/RSGravToWWToLNQQ_kMpl01_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_1400) +RSGravToWWToLNQQ_kMpl01_1800=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1800", "/RSGravToWWToLNQQ_kMpl01_M-1800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_1800) +RSGravToWWToLNQQ_kMpl01_2000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_2000", "/RSGravToWWToLNQQ_kMpl01_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_2000) +RSGravToWWToLNQQ_kMpl01_2500=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_2500", "/RSGravToWWToLNQQ_kMpl01_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_2500) +RSGravToWWToLNQQ_kMpl01_3000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_3000", "/RSGravToWWToLNQQ_kMpl01_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_3000) +RSGravToWWToLNQQ_kMpl01_3500=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_3500", "/RSGravToWWToLNQQ_kMpl01_M-3500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_3500) +RSGravToWWToLNQQ_kMpl01_4000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_4000", "/RSGravToWWToLNQQ_kMpl01_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_4000) +RSGravToWWToLNQQ_kMpl01_4500=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_4500", "/RSGravToWWToLNQQ_kMpl01_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_4500) +RSGravToWWToLNQQ_kMpl01_600=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_600", "/RSGravToWWToLNQQ_kMpl01_M-600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_600) +RSGravToWWToLNQQ_kMpl01_800=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_800", "/RSGravToWWToLNQQ_kMpl01_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToLNQQ_kMpl01_800) +RSGravToWWToWlepWhad_narrow_1000=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_1000", "/RSGravToWWToWlepWhad_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_1000) +RSGravToWWToWlepWhad_narrow_1200=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_1200", "/RSGravToWWToWlepWhad_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_1200) +RSGravToWWToWlepWhad_narrow_1400=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_1400", "/RSGravToWWToWlepWhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_1400) +RSGravToWWToWlepWhad_narrow_1600=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_1600", "/RSGravToWWToWlepWhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_1600) +RSGravToWWToWlepWhad_narrow_1800=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_1800", "/RSGravToWWToWlepWhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_1800) +RSGravToWWToWlepWhad_narrow_2000=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_2000", "/RSGravToWWToWlepWhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_2000) +RSGravToWWToWlepWhad_narrow_2500=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_2500", "/RSGravToWWToWlepWhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_2500) +RSGravToWWToWlepWhad_narrow_3000=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_3000", "/RSGravToWWToWlepWhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_3000) +RSGravToWWToWlepWhad_narrow_3500=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_3500", "/RSGravToWWToWlepWhad_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_3500) +RSGravToWWToWlepWhad_narrow_4000=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_4000", "/RSGravToWWToWlepWhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_4000) +RSGravToWWToWlepWhad_narrow_4500=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_4500", "/RSGravToWWToWlepWhad_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_4500) +RSGravToWWToWlepWhad_narrow_600=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_600", "/RSGravToWWToWlepWhad_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_600) +RSGravToWWToWlepWhad_narrow_800=kreator.makeMCComponent("RSGravToWWToWlepWhad_narrow_800", "/RSGravToWWToWlepWhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWWToWlepWhad_narrow_800) +RSGravToWW_kMpl01_1000=kreator.makeMCComponent("RSGravToWW_kMpl01_1000", "/RSGravToWW_kMpl01_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_1000) -RSGravToWW_kMpl01_1200=kreator.makeMCComponent("RSGravToWW_kMpl01_1200", "/RSGravToWW_kMpl01_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_1200=kreator.makeMCComponent("RSGravToWW_kMpl01_1200", "/RSGravToWW_kMpl01_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_1200) -RSGravToWW_kMpl01_1400=kreator.makeMCComponent("RSGravToWW_kMpl01_1400", "/RSGravToWW_kMpl01_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_1400=kreator.makeMCComponent("RSGravToWW_kMpl01_1400", "/RSGravToWW_kMpl01_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_1400) -RSGravToWW_kMpl01_1600=kreator.makeMCComponent("RSGravToWW_kMpl01_1600", "/RSGravToWW_kMpl01_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_1600=kreator.makeMCComponent("RSGravToWW_kMpl01_1600", "/RSGravToWW_kMpl01_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_1600) -RSGravToWW_kMpl01_1800=kreator.makeMCComponent("RSGravToWW_kMpl01_1800", "/RSGravToWW_kMpl01_M-1800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_1800=kreator.makeMCComponent("RSGravToWW_kMpl01_1800", "/RSGravToWW_kMpl01_M-1800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_1800) -RSGravToWW_kMpl01_2000=kreator.makeMCComponent("RSGravToWW_kMpl01_2000", "/RSGravToWW_kMpl01_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_2000=kreator.makeMCComponent("RSGravToWW_kMpl01_2000", "/RSGravToWW_kMpl01_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_2000) -RSGravToWW_kMpl01_2500=kreator.makeMCComponent("RSGravToWW_kMpl01_2500", "/RSGravToWW_kMpl01_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_2500=kreator.makeMCComponent("RSGravToWW_kMpl01_2500", "/RSGravToWW_kMpl01_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_2500) -RSGravToWW_kMpl01_3000=kreator.makeMCComponent("RSGravToWW_kMpl01_3000", "/RSGravToWW_kMpl01_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_3000=kreator.makeMCComponent("RSGravToWW_kMpl01_3000", "/RSGravToWW_kMpl01_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_3000) -RSGravToWW_kMpl01_3500=kreator.makeMCComponent("RSGravToWW_kMpl01_3500", "/RSGravToWW_kMpl01_M-3500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_3500=kreator.makeMCComponent("RSGravToWW_kMpl01_3500", "/RSGravToWW_kMpl01_M-3500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_3500) -RSGravToWW_kMpl01_4000=kreator.makeMCComponent("RSGravToWW_kMpl01_4000", "/RSGravToWW_kMpl01_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_4000=kreator.makeMCComponent("RSGravToWW_kMpl01_4000", "/RSGravToWW_kMpl01_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_4000) -RSGravToWW_kMpl01_4500=kreator.makeMCComponent("RSGravToWW_kMpl01_4500", "/RSGravToWW_kMpl01_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_4500=kreator.makeMCComponent("RSGravToWW_kMpl01_4500", "/RSGravToWW_kMpl01_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(RSGravToWW_kMpl01_4500) -RSGravToWWToLNQQ_kMpl01_600=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_600", "/RSGravToWWToLNQQ_kMpl01_M-600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_600) -RSGravToWWToLNQQ_kMpl01_800=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_800", "/RSGravToWWToLNQQ_kMpl01_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_800) -RSGravToWWToLNQQ_kMpl01_1000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1000", "/RSGravToWWToLNQQ_kMpl01_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_1000) -RSGravToWWToLNQQ_kMpl01_1200=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1200", "/RSGravToWWToLNQQ_kMpl01_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_1200) -RSGravToWWToLNQQ_kMpl01_1400=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1400", "/RSGravToWWToLNQQ_kMpl01_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_1400) -RSGravToWWToLNQQ_kMpl01_1600=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1600", "/RSGravToWWToLNQQ_kMpl01_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_1600) -RSGravToWWToLNQQ_kMpl01_1800=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_1800", "/RSGravToWWToLNQQ_kMpl01_M-1800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_1800) -RSGravToWWToLNQQ_kMpl01_2000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_2000", "/RSGravToWWToLNQQ_kMpl01_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_2000) -RSGravToWWToLNQQ_kMpl01_2500=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_2500", "/RSGravToWWToLNQQ_kMpl01_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_2500) -RSGravToWWToLNQQ_kMpl01_3000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_3000", "/RSGravToWWToLNQQ_kMpl01_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_3000) -RSGravToWWToLNQQ_kMpl01_3500=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_3500", "/RSGravToWWToLNQQ_kMpl01_M-3500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_3500) -RSGravToWWToLNQQ_kMpl01_4000=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_4000", "/RSGravToWWToLNQQ_kMpl01_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_4000) -RSGravToWWToLNQQ_kMpl01_4500=kreator.makeMCComponent("RSGravToWWToLNQQ_kMpl01_4500", "/RSGravToWWToLNQQ_kMpl01_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(RSGravToWWToLNQQ_kMpl01_4500) -VBF_BulkGravToWW_1000=kreator.makeMCComponent("VBF_BulkGravToWW_1000", "/VBF_BulkGravToWW_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_1000) -VBF_BulkGravToWW_1200=kreator.makeMCComponent("VBF_BulkGravToWW_1200", "/VBF_BulkGravToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_1200) -VBF_BulkGravToWW_1400=kreator.makeMCComponent("VBF_BulkGravToWW_1400", "/VBF_BulkGravToWW_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_1400) -VBF_BulkGravToWW_1600=kreator.makeMCComponent("VBF_BulkGravToWW_1600", "/VBF_BulkGravToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_1600) -VBF_BulkGravToWW_2000=kreator.makeMCComponent("VBF_BulkGravToWW_2000", "/VBF_BulkGravToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_2000) -VBF_BulkGravToWW_2500=kreator.makeMCComponent("VBF_BulkGravToWW_2500", "/VBF_BulkGravToWW_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_2500) -VBF_BulkGravToWW_800=kreator.makeMCComponent("VBF_BulkGravToWW_800", "/VBF_BulkGravToWW_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_800) -VBF_BulkGravToWW_4000=kreator.makeMCComponent("VBF_BulkGravToWW_4000", "/VBF_BulkGravToWW_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_4000) -VBF_BulkGravToWW_600=kreator.makeMCComponent("VBF_BulkGravToWW_600", "/VBF_BulkGravToWW_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_600) -VBF_BulkGravToWW_1800=kreator.makeMCComponent("VBF_BulkGravToWW_1800", "/VBF_BulkGravToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_1800) -VBF_BulkGravToWW_3500=kreator.makeMCComponent("VBF_BulkGravToWW_3500", "/VBF_BulkGravToWW_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_3500) -VBF_BulkGravToWW_3000=kreator.makeMCComponent("VBF_BulkGravToWW_3000", "/VBF_BulkGravToWW_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_3000) -VBF_BulkGravToWW_4500=kreator.makeMCComponent("VBF_BulkGravToWW_4500", "/VBF_BulkGravToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(VBF_BulkGravToWW_4500) -BulkGravToZZToZhadZhad_narrow_3500=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_3500", "/BulkGravToZZToZhadZhad_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_3500) -BulkGravToZZToZhadZhad_narrow_3000=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_3000", "/BulkGravToZZToZhadZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_3000) -BulkGravToZZToZhadZhad_narrow_1800=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1800", "/BulkGravToZZToZhadZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_1800) -BulkGravToZZToZlepZhad_narrow_1200=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1200", "/BulkGravToZZToZlepZhad_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_1200) -BulkGravToZZToZlepZhad_narrow_1400=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1400", "/BulkGravToZZToZlepZhad_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_1400) -BulkGravToZZToZhadZhad_narrow_1000=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1000", "/BulkGravToZZToZhadZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_1000) -BulkGravToZZToZlepZhad_narrow_600=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_600", "/BulkGravToZZToZlepZhad_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_600) -BulkGravToZZToZhadZhad_narrow_2500=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_2500", "/BulkGravToZZToZhadZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_2500) -BulkGravToZZToZhadZhad_narrow_600=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_600", "/BulkGravToZZToZhadZhad_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_600) -BulkGravToZZToZlepZhad_narrow_4500=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_4500", "/BulkGravToZZToZlepZhad_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_4500) -BulkGravToZZToZlepZhad_narrow_4000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_4000", "/BulkGravToZZToZlepZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_4000) -BulkGravToZZToZhadZhad_narrow_1600=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_1600", "/BulkGravToZZToZhadZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_1600) -BulkGravToZZToZlepZhad_narrow_1800=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1800", "/BulkGravToZZToZlepZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_1800) -BulkGravToZZToZlepZhad_narrow_1600=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1600", "/BulkGravToZZToZlepZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_1600) -BulkGravToZZToZlepZhad_narrow_800=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_800", "/BulkGravToZZToZlepZhad_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_800) -BulkGravToZZToZlepZhad_narrow_2000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_2000", "/BulkGravToZZToZlepZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_2000) -BulkGravToZZToZhadZhad_narrow_800=kreator.makeMCComponent("BulkGravToZZToZhadZhad_narrow_800", "/BulkGravToZZToZhadZhad_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZhadZhad_narrow_800) -BulkGravToZZToZlepZhad_narrow_3000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_3000", "/BulkGravToZZToZlepZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_3000) -BulkGravToZZToZlepZhad_narrow_1000=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_1000", "/BulkGravToZZToZlepZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_1000) -BulkGravToZZToZlepZhad_narrow_2500=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_2500", "/BulkGravToZZToZlepZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_2500) -BulkGravToZZToZlepZhad_narrow_3500=kreator.makeMCComponent("BulkGravToZZToZlepZhad_narrow_3500", "/BulkGravToZZToZlepZhad_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(BulkGravToZZToZlepZhad_narrow_3500) -WprimeToWZToWhadZlep_narrow_600=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_600", "/WprimeToWZToWhadZlep_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_600) -WprimeToWZToWhadZlep_narrow_2000=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_2000", "/WprimeToWZToWhadZlep_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_2000) -WprimeToWZToWlepZhad_narrow_3000=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_3000", "/WprimeToWZToWlepZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_3000) -WprimeToWZToWhadZhad_narrow_2000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_2000", "/WprimeToWZToWhadZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZhad_narrow_2000) -WprimeToWZToWlepZlep_narrow_1200=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_1200", "/WprimeToWZToWlepZlep_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_1200) -WprimeToWZToWlepZlep_narrow_4000=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_4000", "/WprimeToWZToWlepZlep_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_4000) -WprimeToWZToWlepZlep_narrow_3000=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_3000", "/WprimeToWZToWlepZlep_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_3000) -WprimeToWZToWhadZhad_narrow_600=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_600", "/WprimeToWZToWhadZhad_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZhad_narrow_600) -WprimeToWZToWhadZhad_narrow_2500=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_2500", "/WprimeToWZToWhadZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZhad_narrow_2500) -WprimeToWZToWhadZhad_narrow_1000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1000", "/WprimeToWZToWhadZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +RSGravToWW_kMpl01_800=kreator.makeMCComponent("RSGravToWW_kMpl01_800", "/RSGravToWW_kMpl01_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWW_kMpl01_800) +RSGravToWW_narrow_1200=kreator.makeMCComponent("RSGravToWW_narrow_1200", "/RSGravToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWW_narrow_1200) +RSGravToWW_narrow_1400=kreator.makeMCComponent("RSGravToWW_narrow_1400", "/RSGravToWW_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWW_narrow_1400) +RSGravToWW_narrow_1600=kreator.makeMCComponent("RSGravToWW_narrow_1600", "/RSGravToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWW_narrow_1600) +RSGravToWW_narrow_1800=kreator.makeMCComponent("RSGravToWW_narrow_1800", "/RSGravToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWW_narrow_1800) +RSGravToWW_narrow_2000=kreator.makeMCComponent("RSGravToWW_narrow_2000", "/RSGravToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(RSGravToWW_narrow_2000) +VBF_BulkGravToWW_narrow_1000=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_1000", "/VBF_BulkGravToWW_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_1000) +VBF_BulkGravToWW_narrow_1200=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_1200", "/VBF_BulkGravToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_1200) +VBF_BulkGravToWW_narrow_1400=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_1400", "/VBF_BulkGravToWW_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_1400) +VBF_BulkGravToWW_narrow_1600=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_1600", "/VBF_BulkGravToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_1600) +VBF_BulkGravToWW_narrow_1800=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_1800", "/VBF_BulkGravToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_1800) +VBF_BulkGravToWW_narrow_2000=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_2000", "/VBF_BulkGravToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_2000) +VBF_BulkGravToWW_narrow_2500=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_2500", "/VBF_BulkGravToWW_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_2500) +VBF_BulkGravToWW_narrow_3000=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_3000", "/VBF_BulkGravToWW_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_3000) +VBF_BulkGravToWW_narrow_3500=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_3500", "/VBF_BulkGravToWW_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_3500) +VBF_BulkGravToWW_narrow_4500=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_4500", "/VBF_BulkGravToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_4500) +VBF_BulkGravToWW_narrow_800=kreator.makeMCComponent("VBF_BulkGravToWW_narrow_800", "/VBF_BulkGravToWW_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_BulkGravToWW_narrow_800) +VBF_RadionToWW_narrow_1000=kreator.makeMCComponent("VBF_RadionToWW_narrow_1000", "/VBF_RadionToWW_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_1000) +VBF_RadionToWW_narrow_1200=kreator.makeMCComponent("VBF_RadionToWW_narrow_1200", "/VBF_RadionToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_1200) +VBF_RadionToWW_narrow_1600=kreator.makeMCComponent("VBF_RadionToWW_narrow_1600", "/VBF_RadionToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_1600) +VBF_RadionToWW_narrow_1800=kreator.makeMCComponent("VBF_RadionToWW_narrow_1800", "/VBF_RadionToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_1800) +VBF_RadionToWW_narrow_2000=kreator.makeMCComponent("VBF_RadionToWW_narrow_2000", "/VBF_RadionToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_2000) +VBF_RadionToWW_narrow_2500=kreator.makeMCComponent("VBF_RadionToWW_narrow_2500", "/VBF_RadionToWW_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_2500) +VBF_RadionToWW_narrow_3500=kreator.makeMCComponent("VBF_RadionToWW_narrow_3500", "/VBF_RadionToWW_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_3500) +VBF_RadionToWW_narrow_4000=kreator.makeMCComponent("VBF_RadionToWW_narrow_4000", "/VBF_RadionToWW_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_4000) +VBF_RadionToWW_narrow_4500=kreator.makeMCComponent("VBF_RadionToWW_narrow_4500", "/VBF_RadionToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_4500) +VBF_RadionToWW_narrow_800=kreator.makeMCComponent("VBF_RadionToWW_narrow_800", "/VBF_RadionToWW_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(VBF_RadionToWW_narrow_800) +ZprimeToWWToWlepWhad_narrow_1200=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_1200", "/ZprimeToWWToWlepWhad_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_1200) +ZprimeToWWToWlepWhad_narrow_1400=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_1400", "/ZprimeToWWToWlepWhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_1400) +ZprimeToWWToWlepWhad_narrow_1600=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_1600", "/ZprimeToWWToWlepWhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_1600) +ZprimeToWWToWlepWhad_narrow_1800=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_1800", "/ZprimeToWWToWlepWhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_1800) +ZprimeToWWToWlepWhad_narrow_2000=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_2000", "/ZprimeToWWToWlepWhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_2000) +ZprimeToWWToWlepWhad_narrow_2500=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_2500", "/ZprimeToWWToWlepWhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_2500) +ZprimeToWWToWlepWhad_narrow_3000=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_3000", "/ZprimeToWWToWlepWhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_3000) +ZprimeToWWToWlepWhad_narrow_3500=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_3500", "/ZprimeToWWToWlepWhad_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_3500) +ZprimeToWWToWlepWhad_narrow_4000=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_4000", "/ZprimeToWWToWlepWhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_4000) +ZprimeToWWToWlepWhad_narrow_4500=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_4500", "/ZprimeToWWToWlepWhad_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_4500) +ZprimeToWWToWlepWhad_narrow_800=kreator.makeMCComponent("ZprimeToWWToWlepWhad_narrow_800", "/ZprimeToWWToWlepWhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWWToWlepWhad_narrow_800) +ZprimeToWW_narrow_1000=kreator.makeMCComponent("ZprimeToWW_narrow_1000", "/ZprimeToWW_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_1000) +ZprimeToWW_narrow_1200=kreator.makeMCComponent("ZprimeToWW_narrow_1200", "/ZprimeToWW_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_1200) +ZprimeToWW_narrow_1400=kreator.makeMCComponent("ZprimeToWW_narrow_1400", "/ZprimeToWW_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_1400) +ZprimeToWW_narrow_1600=kreator.makeMCComponent("ZprimeToWW_narrow_1600", "/ZprimeToWW_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_1600) +ZprimeToWW_narrow_1800=kreator.makeMCComponent("ZprimeToWW_narrow_1800", "/ZprimeToWW_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_1800) +ZprimeToWW_narrow_2000=kreator.makeMCComponent("ZprimeToWW_narrow_2000", "/ZprimeToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_2000) +ZprimeToWW_narrow_2500=kreator.makeMCComponent("ZprimeToWW_narrow_2500", "/ZprimeToWW_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_2500) +ZprimeToWW_narrow_3000=kreator.makeMCComponent("ZprimeToWW_narrow_3000", "/ZprimeToWW_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_3000) +ZprimeToWW_narrow_3500=kreator.makeMCComponent("ZprimeToWW_narrow_3500", "/ZprimeToWW_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_3500) +ZprimeToWW_narrow_4000=kreator.makeMCComponent("ZprimeToWW_narrow_4000", "/ZprimeToWW_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_4000) +ZprimeToWW_narrow_4500=kreator.makeMCComponent("ZprimeToWW_narrow_4500", "/ZprimeToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_4500) +ZprimeToWW_narrow_800=kreator.makeMCComponent("ZprimeToWW_narrow_800", "/ZprimeToWW_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToWW_narrow_800) +WprimeToWZToWhadZhad_narrow_1000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1000", "/WprimeToWZToWhadZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(WprimeToWZToWhadZhad_narrow_1000) -WprimeToWZToWhadZlep_narrow_1400=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_1400", "/WprimeToWZToWhadZlep_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_1400) -WprimeToWZToWlepZhad_narrow_1800=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_1800", "/WprimeToWZToWlepZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_1800) -WprimeToWZToWhadZhad_narrow_4500=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_4500", "/WprimeToWZToWhadZhad_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZhad_narrow_4500) -WprimeToWZToWlepZhad_narrow_3500=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_3500", "/WprimeToWZToWlepZhad_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_3500) -WprimeToWZToWlepZhad_narrow_600=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_600", "/WprimeToWZToWlepZhad_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_600) -WprimeToWZToWlepZlep_narrow_800=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_800", "/WprimeToWZToWlepZlep_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_800) -WprimeToWZToWlepZlep_narrow_1800=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_1800", "/WprimeToWZToWlepZlep_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_1800) -WprimeToWZToWhadZhad_narrow_1200=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1200", "/WprimeToWZToWhadZhad_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +WprimeToWZToWhadZhad_narrow_1200=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1200", "/WprimeToWZToWhadZhad_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(WprimeToWZToWhadZhad_narrow_1200) -WprimeToWZToWlepZhad_narrow_2500=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_2500", "/WprimeToWZToWlepZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_2500) -WprimeToWZToWhadZlep_narrow_800=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_800", "/WprimeToWZToWhadZlep_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_800) -WprimeToWZToWlepZhad_narrow_1600=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_1600", "/WprimeToWZToWlepZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_1600) -WprimeToWZToWlepZhad_narrow_4500=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_4500", "/WprimeToWZToWlepZhad_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_4500) -WprimeToWZToWhadZlep_narrow_4000=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_4000", "/WprimeToWZToWhadZlep_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_4000) -WprimeToWZToWlepZlep_narrow_3500=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_3500", "/WprimeToWZToWlepZlep_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_3500) -WprimeToWZToWlepZlep_narrow_1000=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_1000", "/WprimeToWZToWlepZlep_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_1000) -WprimeToWZToWlepZhad_narrow_1200=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_1200", "/WprimeToWZToWlepZhad_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_1200) -WprimeToWZToWhadZlep_narrow_1800=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_1800", "/WprimeToWZToWhadZlep_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_1800) -WprimeToWZToWhadZhad_narrow_1800=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1800", "/WprimeToWZToWhadZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +WprimeToWZToWhadZhad_narrow_1400=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1400", "/WprimeToWZToWhadZhad_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_1400) +WprimeToWZToWhadZhad_narrow_1600=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1600", "/WprimeToWZToWhadZhad_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_1600) +WprimeToWZToWhadZhad_narrow_1800=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_1800", "/WprimeToWZToWhadZhad_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(WprimeToWZToWhadZhad_narrow_1800) -WprimeToWZToWhadZhad_narrow_4000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_4000", "/WprimeToWZToWhadZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +WprimeToWZToWhadZhad_narrow_2000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_2000", "/WprimeToWZToWhadZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_2000) +WprimeToWZToWhadZhad_narrow_2500=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_2500", "/WprimeToWZToWhadZhad_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_2500) +WprimeToWZToWhadZhad_narrow_3000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_3000", "/WprimeToWZToWhadZhad_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_3000) +WprimeToWZToWhadZhad_narrow_3500=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_3500", "/WprimeToWZToWhadZhad_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_3500) +WprimeToWZToWhadZhad_narrow_4000=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_4000", "/WprimeToWZToWhadZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(WprimeToWZToWhadZhad_narrow_4000) -WprimeToWZToWlepZhad_narrow_4000=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_4000", "/WprimeToWZToWlepZhad_narrow_M-4000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_4000) -WprimeToWZToWlepZlep_narrow_2500=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_2500", "/WprimeToWZToWlepZlep_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_2500) -WprimeToWZToWhadZlep_narrow_1600=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_1600", "/WprimeToWZToWhadZlep_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_1600) -WprimeToWZToWhadZlep_narrow_3500=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_3500", "/WprimeToWZToWhadZlep_narrow_M-3500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_3500) -WprimeToWZToWlepZhad_narrow_1000=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_1000", "/WprimeToWZToWlepZhad_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_1000) -WprimeToWZToWlepZlep_narrow_600=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_600", "/WprimeToWZToWlepZlep_narrow_M-600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_600) -WprimeToWZToWlepZlep_narrow_1600=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_1600", "/WprimeToWZToWlepZlep_narrow_M-1600_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_1600) -WprimeToWZToWlepZhad_narrow_1400=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_1400", "/WprimeToWZToWlepZhad_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_1400) -WprimeToWZToWhadZlep_narrow_1000=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_1000", "/WprimeToWZToWhadZlep_narrow_M-1000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_1000) -WprimeToWZToWlepZlep_narrow_1400=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_1400", "/WprimeToWZToWlepZlep_narrow_M-1400_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_1400) -WprimeToWZToWlepZhad_narrow_800=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_800", "/WprimeToWZToWlepZhad_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_800) -WprimeToWZToWhadZlep_narrow_4500=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_4500", "/WprimeToWZToWhadZlep_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_4500) -WprimeToWZToWlepZlep_narrow_4500=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_4500", "/WprimeToWZToWlepZlep_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_4500) -WprimeToWZToWhadZlep_narrow_1200=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_1200", "/WprimeToWZToWhadZlep_narrow_M-1200_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_1200) -WprimeToWZToWhadZlep_narrow_2500=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_2500", "/WprimeToWZToWhadZlep_narrow_M-2500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_2500) -WprimeToWZToWlepZlep_narrow_2000=kreator.makeMCComponent("WprimeToWZToWlepZlep_narrow_2000", "/WprimeToWZToWlepZlep_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZlep_narrow_2000) -WprimeToWZToWlepZhad_narrow_2000=kreator.makeMCComponent("WprimeToWZToWlepZhad_narrow_2000", "/WprimeToWZToWlepZhad_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWlepZhad_narrow_2000) -WprimeToWZToWhadZhad_narrow_800=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_800", "/WprimeToWZToWhadZhad_narrow_M-800_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) +WprimeToWZToWhadZhad_narrow_4500=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_4500", "/WprimeToWZToWhadZhad_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_4500) +WprimeToWZToWhadZhad_narrow_600=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_600", "/WprimeToWZToWhadZhad_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZhad_narrow_600) +WprimeToWZToWhadZhad_narrow_800=kreator.makeMCComponent("WprimeToWZToWhadZhad_narrow_800", "/WprimeToWZToWhadZhad_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) signalSamples.append(WprimeToWZToWhadZhad_narrow_800) -WprimeToWZToWhadZlep_narrow_3000=kreator.makeMCComponent("WprimeToWZToWhadZlep_narrow_3000", "/WprimeToWZToWhadZlep_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",1.0) -signalSamples.append(WprimeToWZToWhadZlep_narrow_3000) +WprimeToWZToWhadZinv_narrow_1200=kreator.makeMCComponent("WprimeToWZToWhadZinv_narrow_1200", "/WprimeToWZToWhadZinv_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZToWhadZinv_narrow_1200) +WprimeToWZ_1000=kreator.makeMCComponent("WprimeToWZ_1000", "/WprimeToWZ_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_1000) +WprimeToWZ_1200=kreator.makeMCComponent("WprimeToWZ_1200", "/WprimeToWZ_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_1200) +WprimeToWZ_1400=kreator.makeMCComponent("WprimeToWZ_1400", "/WprimeToWZ_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_1400) +WprimeToWZ_1600=kreator.makeMCComponent("WprimeToWZ_1600", "/WprimeToWZ_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_1600) +WprimeToWZ_2000=kreator.makeMCComponent("WprimeToWZ_2000", "/WprimeToWZ_M-2000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_2000) +WprimeToWZ_2500=kreator.makeMCComponent("WprimeToWZ_2500", "/WprimeToWZ_M-2500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_2500) +WprimeToWZ_3000=kreator.makeMCComponent("WprimeToWZ_3000", "/WprimeToWZ_M-3000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_3000) +WprimeToWZ_3500=kreator.makeMCComponent("WprimeToWZ_3500", "/WprimeToWZ_M-3500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_3500) +WprimeToWZ_4000=kreator.makeMCComponent("WprimeToWZ_4000", "/WprimeToWZ_M-4000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_4000) +WprimeToWZ_4500=kreator.makeMCComponent("WprimeToWZ_4500", "/WprimeToWZ_M-4500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_4500) +WprimeToWZ_800=kreator.makeMCComponent("WprimeToWZ_800", "/WprimeToWZ_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_800) +WprimeToWZ_narrow_1000=kreator.makeMCComponent("WprimeToWZ_narrow_1000", "/WprimeToWZ_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_1000) +WprimeToWZ_narrow_1400=kreator.makeMCComponent("WprimeToWZ_narrow_1400", "/WprimeToWZ_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_1400) +WprimeToWZ_narrow_1600=kreator.makeMCComponent("WprimeToWZ_narrow_1600", "/WprimeToWZ_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_1600) +WprimeToWZ_narrow_1800=kreator.makeMCComponent("WprimeToWZ_narrow_1800", "/WprimeToWZ_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_1800) +WprimeToWZ_narrow_2000=kreator.makeMCComponent("WprimeToWZ_narrow_2000", "/WprimeToWZ_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_2000) +WprimeToWZ_narrow_2500=kreator.makeMCComponent("WprimeToWZ_narrow_2500", "/WprimeToWZ_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_2500) +WprimeToWZ_narrow_3000=kreator.makeMCComponent("WprimeToWZ_narrow_3000", "/WprimeToWZ_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_3000) +WprimeToWZ_narrow_3500=kreator.makeMCComponent("WprimeToWZ_narrow_3500", "/WprimeToWZ_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_3500) +WprimeToWZ_narrow_4000=kreator.makeMCComponent("WprimeToWZ_narrow_4000", "/WprimeToWZ_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_4000) +WprimeToWZ_narrow_4500=kreator.makeMCComponent("WprimeToWZ_narrow_4500", "/WprimeToWZ_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_4500) +WprimeToWZ_narrow_800=kreator.makeMCComponent("WprimeToWZ_narrow_800", "/WprimeToWZ_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWZ_narrow_800) +WprimeToWhToWlephbb_narrow_1200=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_1200", "/WprimeToWhToWlephbb_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_1200) +WprimeToWhToWlephbb_narrow_1400=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_1400", "/WprimeToWhToWlephbb_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_1400) +WprimeToWhToWlephbb_narrow_1600=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_1600", "/WprimeToWhToWlephbb_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_1600) +WprimeToWhToWlephbb_narrow_1800=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_1800", "/WprimeToWhToWlephbb_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_1800) +WprimeToWhToWlephbb_narrow_2000=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_2000", "/WprimeToWhToWlephbb_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_2000) +WprimeToWhToWlephbb_narrow_2500=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_2500", "/WprimeToWhToWlephbb_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_2500) +WprimeToWhToWlephbb_narrow_3000=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_3000", "/WprimeToWhToWlephbb_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_3000) +WprimeToWhToWlephbb_narrow_3500=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_3500", "/WprimeToWhToWlephbb_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_3500) +WprimeToWhToWlephbb_narrow_4000=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_4000", "/WprimeToWhToWlephbb_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_4000) +WprimeToWhToWlephbb_narrow_4500=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_4500", "/WprimeToWhToWlephbb_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_4500) +WprimeToWhToWlephbb_narrow_600=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_600", "/WprimeToWhToWlephbb_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_600) +WprimeToWhToWlephbb_narrow_800=kreator.makeMCComponent("WprimeToWhToWlephbb_narrow_800", "/WprimeToWhToWlephbb_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWlephbb_narrow_800) +WprimeToWhToWhadhbb_narrow_1000=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_1000", "/WprimeToWhToWhadhbb_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_1000) +WprimeToWhToWhadhbb_narrow_1200=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_1200", "/WprimeToWhToWhadhbb_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_1200) +WprimeToWhToWhadhbb_narrow_1400=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_1400", "/WprimeToWhToWhadhbb_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_1400) +WprimeToWhToWhadhbb_narrow_1600=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_1600", "/WprimeToWhToWhadhbb_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_1600) +WprimeToWhToWhadhbb_narrow_1800=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_1800", "/WprimeToWhToWhadhbb_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_1800) +WprimeToWhToWhadhbb_narrow_2000=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_2000", "/WprimeToWhToWhadhbb_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_2000) +WprimeToWhToWhadhbb_narrow_2500=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_2500", "/WprimeToWhToWhadhbb_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_2500) +WprimeToWhToWhadhbb_narrow_3000=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_3000", "/WprimeToWhToWhadhbb_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_3000) +WprimeToWhToWhadhbb_narrow_3500=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_3500", "/WprimeToWhToWhadhbb_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_3500) +WprimeToWhToWhadhbb_narrow_4000=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_4000", "/WprimeToWhToWhadhbb_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_4000) +WprimeToWhToWhadhbb_narrow_4500=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_4500", "/WprimeToWhToWhadhbb_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_4500) +WprimeToWhToWhadhbb_narrow_600=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_600", "/WprimeToWhToWhadhbb_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_600) +WprimeToWhToWhadhbb_narrow_800=kreator.makeMCComponent("WprimeToWhToWhadhbb_narrow_800", "/WprimeToWhToWhadhbb_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(WprimeToWhToWhadhbb_narrow_800) +ZprimeToZhToZhadhbb_narrow_1000=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_1000", "/ZprimeToZhToZhadhbb_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_1000) +ZprimeToZhToZhadhbb_narrow_1200=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_1200", "/ZprimeToZhToZhadhbb_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_1200) +ZprimeToZhToZhadhbb_narrow_1400=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_1400", "/ZprimeToZhToZhadhbb_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_1400) +ZprimeToZhToZhadhbb_narrow_1600=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_1600", "/ZprimeToZhToZhadhbb_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_1600) +ZprimeToZhToZhadhbb_narrow_2000=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_2000", "/ZprimeToZhToZhadhbb_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_2000) +ZprimeToZhToZhadhbb_narrow_2500=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_2500", "/ZprimeToZhToZhadhbb_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_2500) +ZprimeToZhToZhadhbb_narrow_3000=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_3000", "/ZprimeToZhToZhadhbb_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_3000) +ZprimeToZhToZhadhbb_narrow_3500=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_3500", "/ZprimeToZhToZhadhbb_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_3500) +ZprimeToZhToZhadhbb_narrow_4000=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_4000", "/ZprimeToZhToZhadhbb_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_4000) +ZprimeToZhToZhadhbb_narrow_4500=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_4500", "/ZprimeToZhToZhadhbb_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_4500) +ZprimeToZhToZhadhbb_narrow_600=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_600", "/ZprimeToZhToZhadhbb_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_600) +ZprimeToZhToZhadhbb_narrow_800=kreator.makeMCComponent("ZprimeToZhToZhadhbb_narrow_800", "/ZprimeToZhToZhadhbb_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZhadhbb_narrow_800) +ZprimeToZhToZinvhbb_narrow_1000=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_1000", "/ZprimeToZhToZinvhbb_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_1000) +ZprimeToZhToZinvhbb_narrow_1200=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_1200", "/ZprimeToZhToZinvhbb_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_1200) +ZprimeToZhToZinvhbb_narrow_1400=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_1400", "/ZprimeToZhToZinvhbb_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_1400) +ZprimeToZhToZinvhbb_narrow_1800=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_1800", "/ZprimeToZhToZinvhbb_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_1800) +ZprimeToZhToZinvhbb_narrow_2000=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_2000", "/ZprimeToZhToZinvhbb_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_2000) +ZprimeToZhToZinvhbb_narrow_2500=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_2500", "/ZprimeToZhToZinvhbb_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_2500) +ZprimeToZhToZinvhbb_narrow_3000=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_3000", "/ZprimeToZhToZinvhbb_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_3000) +ZprimeToZhToZinvhbb_narrow_3500=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_3500", "/ZprimeToZhToZinvhbb_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_3500) +ZprimeToZhToZinvhbb_narrow_4000=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_4000", "/ZprimeToZhToZinvhbb_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_4000) +ZprimeToZhToZinvhbb_narrow_4500=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_4500", "/ZprimeToZhToZinvhbb_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_4500) +ZprimeToZhToZinvhbb_narrow_600=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_600", "/ZprimeToZhToZinvhbb_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_600) +ZprimeToZhToZinvhbb_narrow_800=kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_800", "/ZprimeToZhToZinvhbb_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZinvhbb_narrow_800) +ZprimeToZhToZlephbb_narrow_1000=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_1000", "/ZprimeToZhToZlephbb_narrow_M-1000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_1000) +ZprimeToZhToZlephbb_narrow_1200=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_1200", "/ZprimeToZhToZlephbb_narrow_M-1200_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_1200) +ZprimeToZhToZlephbb_narrow_1400=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_1400", "/ZprimeToZhToZlephbb_narrow_M-1400_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_1400) +ZprimeToZhToZlephbb_narrow_1600=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_1600", "/ZprimeToZhToZlephbb_narrow_M-1600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_1600) +ZprimeToZhToZlephbb_narrow_1800=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_1800", "/ZprimeToZhToZlephbb_narrow_M-1800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_1800) +ZprimeToZhToZlephbb_narrow_2000=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_2000", "/ZprimeToZhToZlephbb_narrow_M-2000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_2000) +ZprimeToZhToZlephbb_narrow_2500=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_2500", "/ZprimeToZhToZlephbb_narrow_M-2500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_2500) +ZprimeToZhToZlephbb_narrow_3000=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_3000", "/ZprimeToZhToZlephbb_narrow_M-3000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_3000) +ZprimeToZhToZlephbb_narrow_3500=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_3500", "/ZprimeToZhToZlephbb_narrow_M-3500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_3500) +ZprimeToZhToZlephbb_narrow_4000=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_4000", "/ZprimeToZhToZlephbb_narrow_M-4000_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_4000) +ZprimeToZhToZlephbb_narrow_4500=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_4500", "/ZprimeToZhToZlephbb_narrow_M-4500_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_4500) +ZprimeToZhToZlephbb_narrow_600=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_600", "/ZprimeToZhToZlephbb_narrow_M-600_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_600) +ZprimeToZhToZlephbb_narrow_800=kreator.makeMCComponent("ZprimeToZhToZlephbb_narrow_800", "/ZprimeToZhToZlephbb_narrow_M-800_13TeV-madgraph/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",1.0) +signalSamples.append(ZprimeToZhToZlephbb_narrow_800) diff --git a/CMGTools/VVResonances/python/statistics/DataCardMaker.py b/CMGTools/VVResonances/python/statistics/DataCardMaker.py new file mode 100644 index 0000000000000..c8c874ef654fd --- /dev/null +++ b/CMGTools/VVResonances/python/statistics/DataCardMaker.py @@ -0,0 +1,549 @@ +import ROOT +ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") +import json + + +class DataCardMaker: + def __init__(self,finalstate,category,period,luminosity=1.0,physics="LJ"): + self.physics=physics + self.finalstate=finalstate + self.category=category + self.period=period + self.contributions=[] + self.systematics=[] + + self.tag=self.physics+"_"+finalstate+"_"+category+"_"+period + self.rootFile = ROOT.TFile(self.tag+".root","RECREATE") + self.rootFile.cd() + self.w=ROOT.RooWorkspace("w","w") + self.luminosity=luminosity + self.w.factory(self.physics+"_"+period+"_lumi["+str(luminosity)+"]") + if period=='8TeV': + self.sqrt_s=8000.0 + if period=='13TeV': + self.sqrt_s=13000.0 + + + def addSystematic(self,name,kind,values,addPar = ""): + self.systematics.append({'name':name,'kind':kind,'values':values }) + + + + + def addMVVSignalShape(self,name,jsonFile,scale ={},resolution={}): + self.w.factory("MH[2000]") + self.w.var("MH").setConstant(1) + + scaleStr='0' + resolutionStr='0' + + scaleSysts=[] + resolutionSysts=[] + for syst,factor in scale.iteritems(): + self.w.factory(syst+"[0,-1,1]") + scaleStr=scaleStr+"+{factor}*{syst}".format(factor=factor,syst=syst) + scaleSysts.append(syst) + for syst,factor in resolution.iteritems(): + self.w.factory(syst+"[0,-1,1]") + resolutionStr=resolutionStr+"+{factor}*{syst}".format(factor=factor,syst=syst) + resolutionSysts.append(syst) + + + + MVV='_'.join(['MVV',self.tag]) + self.w.factory(MVV+"[0,10000]") + + + f=open(jsonFile) + info=json.load(f) + + SCALEVar="_".join(["MEAN",name,self.tag]) + self.w.factory("expr::{name}('MH*({param})*(1+{vv_syst})',MH,{vv_systs})".format(name=SCALEVar,param=info['SCALE'],vv_syst=scaleStr,vv_systs=','.join(scaleSysts))) + + SIGMAVar="_".join(["SIGMA",name,self.tag]) + self.w.factory("expr::{name}('MH*({param})*(1+{vv_syst})',MH,{vv_systs})".format(name=SIGMAVar,param=info['SIGMA'],vv_syst=resolutionStr,vv_systs=','.join(resolutionSysts))) + + ALPHA1Var="_".join(["ALPHA1",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=ALPHA1Var,param=info['ALPHA1'])) + + ALPHA2Var="_".join(["ALPHA2",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=ALPHA2Var,param=info['ALPHA2'])) + + N1Var="_".join(["N1",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=N1Var,param=info['N1'])) + + N2Var="_".join(["N2",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=N2Var,param=info['N2'])) + + pdfName="_".join([name,self.tag]) + vvMass = ROOT.RooDoubleCB(pdfName,pdfName,self.w.var(MVV),self.w.function(SCALEVar),self.w.function(SIGMAVar),self.w.function(ALPHA1Var),self.w.function(N1Var),self.w.function(ALPHA2Var),self.w.function(N2Var)) + getattr(self.w,'import')(vvMass,ROOT.RooFit.Rename(pdfName)) + f.close() + + def addMJJSignalShape(self,name,jsonFile,boson="W",varName="mjj",scale={},resolution={}): + self.w.factory("MH[2000]") + self.w.var("MH").setConstant(1) + + self.w.factory("MW[80.385]") + self.w.var("MW").setConstant(1) + + self.w.factory("MZ[91.1876]") + self.w.var("MZ").setConstant(1) + + mjj='_'.join([varName,self.tag]) + self.w.factory(mjj+"[0,10000]") + + + scaleStr='0' + resolutionStr='0' + + scaleSysts=[] + resolutionSysts=[] + for syst,factor in scale.iteritems(): + self.w.factory(syst+"[0,-1,1]") + scaleStr=scaleStr+"+{factor}*{syst}".format(factor=factor,syst=syst) + scaleSysts.append(syst) + for syst,factor in resolution.iteritems(): + self.w.factory(syst+"[0,-1,1]") + resolutionStr=resolutionStr+"+{factor}*{syst}".format(factor=factor,syst=syst) + resolutionSysts.append(syst) + + f=open(jsonFile) + info=json.load(f) + scaleVar="_".join(["mean",name,self.tag]) + self.w.factory("expr::{name}('{mboson}*({param})*(1+{jet_mass_syst})',{mboson},MH,{jet_mass_systs})".format(name=scaleVar,mboson="M"+boson,param=info['scale'],jet_mass_syst=scaleStr,jet_mass_systs=','.join(scaleSysts))) + + + sigmaVar="_".join(["sigma",name,self.tag]) + self.w.factory("expr::{name}('{mboson}*({param})*(1+{jet_mass_syst})',{mboson},MH,{jet_mass_systs})".format(name=sigmaVar,mboson="M"+boson,param=info['sigma'],jet_mass_syst=resolutionStr,jet_mass_systs=','.join(resolutionSysts))) + + + alpha1Var="_".join(["alpha1",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=alpha1Var,param=info['alpha1'])) + + alpha2Var="_".join(["alpha2",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=alpha2Var,param=info['alpha2'])) + + n1Var="_".join(["n1",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=n1Var,param=info['n1'])) + + n2Var="_".join(["n2",name,self.tag]) + self.w.factory("expr::{name}('MH*0+{param}',MH)".format(name=n2Var,param=info['n2'])) + + + pdfName="_".join([name,self.tag]) + jetMass = ROOT.RooDoubleCB(pdfName,pdfName,self.w.var(mjj),self.w.function(scaleVar),self.w.function(sigmaVar),self.w.function(alpha1Var),self.w.function(n1Var),self.w.function(alpha2Var),self.w.function(n2Var)) + getattr(self.w,'import')(jetMass,ROOT.RooFit.Rename(pdfName)) + f.close() + + + def addMJJTopShape(self,name,jsonFile,varName="mjj",scale={},resolution={}): + + boson="W" + #same as signal but instead of MH use MVV! + MVV='_'.join(['MVV',self.tag]) + self.w.factory(MVV+"[0,10000]") + + self.w.factory("MH[2000]") + self.w.var("MH").setConstant(1) + + self.w.factory("MW[80.385]") + self.w.var("MW").setConstant(1) + + mjj='_'.join([varName,self.tag]) + self.w.factory(mjj+"[0,10000]") + + + scaleStr='0' + resolutionStr='0' + + scaleSysts=[] + resolutionSysts=[] + for syst,factor in scale.iteritems(): + self.w.factory(syst+"[0,-1,1]") + scaleStr=scaleStr+"+{factor}*{syst}".format(factor=factor,syst=syst) + scaleSysts.append(syst) + for syst,factor in resolution.iteritems(): + self.w.factory(syst+"[0,-1,1]") + resolutionStr=resolutionStr+"+{factor}*{syst}".format(factor=factor,syst=syst) + resolutionSysts.append(syst) + + f=open(jsonFile) + info=json.load(f) + + scaleVar="_".join(["mean",name,self.tag]) + self.w.factory("expr::{name}('{mboson}*({param})*(1+{jet_mass_syst})',{mboson},{MH},{jet_mass_systs})".format(name=scaleVar,mboson="M"+boson,param=info['scale'].replace("MH",MVV),jet_mass_syst=scaleStr,jet_mass_systs=','.join(scaleSysts),MH=MVV)) + + + sigmaVar="_".join(["sigma",name,self.tag]) + self.w.factory("expr::{name}('{mboson}*({param})*(1+{jet_mass_syst})',{mboson},{MH},{jet_mass_systs})".format(name=sigmaVar,mboson="M"+boson,param=info['sigma'].replace("MH",MVV),jet_mass_syst=resolutionStr,jet_mass_systs=','.join(resolutionSysts),MH=MVV)) + + + alpha1Var="_".join(["alpha1",name,self.tag]) + self.w.factory("expr::{name}('{MH}*0+{param}',{MH})".format(name=alpha1Var,param=info['alpha1'].replace("MH",MVV),MH=MVV)) + + alpha2Var="_".join(["alpha2",name,self.tag]) + self.w.factory("expr::{name}('{MH}*0+{param}',{MH})".format(name=alpha2Var,param=info['alpha2'].replace("MH",MVV),MH=MVV)) + + n1Var="_".join(["n1",name,self.tag]) + self.w.factory("expr::{name}('{MH}*0+{param}',{MH})".format(name=n1Var,param=info['n1'].replace("MH",MVV),MH=MVV)) + + n2Var="_".join(["n2",name,self.tag]) + self.w.factory("expr::{name}('{MH}*0+{param}',{MH})".format(name=n2Var,param=info['n2'].replace("MH",MVV),MH=MVV)) + + + pdfName="_".join([name,self.tag]) + jetMass = ROOT.RooDoubleCB(pdfName,pdfName,self.w.var(mjj),self.w.function(scaleVar),self.w.function(sigmaVar),self.w.function(alpha1Var),self.w.function(n1Var),self.w.function(alpha2Var),self.w.function(n2Var)) + getattr(self.w,'import')(jetMass,ROOT.RooFit.Rename(pdfName)) + f.close() + + + def addMVVBackgroundShape(self,name,logTerm=False,newTag="",preconstrains={}): + + MVV='_'.join(['MVV',self.tag]) + self.w.factory(MVV+"[0,10000]") + + + if newTag !="": + tag=newTag + else: + tag=name+"_"+self.tag + + + + p0="_".join(["p0",tag]) + if "p0" in preconstrains.keys(): + val = preconstrains['p0']['val'] + err = preconstrains['p0']['err'] + self.addSystematic(p0,"param",[val,err]) + else: + val = 33.0 + self.w.factory("{name}[{val},0,100]".format(name=p0,val=val)) + + p1="_".join(["p1",tag]) + if "p1" in preconstrains.keys(): + val = preconstrains['p1']['val'] + err = preconstrains['p1']['err'] + self.addSystematic(p1,"param",[val,err]) + else: + val = 0.5 + self.w.factory("{name}[{val},0,10]".format(name=p1,val=val)) + + + p2="_".join(["p2",tag]) + if "p2" in preconstrains.keys(): + val = preconstrains['p2']['val'] + err = preconstrains['p2']['err'] + self.addSystematic(p2,"param",[val,err]) + else: + val = 0.001 + + + + if logTerm: + self.w.factory("{name}[{val},0,1000]".format(name=p2,val=val)) + else: + self.w.factory("{name}[0]".format(name=p2)) + + pdfName="_".join([name,self.tag]) + qcd = ROOT.RooQCDPdf(pdfName,pdfName,self.w.var(MVV),self.w.var(p0),self.w.var(p1),self.w.var(p2)) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename(pdfName)) + + + + + + def addMJJBackgroundShapeBifur(self,name,varName='mjj',newTag="",preconstrains={}): + + mjj='_'.join([varName,self.tag]) + self.w.factory(mjj+"[0,10000]") + + MVV='_'.join(['MVV',self.tag]) + self.w.factory(MVV+"[0,10000]") + + + if newTag !="": + tag=newTag + else: + tag=name+"_"+self.tag + + + + bkg_a0="_".join(["a0",tag]) + if "a0" in preconstrains.keys(): + val = preconstrains['a0']['val'] + err = preconstrains['a0']['err'] + self.addSystematic(bkg_a0,"param",[val,err]) + else: + val = -35.661 + + + self.w.factory("{name}[{val},-55,15]".format(name=bkg_a0,val=val)) + + + + + bkg_a1="_".join(["a1",tag]) + if "a1" in preconstrains.keys(): + val = preconstrains['a1']['val'] + err = preconstrains['a1']['err'] + self.addSystematic(bkg_a1,"param",[val,err]) + else: + val = 15.882 + + self.w.factory("{name}[{val},10,35]".format(name=bkg_a1,val=val)) + + + bkg_a="_".join(["a",tag]) + self.w.factory("expr::{name}('{a}+{b}*log({MVV})',{a},{b},{MVV})".format(name=bkg_a,a=bkg_a0,b=bkg_a1,MVV=MVV)) + + + bkg_b0="_".join(["b0",tag]) + if "b0" in preconstrains.keys(): + val = preconstrains['b0']['val'] + err = preconstrains['b0']['err'] + self.addSystematic(bkg_b0,"param",[val,err]) + else: + val = 19.5438 + + self.w.factory("{name}[{val},10,30]".format(name=bkg_b0,val=val)) + + + bkg_b1="_".join(["b1",tag]) + if "b1" in preconstrains.keys(): + val = preconstrains['b1']['val'] + err = preconstrains['b1']['err'] + self.addSystematic(bkg_b1,"param",[val,err]) + else: + val = 0.0101 + + + self.w.factory("{name}[{val},0,0.05]".format(name=bkg_b1,val=val)) + + bkg_b="_".join(["b",tag]) + self.w.factory("expr::{name}('{a}+{b}*({MVV})',{a},{b},{MVV})".format(name=bkg_b,a=bkg_b0,b=bkg_b1,MVV=MVV)) + + + bkg_c="_".join(["c",tag]) + if "c" in preconstrains.keys(): + val = preconstrains['c']['val'] + err = preconstrains['c']['err'] + self.addSystematic(bkg_c,"param",[val,err]) + else: + val = 62.6 + self.w.factory("{name}[{val},30,100]".format(name=bkg_c,val=val)) + + + + jetMassName="_".join([name,self.tag]) + self.w.factory("RooBifurGauss::{name}({var},{a},{b},{c})".format(name=jetMassName,var=mjj,a=bkg_a,b=bkg_b,c=bkg_c)) + + + + + + def addMJJBackgroundShapeExpo(self,name,varName='mjj',newTag="",preconstrains={}): + + mjj='_'.join([varName,self.tag]) + self.w.factory(mjj+"[0,10000]") + + MVV='_'.join(['MVV',self.tag]) + self.w.factory(MVV+"[0,10000]") + + + if newTag !="": + tag=newTag + else: + tag=name+"_"+self.tag + + + bkgSlope_a="_".join(["a",tag]) + if "a" in preconstrains.keys(): + val = preconstrains['a']['val'] + err = preconstrains['a']['err'] + self.addSystematic(bkgSlope_a,"param",[val,err]) + else: + val = -0.02 + self.w.factory("{name}[{val},-1,0]".format(name=bkgSlope_a,val=val)) + + + bkgSlope_b="_".join(["b",tag]) + if "b" in preconstrains.keys(): + val = preconstrains['b']['val'] + err = preconstrains['b']['err'] + self.addSystematic(bkgSlope_b,"param",[val,err]) + else: + val = 6.41e-7 + self.w.factory("{name}[{val},0,2e-5]".format(name=bkgSlope_b,val=val)) + + + bkgSlope="_".join(["bkgSlope",tag]) + self.w.factory("expr::{name}('{a}+{b}*{MVV}',{a},{b},{MVV})".format(name=bkgSlope,a=bkgSlope_a,b=bkgSlope_b,MVV=MVV)) + + jetMassName="_".join([name,self.tag]) + self.w.factory("RooExponential::{name}({var},{alpha})".format(name=jetMassName,var=mjj,alpha=bkgSlope)) + + + + + + + def conditionalProduct(self,name,pdf1,var,pdf2): + pdfName="_".join([name,self.tag]) + pdfName1="_".join([pdf1,self.tag]) + pdfName2="_".join([pdf2,self.tag]) + varName='_'.join([var,self.tag]) + self.w.factory("PROD::{name}({name1}|{x},{name2})".format(name=pdfName,name1=pdfName1,x=varName,name2=pdfName2)) + + def conditionalDoubleProduct(self,name,pdf1,pdf2,var,pdf3): + pdfName="_".join([name,self.tag]) + pdfName1="_".join([pdf1,self.tag]) + pdfName2="_".join([pdf2,self.tag]) + pdfName3="_".join([pdf3,self.tag]) + varName='_'.join([var,self.tag]) + self.w.factory("PROD::{name}({name1}|{x},{name2}|{x},{name3})".format(name=pdfName,name1=pdfName1,x=varName,name2=pdfName2,name3=pdfName3)) + + + def product(self,name,pdf1,pdf2): + pdfName="_".join([name,self.tag]) + pdfName1="_".join([pdf1,self.tag]) + pdfName2="_".join([pdf2,self.tag]) + self.w.factory("PROD::{name}({name1},{name2})".format(name=pdfName,name1=pdfName1,name2=pdfName2)) + + + def addParamContribution(self,name,ID,jsonFile): + f=open(jsonFile) + info=json.load(f) + + pdfName="_".join([name,self.tag]) + pdfNorm="_".join([name,self.tag,"norm"]) + self.w.factory("expr::{name}('({param})*{lumi}',MH,{lumi})".format(name=pdfNorm,param=info['yield'],lumi=self.physics+"_"+self.period+"_lumi")) + f.close() + self.contributions.append({'name':name,'pdf':pdfName,'ID':ID,'yield':1.0}) + + + + def addFloatingContribution(self,name,ID,events,mini=0,maxi=1e+9,constant=False): + pdfName="_".join([name,self.tag]) + pdfNorm="_".join([name,self.tag,"norm"]) + self.w.factory("{name}[{val},{mini},{maxi}]".format(name=pdfNorm,val=events,mini=mini,maxi=maxi)) + if constant: + self.w.var(pdfNorm).setConstant(1) + self.contributions.append({'name':name,'pdf':pdfName,'ID':ID,'yield':1.0}) + + + def addConstrainedContribution(self,name,ID,events,nuisance,uncertainty): + pdfName="_".join([name,self.tag]) + self.contributions.append({'name':name,'pdf':pdfName,'ID':ID,'yield':events}) + self.addSystematic(nuisance,"lnN",{name:1+uncertainty}) + + def addConstrainedContributionFromFile(self,name,ID,filename,nuisance,uncertainty): + pdfName="_".join([name,self.tag]) + + f=ROOT.TFile(filename) + histogram=f.Get("histo") + events=histogram.Integral()*self.luminosity + self.contributions.append({'name':name,'pdf':pdfName,'ID':ID,'yield':events}) + self.addSystematic(nuisance,"lnN",{name:1+uncertainty}) + + + + + def makeCard(self): + + f = open(self.tag+'.txt','w') + f.write('imax 1\n') + f.write('jmax {n}\n'.format(n=len(self.contributions)-1)) + f.write('kmax *\n') + f.write('-------------------------\n') + for c in self.contributions: + f.write('shapes {name} {channel} {file}.root w:{pdf}\n'.format(name=c['name'],channel=self.tag,file=self.tag,pdf=c['pdf'])) + f.write('shapes {name} {channel} {file}.root w:{name}\n'.format(name="data_obs",channel=self.tag,file=self.tag)) + f.write('-------------------------\n') + f.write('bin '+self.tag+'\n') + f.write('observation -1\n') + f.write('-------------------------\n') + f.write('bin\t') + + for shape in self.contributions: + f.write(self.tag+'\t') + f.write('\n') + + #Sort the shapes by ID + + shapes = sorted(self.contributions,key=lambda x: x['ID']) + #print names + f.write('process\t') + for shape in shapes: + f.write(shape['name']+'\t') + f.write('\n') + + #Print ID + f.write('process\t') + for shape in shapes: + f.write(str(shape['ID'])+'\t') + f.write('\n') + + #print rates + f.write('rate\t') + for shape in shapes: + f.write(str(shape['yield'])+'\t') + f.write('\n') + + + #Now systematics + for syst in self.systematics: + if syst['kind'] == 'param': + f.write(syst['name']+'\t'+'param\t' +str(syst['values'][0])+'\t'+str(syst['values'][1])+'\n') + elif syst['kind'] == 'lnN': + f.write(syst['name']+'\t'+ 'lnN\t' ) + for shape in shapes: + has=False + for name,v in syst['values'].iteritems(): + if shape['name']==name: + f.write(str(v)+'\t' ) + has=True + break; + if not has: + f.write('-\t' ) + f.write('\n' ) + + + f.close() + + + self.rootFile.cd() + self.w.Write() + self.rootFile.Close() + + + + + def importBinnedData(self,filename,poi,name = "data_obs"): + f=ROOT.TFile(filename) + histogram=f.Get("histo") + + cList = ROOT.RooArgList() + for i,po in enumerate(poi): + p='_'.join([po,self.tag]) + + cList.add(self.w.var(p)) + if i==0: + axis=histogram.GetXaxis() + elif i==1: + axis=histogram.GetYaxis() + elif i==2: + axis=histogram.GetZaxis() + else: + print 'Asking for more than 3 D . ROOT doesnt support that, use unbinned data instead' + return + mini=axis.GetXmin() + maxi=axis.GetXmax() + bins=axis.GetNbins() + self.w.var(p).setMin(mini) + self.w.var(p).setMax(maxi) + self.w.var(p).setBins(bins) + dataHist=ROOT.RooDataHist(name,name,cList,histogram) + + getattr(self.w,'import')(dataHist,ROOT.RooFit.Rename(name)) + diff --git a/CMGTools/VVResonances/python/statistics/Fitter.py b/CMGTools/VVResonances/python/statistics/Fitter.py index e010a952be744..a661312c15db2 100644 --- a/CMGTools/VVResonances/python/statistics/Fitter.py +++ b/CMGTools/VVResonances/python/statistics/Fitter.py @@ -3,6 +3,9 @@ class Fitter(object): def __init__(self,poi = ['x']): + self.cache=ROOT.TFile("cache.root","RECREATE") + self.cache.cd() + self.w=ROOT.RooWorkspace("w","w") self.dimensions = len(poi) self.poi=poi @@ -18,14 +21,349 @@ def function(self,name,function,dependents): def bernstein(self,name = 'model',poi='x',order=1): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + cList = ROOT.RooArgList() for i in range(0,order): - self.w.factory("c_"+str(i)+"[0.1,0,1000]") + self.w.factory("c_"+str(i)+"[0,100]") cList.add(self.w.var("c_"+str(i))) - bernsteinPDF = ROOT.RooBernstein(name,name,self.w.var(poi),cList) + bernsteinPDF = ROOT.RooBernsteinFast(order)(name,name,self.w.var(poi),cList) getattr(self.w,'import')(bernsteinPDF,ROOT.RooFit.Rename(name)) + def bernsteinPlusGaus(self,name = 'model',poi='x',order=1): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + self.w.factory("RooGaussian::"+name+"G(x,c_0[-10,-15,15],c_1[3,0,10])") + + + cList = ROOT.RooArgList() + for i in range(3,order): + self.w.factory("c_"+str(i)+"[0.1,0,100]") + cList.add(self.w.var("c_"+str(i))) + bernsteinPDF = ROOT.RooBernsteinFast(order)(name+"B",name,self.w.var(poi),cList) + getattr(self.w,'import')(bernsteinPDF,ROOT.RooFit.Rename(name+"B")) + + self.w.factory("SUM::"+name+"(c_2[0.5,0,1]*"+name+"G,"+name+"B)") + + + + def expo(self,name = 'model',poi='x'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + self.w.factory("RooExponential::"+name+"(x,c_0[-1,-1000,0])") + + def bifur(self,name = 'model',poi='x'): + self.w.factory("RooBifurGauss::"+name+"("+poi+",c_0[0,300],c_1[0,1000],c_2[0,1000])") + + + + + + + def doubleCB(self,name = 'model',poi='x'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("c_0[0.1,-100,200]") + self.w.factory("c_1[5,0,40]") + self.w.factory("c_2[100]") + self.w.factory("c_3[100]") + self.w.factory("c_4[2,1,20]") + self.w.factory("c_5[2,0,20]") + + doubleCB = ROOT.RooDoubleCB(name,name,self.w.var(poi),self.w.var("c_0"),self.w.var("c_1"),self.w.var("c_2"),self.w.var("c_3"),self.w.var("c_4"),self.w.var("c_5")) + getattr(self.w,'import')(doubleCB,ROOT.RooFit.Rename(name)) + + + + def softDrop(self,name = 'model',poi='x'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("c_0[-1000,-10000,-0.001]") + self.w.factory("c_1[100,30,1000]") + self.w.factory("c_2[1,0,100]") + self.w.factory("c_3[1,0,100]") + self.w.factory("c_4[1,0,100]") + + softDrop = ROOT.RooFatJetFallingPdf(name,name,self.w.var(poi),self.w.var("c_0"),self.w.var("c_1"),self.w.var("c_2"),self.w.var("c_3"),self.w.var("c_4")) + getattr(self.w,'import')(softDrop,ROOT.RooFit.Rename(name)) + +# self.w.factory("RooGaussian:modelG(x,c_3[0.0001,-5000,65],c_4[20,0,100])") +# self.w.factory("SUM::"+name+"(c_5[0.5,0,1]*modelG,modelF)") + + + + + def jetResonance(self,name = 'model',poi='x'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + self.w.factory("mean[80,50,100]") + self.w.factory("sigma[10,0,100]") + self.w.factory("alpha1[3,1,6]") + self.w.factory("n1[10,0,100]") + self.w.factory("alpha2[3,1,6]") + self.w.factory("n2[10,0,100]") + peak = ROOT.RooDoubleCB(name+'S','modelS',self.w.var('x'),self.w.var('mean'),self.w.var('sigma'),self.w.var('alpha1'),self.w.var('n1'),self.w.var('alpha2'),self.w.var('n2')) + getattr(self.w,'import')(peak,ROOT.RooFit.Rename(name+'S')) + + self.w.factory("RooExponential::"+name+"B(x,slope[-1,-10,0])") + + self.w.factory("SUM::"+name+"(NS[1,0,1000000]*"+name+"S,NB[1,0,1000000]*"+name+"B)") + + + + def signal2D(self,name = 'model',boson='W'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + self.w.factory("MW[80.385]") + self.w.factory("MZ[91.1876]") + self.w.factory("MH[1000]") + + self.w.factory("n[1,0.7,1.3]") + self.w.factory("scale[1,0,2]") + self.w.factory("expr::meanNorm('scale*M"+boson+"',scale,M"+boson+")") + + self.w.factory("sigma[0.1,0,1]") + self.w.factory("expr::sigmaNorm('sigma*M"+boson+"',sigma,M"+boson+")") + self.w.factory("alpha1[1]") + self.w.factory("n1[10,0,100]") + self.w.factory("alpha2[1]") + self.w.factory("n2[10,0,100]") + + peak_jj = ROOT.RooDoubleCB(name+'jj','modelS',self.w.var('m'),self.w.function('meanNorm'),self.w.function('sigmaNorm'),self.w.var('alpha1'),self.w.var('n1'),self.w.var('alpha2'),self.w.var('n2')) + + + self.w.factory("SCALE[1,0,2]") + self.w.factory("expr::MEANNORM('SCALE*MH',SCALE,MH)") + + self.w.factory("SIGMA[0.1,0,1]") + self.w.factory("expr::SIGMANORM('SIGMA*MH',SIGMA,MH)") + + self.w.factory("ALPHA1[1]") + self.w.factory("N1[10,0,100]") + self.w.factory("ALPHA2[1]") + self.w.factory("N2[10,0,100]") + peak_vv = ROOT.RooDoubleCB(name+'VV','modelS',self.w.var('M'),self.w.function('MEANNORM'),self.w.function('SIGMANORM'),self.w.var('ALPHA1'),self.w.var('N1'),self.w.var('ALPHA2'),self.w.var('N2')) + + + + getattr(self.w,'import')(peak_jj,ROOT.RooFit.Rename(name+'jj')) + getattr(self.w,'import')(peak_vv,ROOT.RooFit.Rename(name+'VV')) + + self.w.factory("PROD::"+name+"("+name+"jj,"+name+"VV)") + + + + def doublePol(self,name = 'model',poi='x'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("c_0[0,-1,1]") + self.w.factory("c_1[0,-100,100]") + self.w.factory("c_2[0,-1000,1000]") + self.w.factory("c_3[0]") + + softDrop = ROOT.RooDoublePolPdf(name,name,self.w.var(poi),self.w.var("c_0"),self.w.var("c_1"),self.w.var("c_2"),self.w.var("c_3")) + getattr(self.w,'import')(softDrop,ROOT.RooFit.Rename(name)) + + + + def softDrop2D(self): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("M[1000,20000]") + self.w.factory("m[3,203]") + + + self.w.factory("scale_a[50,0,100]") + self.w.factory("scale_b[-1250,-10000,0]") + self.w.factory("expr::scale('scale_a+scale_b*M/13000.0',scale_a,scale_b,M)") + + self.w.factory("offset[160,0,2000]") + + self.w.factory("alpha[0.005,0,10]") + + self.w.factory("beta_f[2.5,0,100]") + self.w.factory("expr::beta('-alpha+beta_f*M/13000.0',alpha,beta_f,M)") + + + self.w.factory("gamma[0.1,0,1]") + + + softDrop = ROOT.RooFatJetFallingPdf("modelJJ","",self.w.var("m"),self.w.function("scale"),self.w.var("offset"),self.w.var("alpha"),self.w.function("beta"),self.w.var("gamma")) + getattr(self.w,'import')(softDrop,ROOT.RooFit.Rename("modelJJ")) + + self.w.factory("p0[1,0,100]") + self.w.factory("p1[2,0,100]") + self.w.factory("p2[0]") + + qcd = ROOT.RooQCDPdf("modelQ","",self.w.var("M"),self.w.var("p0"),self.w.var("p1"),self.w.var("p2")) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename("modelQ")) + + self.w.factory("PROD::model(modelJJ|M,modelQ)") + + + + def bifurTimesQCD(self): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("M[1000,200000]") + self.w.factory("m[25,165]") + + + + self.w.factory("alpha_0[-35.661,-40,-30]") + self.w.factory("alpha_1[15.882,10,35]") + self.w.factory("expr::alpha('alpha_0+alpha_1*log(M)',alpha_0,alpha_1,M)") + + self.w.factory("beta_0[19.5,0,35]") + self.w.factory("beta_1[0.0101766,0,0.05]") + self.w.factory("expr::beta('beta_0+beta_1*M',beta_0,beta_1,M)") + + self.w.factory("gamma[62.6,40,80]") + + self.w.factory("RooBifurGauss::modelJJ(m,alpha,beta,gamma)") + + + self.w.factory("p0[33,0,100]") + self.w.factory("p1[0.5,0,10]") + self.w.factory("p2[0.001,0,10]") + + qcd = ROOT.RooQCDPdf("modelQ","",self.w.var("M"),self.w.var("p0"),self.w.var("p1"),self.w.var("p2")) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename("modelQ")) + self.w.factory("PROD::model(modelJJ|M,modelQ)") + + def expoTimesQCD(self): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("M[1000,200000]") + self.w.factory("m[25,165]") + + + + self.w.factory("alpha_0[-35.661,-40,-30]") + self.w.factory("alpha_1[15.882,10,35]") + self.w.factory("expr::alpha('alpha_0+alpha_1*(M)',alpha_0,alpha_1,M)") + + self.w.factory("RooExponential::modelJJ(m,alpha)") + + + self.w.factory("p0[33,0,100]") + self.w.factory("p1[0.5,0,10]") + self.w.factory("p2[0.001,0,10]") + + qcd = ROOT.RooQCDPdf("modelQ","",self.w.var("M"),self.w.var("p0"),self.w.var("p1"),self.w.var("p2")) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename("modelQ")) + self.w.factory("PROD::model(modelJJ|M,modelQ)") + + + + + def backgroundFast(self): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + + self.w.factory("M[1000,20000]") + self.w.factory("m[25,175]") + + + + self.w.factory("alpha_0[7,0,100]") + self.w.factory("alpha_1[0,-0.1,0.1]") + self.w.factory("expr::alpha('alpha_0+alpha_1*M',alpha_0,alpha_1,M)") + + self.w.factory("beta_0[6,0,100]") + self.w.factory("beta_1[0,-0.1,0.1]") + self.w.factory("expr::beta('beta_0+beta_1*M',beta_0,beta_1,M)") + + self.w.factory("gamma_0[1,0,100]") + self.w.factory("gamma_1[0,-0.1,0.1]") + self.w.factory("expr::gamma('gamma_0+gamma_1*M',gamma_0,gamma_1,M)") + self.w.factory("delta[1.4,0,1000]") + + + cList = ROOT.RooArgList() + cList.add(self.w.function("alpha")) + cList.add(self.w.function("beta")) + cList.add(self.w.function("gamma")) + cList.add(self.w.var("delta")) + + + softDrop = ROOT.RooBernsteinFast(4)("modelJJ","modelJJ",self.w.var('m'),cList) + getattr(self.w,'import')(softDrop,ROOT.RooFit.Rename("modelJJ")) + self.w.factory("p0[20,0,100]") + self.w.factory("p1[0.5,0,100]") + self.w.factory("p2[0.0001,0,10]") + + qcd = ROOT.RooQCDPdf("modelQ","",self.w.var("M"),self.w.var("p0"),self.w.var("p1"),self.w.var("p2")) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename("modelQ")) + + self.w.factory("PROD::model(modelJJ|M,modelQ)") + + + def qcd(self): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + self.w.factory("M[1000,10000]") + self.w.factory("m[10,200]") + self.w.factory("p0[0,100]") +# self.w.factory("expr::MSHIFT('M/13000.0',M)") + self.w.factory("p1[0,100]") + self.w.factory("p2[0]") + qcd = ROOT.RooQCDPdf("model","",self.w.var("M"),self.w.var("p0"),self.w.var("p1"),self.w.var("p2")) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename("model")) +# self.w.factory("RooExponential::modelS(MSHIFT,p0)") +# self.w.factory("N[2000,0,1000000000]") +# qcdE = ROOT.RooExtendPdf("model","",self.w.pdf("modelS"),self.w.var("N")) +# getattr(self.w,'import')(qcdE,ROOT.RooFit.Rename("model")) + + + def qcdINT(self,poi='x'): + ROOT.gSystem.Load("libHiggsAnalysisCombinedLimit") + self.w.factory("p0[0,100]") + self.w.factory("p1[0,100]") + qcd = ROOT.RooDiBosonQCDPdf(13)("model","",self.w.var(poi),self.w.var("p0"),self.w.var("p1")) + getattr(self.w,'import')(qcd,ROOT.RooFit.Rename("model")) + + + + def erfpowPlusGaus(self,name = 'model',poi='x'): + self.w.factory("RooGaussian:modelG(x,c_0[0.0001,-5000,40],c_1[20,0,100])") + self.w.factory("c_2[-2,-20,0]") + self.w.factory("expr::xdisp('x-c_2',x,c_2)") + self.w.factory("c_3[-1,-20,0]") + self.w.factory("c_4[30,-1000,1000]") + self.w.factory("c_5[11,-10000,10000]") + + + erfexp = ROOT.RooErfPowPdf(name+"F",name,self.w.function('xdisp'),self.w.var("c_3"),self.w.var("c_4"),self.w.var("c_5")) + getattr(self.w,'import')(erfexp,ROOT.RooFit.Rename(name)) + self.w.factory("SUM::"+name+"(c_6[0.5,0.,1]*modelG,modelF)") + + + + def erfpow(self,name = 'model',poi='x'): + self.w.factory("c_0[0]") + self.w.factory("c_1[0]") + self.w.factory("c_6[0]") + self.w.factory("c_2[-2,-200,20]") + self.w.factory("expr::xdisp('x-c_2',x,c_2)") + self.w.factory("c_3[-1,-20,0]") + self.w.factory("c_4[30,-1000,1000]") + self.w.factory("c_5[11,-10000,10000]") + erfexp = ROOT.RooErfPowPdf(name,name,self.w.function('xdisp'),self.w.var("c_3"),self.w.var("c_4"),self.w.var("c_5")) + getattr(self.w,'import')(erfexp,ROOT.RooFit.Rename(name)) + + + + def erfpowPlusGausLOG(self,name = 'model',poi='x'): + self.w.factory("RooGaussian:modelG(x,c_0[0.0001,-5000,40],c_1[20,0,100])") + self.w.factory("c_2[0,-20,20]") + self.w.factory("expr::xdisp('x-c_2',x,c_2)") + self.w.factory("c_3[2,0,20]") + self.w.factory("c_4[30,-100,100]") + self.w.factory("c_5[11,-1000,1000]") + + + erfexp = ROOT.RooErfPowPdf(name+"F",name,self.w.function('xdisp'),self.w.var("c_3"),self.w.var("c_4"),self.w.var("c_5")) + getattr(self.w,'import')(erfexp,ROOT.RooFit.Rename(name)) + self.w.factory("SUM::"+name+"(c_6[0.5,0,1]*modelG,modelF)") + + + def importBinnedData(self,histogram,poi = ["x"],name = "data"): @@ -50,8 +388,41 @@ def importBinnedData(self,histogram,poi = ["x"],name = "data"): dataHist=ROOT.RooDataHist(name,name,cList,histogram) getattr(self.w,'import')(dataHist,ROOT.RooFit.Rename(name)) - def fit(self,model = "model",data="data"): - self.w.pdf(model).fitTo(self.w.data("data")) + + + def importUnbinnedData(self,tree,name,variables,poi,accept): + cList = ROOT.RooArgSet() + for i,p in enumerate(poi): + cList.add(self.w.var(p)) + + data=ROOT.RooDataSet(name,name,cList) + + for event in tree: + if not accept(event): + continue + for i,p in enumerate(poi): + val = getattr(event,variables[i]) + cList.find(p).setVal(val[0]) + + data.add(cList) + + + getattr(self.w,'import')(data,ROOT.RooFit.Rename(name)) + + + + + def fit(self,model = "model",data="data",options=[]): + if len(options)==0: + self.w.pdf(model).fitTo(self.w.data("data")) + if len(options)==1: + self.w.pdf(model).fitTo(self.w.data("data"),options[0]) + if len(options)==2: + self.w.pdf(model).fitTo(self.w.data("data"),options[0],options[1]) + if len(options)==3: + self.w.pdf(model).fitTo(self.w.data("data"),options[0],options[1],options[2]) + if len(options)==4: + self.w.pdf(model).fitTo(self.w.data("data"),options[0],options[1],options[2],options[3]) def fetch(self,var): diff --git a/CMGTools/VVResonances/python/tools/Pair.py b/CMGTools/VVResonances/python/tools/Pair.py index ba0b116f0230e..cc56fc1d142b5 100644 --- a/CMGTools/VVResonances/python/tools/Pair.py +++ b/CMGTools/VVResonances/python/tools/Pair.py @@ -7,7 +7,7 @@ class Pair(object): def __init__(self,leg1,leg2,pdg = 0): self.leg1 = leg1 self.leg2 = leg2 - self.pdgId = pdg + self.pdg = pdg self.LV = leg1.p4()+leg2.p4() et1 = math.sqrt(leg1.mass()*leg1.mass()+leg1.pt()*leg1.pt()) et2 = math.sqrt(leg2.mass()*leg2.mass()+leg2.pt()*leg2.pt()) @@ -26,7 +26,7 @@ def m(self): return self.LV.mass() def pdgId(self): - return self.pdgId + return self.pdg def mt2(self): return self.MT*self.MT diff --git a/CMGTools/VVResonances/python/tools/PyJetToolbox.py b/CMGTools/VVResonances/python/tools/PyJetToolbox.py index b6329b3f989f6..8e8cb80dfc9f3 100644 --- a/CMGTools/VVResonances/python/tools/PyJetToolbox.py +++ b/CMGTools/VVResonances/python/tools/PyJetToolbox.py @@ -10,6 +10,7 @@ def __init__(self,p4): self.matched=0 self.chargedHadronEnergy = 0.0 + self.chargedMult = 0.0 self.neutralHadronEnergy = 0.0 self.photonEnergy = 0.0 self.hfEMEnergy = 0.0 @@ -24,10 +25,16 @@ def neutralEmEnergy(self): def chargedEmEnergy(self): return self.electronEnergy + def pdgId(self): + return 1 + def chargedHadronEnergyFraction(self): return self.chargedHadronEnergy/(self.LV.energy()*self.rawF) + def chargedMultiplicity(self): + return self.chargedMult + def neutralHadronEnergyFraction(self): return self.neutralHadronEnergy/((self.LV.energy()*self.rawF)) @@ -110,6 +117,7 @@ def __init__(self,collection): self.doSubjets = False self.doSoftDrop = False self.doNTau = False + def setInterface(self,doArea,ktpower,rparam,active_area_repeats=1,ghost_area = 0.01,ghost_eta_max = 5.0,rho_eta_max = 4.4): if doArea: self.interface = ROOT.cmg.FastJetInterface(self.p4s,ktpower,rparam,active_area_repeats,ghost_area,ghost_eta_max,rho_eta_max) @@ -141,6 +149,18 @@ def setNtau(self,activate,NMAX = 4,measureDef = 0 , axesDef = 6 , beta= 1.0 , R0 self.ntau = {'NMAX':NMAX,'measureDef':measureDef,'axesDef':axesDef, 'beta':beta,'R0':R0,'Rcutoff':Rcutoff,'akAxesR0':-999.0, 'nPass':-999} + + def attachJetID(self,jet): + constituents=len(jet.constituents) + looseIDAll = constituents>1 and jet.neutralHadronEnergyFraction()<0.99 and (jet.photonEnergyFraction()+jet.HFEMEnergyFraction())<0.99 + tightIDAll = constituents>1 and jet.neutralHadronEnergyFraction()<0.90 and (jet.photonEnergyFraction()+jet.HFEMEnergyFraction())<0.9 + IDInner = abs(jet.eta())>2.4 or (jet.chargedMultiplicity()>0 and jet.chargedHadronEnergyFraction()>0 and jet.electronEnergyFraction()<0.99) + IDOuter = abs(jet.eta())<3.0 or (constituents>10 and (jet.photonEnergyFraction()+jet.HFEMEnergyFraction())<0.9) + + jet.looseID = looseIDAll and IDInner and IDOuter + jet.tightID = tightIDAll and IDInner and IDOuter + + def convert(self,lorentzVectors,isFat = False,isJet=True): output = [] @@ -155,35 +175,46 @@ def convert(self,lorentzVectors,isFat = False,isJet=True): jet.constituents.append(constituent) if abs(constituent.pdgId()) ==211: jet.chargedHadronEnergy=jet.chargedHadronEnergy+constituent.energy() + jet.chargedMult=jet.chargedMult+1 elif constituent.pdgId() ==22: jet.photonEnergy=jet.photonEnergy+constituent.energy() elif constituent.pdgId() ==130: jet.neutralHadronEnergy=jet.neutralHadronEnergy+constituent.energy() elif constituent.pdgId() ==1: jet.hfHADEnergy=jet.hfHADEnergy+constituent.energy() - elif constituent.pdgId() ==2: jet.hfEMEnergy=jet.hfEMEnergy+constituent.energy() elif abs(constituent.pdgId())==11: jet.electronEnergy=jet.electronEnergy+constituent.energy() + jet.chargedMult=jet.chargedMult+1 + elif abs(constituent.pdgId())==13: jet.muonEnergy=jet.muonEnergy+constituent.energy() + jet.chargedMult=jet.chargedMult+1 + self.attachJetID(jet) if isFat: if self.doPrunning: - self.interface.prune(isJet,self.prunning['zcut'],self.prunning['rcutfactor']) - jet.prunedJet = self.convert(self.interface.get(isJet),False,isJet) + self.interface.prune(isJet,i,self.prunning['zcut'],self.prunning['rcutfactor']) + jet.prunedJet = self.convert(self.interface.get(False),False,False)[0] + if self.doSubjets: + if self.subjets['style'] == 'inc': + self.interface.makeSubJets(False,0,self.subjets['setting']) + jet.subjets = self.convert(self.interface.get(False),False,False) + else: + self.interface.makeSubJetsUpTo(False,0,self.subjets['setting']) + jet.subjets = self.convert(self.interface.get(False),False,False) if self.doSoftDrop: - self.interface.softDrop(True,self.softdrop['beta'],self.softdrop['zcut'],self.softdrop['R0']) - jet.softDropJet = self.convert(self.interface.get(False),False,True)[i] - if self.doSubjets: - if self.subjets['style'] == 'inc': - self.interface.makeSubJets(i,self.subjets['setting']) - jet.subjets = self.convert(self.interface.get(True),False,False) - else: - self.interface.makeSubJetsUpTo(i,self.subjets['setting']) - jet.subjets = self.convert(self.interface.get(True),False,False) - if self.doNTau: - jet.Ntau = self.interface.nSubJettiness(i,self.ntau['NMAX'],self.ntau['measureDef'],self.ntau['axesDef'],self.ntau['beta'],self.ntau['R0'],self.ntau['Rcutoff'],self.ntau['akAxesR0'],self.ntau['nPass']) + self.interface.softDrop(isJet,i,self.softdrop['beta'],self.softdrop['zcut'],self.softdrop['R0']) + jet.softDropJet = self.convert(self.interface.get(False),False,False)[0] + if self.doSubjets: + if self.subjets['style'] == 'inc': + self.interface.makeSubJets(False,0,self.subjets['setting']) + jet.subjets_SD = self.convert(self.interface.get(False),False,False) + else: + self.interface.makeSubJetsUpTo(False,0,self.subjets['setting']) + jet.subjets_SD = self.convert(self.interface.get(False),False,False) + if self.doNTau: + jet.Ntau = self.interface.nSubJettiness(i,self.ntau['NMAX'],self.ntau['measureDef'],self.ntau['axesDef'],self.ntau['beta'],self.ntau['R0'],self.ntau['Rcutoff'],self.ntau['akAxesR0'],self.ntau['nPass']) if self.doMassDrop: mu= ROOT.Double(self.massdrop['mu']) y= ROOT.Double(self.massdrop['y']) @@ -193,15 +224,18 @@ def convert(self,lorentzVectors,isFat = False,isJet=True): def inclusiveJets(self,ptmin = 0.0,isFat=True): self.interface.makeInclusiveJets(ptmin) - return self.convert(self.interface.get(False),isFat) + return self.convert(self.interface.get(True),isFat) def exclusiveJets(self,r =0.1,isFat = True): self.interface.makeExclusiveJets(r) - return self.convert(self.interface.get(False),isFat) + return self.convert(self.interface.get(True),isFat) def exclusiveJetsUpTo(self,N=2,isFat = True ): self.interface.makeExclusiveJetsUpTo(N) - return self.convert(self.interface.get(False),isFat) + return self.convert(self.interface.get(True),isFat) + + + diff --git a/CMGTools/VVResonances/python/tools/leptonID.py b/CMGTools/VVResonances/python/tools/leptonID.py index 52a1ac2dde330..f6a4fe31e8ca1 100644 --- a/CMGTools/VVResonances/python/tools/leptonID.py +++ b/CMGTools/VVResonances/python/tools/leptonID.py @@ -1,24 +1,59 @@ +from PhysicsTools.HeppyCore.utils.deltar import * - -def muonID(mu): +#MUON ID used in both Z and W : For Z we dont ask for a PF muon due to the boost +def muonIDCommon(mu): decision = mu.isGlobalMuon() and mu.isTrackerMuon() and mu.segmentCompatibility()>0.3 \ - and mu.innerTrack().validFraction()>0.7 and mu.miniRelIso<0.3 + and mu.innerTrack().validFraction()>0.7 return decision +#Additional MUON ID used in W case. Here we need PF muon for the MET +def leptonIDW(W): + if abs(W.leg1.pdgId())==11: + return True + else: + return W.leg1.isPFMuon() + + +#Muon isolation for Z:footprint removal of both! + def electronID(e): decisionBarrel = abs(e.superCluster().eta())<1.4442 and \ e.ecalDriven() and abs(e.deltaEtaSeedClusterTrackAtVtx())<0.004 and \ abs( e.deltaPhiSuperClusterTrackAtVtx())< 0.06 and (e.hadronicOverEm()<2.0/e.superCluster().energy()+0.05) and \ - (e.e2x5Max()/e.e5x5()>0.94 or e.e1x5()/e.e5x5()>0.83) and abs(e.dxy())<0.02 and e.miniRelIso<0.3 + (e.e2x5Max()/e.e5x5()>0.94 or e.e1x5()/e.e5x5()>0.83) and abs(e.dxy())<0.02 decisionEndcap = abs(e.superCluster().eta())>1.566 and \ e.ecalDriven() and abs(e.deltaEtaSeedClusterTrackAtVtx())<0.006 and \ abs( e.deltaPhiSuperClusterTrackAtVtx())< 0.06 and (e.hadronicOverEm()<12.5/e.superCluster().energy()+0.05) and \ - abs(e.dxy())<0.05 and e.full5x5_sigmaIetaIeta()<0.03 and e.miniRelIso<0.3 + abs(e.dxy())<0.05 and e.full5x5_sigmaIetaIeta()<0.03 return decisionBarrel or decisionEndcap + + +#Isolation for Z +def isolationZ(z): + + if abs(z.leg1.pdgId())==13: + iso1=(z.leg1.cleanedChargedIso+z.leg1.cleanedNeutralIsoDB)/z.leg1.pt()<0.4 + iso2=(z.leg2.cleanedChargedIso+z.leg2.cleanedNeutralIsoDB)/z.leg2.pt()<0.4 + return iso1 and iso2 + if abs(z.leg1.pdgId())==11: + iso1=(z.leg1.cleanedChargedIso+z.leg1.cleanedNeutralIsoRho)/z.leg1.pt()<0.4 + iso2=(z.leg2.cleanedChargedIso+z.leg2.cleanedNeutralIsoRho)/z.leg2.pt()<0.4 + return iso1 and iso2 + + +#Isolation for Z +def isolationW(z): + if abs(z.leg1.pdgId())==13: + return ((z.leg1.cleanedChargedIso+z.leg1.cleanedNeutralIsoDB)/z.leg1.pt()<0.2) + if abs(z.leg1.pdgId())==11: + return ((z.leg1.cleanedChargedIso+z.leg1.cleanedNeutralIsoRho)/z.leg1.pt()<0.2) + + + diff --git a/CMGTools/VVResonances/scripts/vvMakeData.py b/CMGTools/VVResonances/scripts/vvMakeData.py new file mode 100755 index 0000000000000..d8a73c0cdd157 --- /dev/null +++ b/CMGTools/VVResonances/scripts/vvMakeData.py @@ -0,0 +1,78 @@ +#!/usr/bin/env python + +import ROOT +from array import array +from CMGTools.VVResonances.plotting.TreePlotter import TreePlotter +from CMGTools.VVResonances.plotting.MergedPlotter import MergedPlotter +from math import log +import os, sys, re, optparse,pickle,shutil,json + + + + +parser = optparse.OptionParser() +parser.add_option("-s","--samples",dest="samples",default='',help="Type of sample") +parser.add_option("-c","--cut",dest="cut",help="Cut to apply for yield",default='') +parser.add_option("-o","--output",dest="output",help="Output ROOT",default='') +parser.add_option("-v","--vars",dest="vars",help="variables seprataed by comma",default='') +parser.add_option("-b","--bins",dest="bins",help="bins per dimension separated by comma",default='') +parser.add_option("-m","--min",dest="mins",help="minimum separated by comma",default='') +parser.add_option("-M","--max",dest="maxes",help="maximum separated by comma",default='') +parser.add_option("-d","--isData",dest="data",type=int,help="isData",default=1) +parser.add_option("-f","--factor",dest="factor",type=float,help="factor",default=1.0) + + +(options,args) = parser.parse_args() +#define output dictionary + +samples={} + + + +sampleTypes=options.samples.split(',') + +dataPlotters=[] + +for filename in os.listdir(args[0]): + for sampleType in sampleTypes: + if filename.find(sampleType)!=-1: + fnameParts=filename.split('.') + fname=fnameParts[0] + ext=fnameParts[1] + if ext.find("root") ==-1: + continue + dataPlotters.append(TreePlotter(args[0]+'/'+fname+'.root','tree')) + if options.data==0: + dataPlotters[-1].setupFromFile(args[0]+'/'+fname+'.pck') + dataPlotters[-1].addCorrectionFactor('xsec','tree') + dataPlotters[-1].addCorrectionFactor('genWeight','tree') + dataPlotters[-1].addCorrectionFactor('puWeight','tree') + + +data=MergedPlotter(dataPlotters) + +pvars=options.vars.split(',') +pmins=options.mins.split(',') +pmaxes=options.maxes.split(',') +pbins=options.bins.split(',') + +if len(pvars)==1: + histo=data.drawTH1(pvars[0],options.cut,"1",int(pbins[0]),float(pmins[0]),float(pmaxes[0])) + +if len(pvars)==2: + histo=data.drawTH2(pvars[1]+":"+pvars[0],options.cut,"1",int(pbins[0]),float(pmins[0]),float(pmaxes[0]),int(pbins[1]),float(pmins[1]),float(pmaxes[1])) + +if len(pvars)==3: + histo=data.drawTH3(pvars[2]+":"+pvars[1]+":"+pvars[0],options.cut,"1",int(pbins[0]),float(pmins[0]),float(pmaxes[0]),int(pbins[1]),float(pmins[1]),float(pmaxes[1]),int(pbins[2]),float(pmins[2]),float(pmaxes[2])) + + +histo.Scale(options.factor) + + +F=ROOT.TFile(options.output,"RECREATE") +F.cd() +histo.Write("histo") +F.Close() + + + diff --git a/CMGTools/VVResonances/scripts/vvMakeLimitPlot.py b/CMGTools/VVResonances/scripts/vvMakeLimitPlot.py new file mode 100755 index 0000000000000..4a2056c3cc0de --- /dev/null +++ b/CMGTools/VVResonances/scripts/vvMakeLimitPlot.py @@ -0,0 +1,179 @@ +#!/usr/bin/env python + +import ROOT +import optparse + + + + +parser = optparse.OptionParser() +parser.add_option("-o","--output",dest="output",default='limitPlot.root',help="Limit plot") + +parser.add_option("-x","--minX",dest="minX",type=float,help="minimum x",default=1000.0) +parser.add_option("-X","--maxX",dest="maxX",type=float,help="maximum x",default=5000.0) +parser.add_option("-y","--minY",dest="minY",type=float,help="minimum y",default=0.00001) +parser.add_option("-Y","--maxY",dest="maxY",type=float,help="maximum y",default=1000) +parser.add_option("-b","--blind",dest="blind",type=int,help="Not do observed ",default=1) +parser.add_option("-l","--log",dest="log",type=int,help="Log plot",default=1) + +parser.add_option("-t","--titleX",dest="titleX",default='M_{X} [GeV]',help="title of x axis") +parser.add_option("-T","--titleY",dest="titleY",default='#sigma x BR(X #rightarrow WW) [pb] ',help="title of y axis") + +parser.add_option("-p","--paveText",dest="label",default='CMS Preliminary , L = 1.3 fb^{-1}',help="label") + + + +# parser.add_option("-x","--minMVV",dest="minMVV",type=float,help="minimum MVV",default=1000.0) +# parser.add_option("-X","--maxMVV",dest="maxMVV",type=float,help="maximum MVV",default=13000.0) + + + + + + +(options,args) = parser.parse_args() +#define output dictionary + + +f=ROOT.TFile(args[0]) +limit=f.Get("limit") +data={} +for event in limit: + if not (event.mh in data.keys()): + data[event.mh]={} + + if event.quantileExpected<0: + data[event.mh]['obs']=event.limit + if event.quantileExpected>0.02 and event.quantileExpected<0.03: + data[event.mh]['-2sigma']=event.limit + if event.quantileExpected>0.15 and event.quantileExpected<0.17: + data[event.mh]['-1sigma']=event.limit + if event.quantileExpected>0.49 and event.quantileExpected<0.51: + data[event.mh]['exp']=event.limit + if event.quantileExpected>0.83 and event.quantileExpected<0.85: + data[event.mh]['+1sigma']=event.limit + if event.quantileExpected>0.974 and event.quantileExpected<0.976: + data[event.mh]['+2sigma']=event.limit + + +band68=ROOT.TGraphAsymmErrors() +band68.SetName("band68") +band95=ROOT.TGraphAsymmErrors() +band95.SetName("band95") +bandObs=ROOT.TGraph() +bandObs.SetName("bandObs") + +line_plus1=ROOT.TGraph() +line_plus1.SetName("line_plus1") + +line_plus2=ROOT.TGraph() +line_plus2.SetName("line_plus2") + +line_minus1=ROOT.TGraph() +line_minus1.SetName("line_minus1") + +line_minus2=ROOT.TGraph() +line_minus2.SetName("line_minus2") + + + +N=0 +for mass,info in data.iteritems(): + band68.SetPoint(N,mass,info['exp']) + band95.SetPoint(N,mass,info['exp']) + line_plus1.SetPoint(N,mass,info['+1sigma']) + line_plus2.SetPoint(N,mass,info['+2sigma']) + line_minus1.SetPoint(N,mass,info['-1sigma']) + line_minus2.SetPoint(N,mass,info['-2sigma']) + + bandObs.SetPoint(N,mass,info['obs']) + band68.SetPointError(N,0.0,0.0,info['exp']-info['-1sigma'],info['+1sigma']-info['exp']) + band95.SetPointError(N,0.0,0.0,info['exp']-info['-2sigma'],info['+2sigma']-info['exp']) + N=N+1 + + +band68.Sort() +band95.Sort() +bandObs.Sort() +line_plus1.Sort() +line_plus2.Sort() +line_minus1.Sort() +line_minus2.Sort() + + + +#plotting information + +c=ROOT.TCanvas("c","c") +frame=c.DrawFrame(options.minX,options.minY,options.maxX,options.maxY) +frame.GetXaxis().SetTitle(options.titleX) +frame.GetYaxis().SetTitle(options.titleY) + +band68.SetFillColor(ROOT.kGreen) +band68.SetLineWidth(2) +band68.SetLineColor(ROOT.kBlack) +band68.SetLineStyle(1) +band68.SetMarkerStyle(20) + +band95.SetFillColor(ROOT.kYellow) + +bandObs.SetLineWidth(3) +bandObs.SetLineColor(ROOT.kRed) + +line_plus1.SetLineWidth(1) +line_plus1.SetLineColor(ROOT.kGreen-3) + +line_plus2.SetLineWidth(1) +line_plus2.SetLineColor(ROOT.kYellow-6) + +line_minus1.SetLineWidth(1) +line_minus1.SetLineColor(ROOT.kGreen-3) + +line_minus2.SetLineWidth(1) +line_minus2.SetLineColor(ROOT.kYellow-6) + + +c.cd() +frame.Draw() +band95.Draw("3same") +band68.Draw("3same") +band68.Draw("XPLsame") +line_plus1.Draw("Lsame") +line_plus2.Draw("Lsame") +line_minus1.Draw("Lsame") +line_minus2.Draw("Lsame") +c.SetLogy(options.log) +c.Draw() + +pt =ROOT.TPaveText(0.1577181,0.9562937,0.9580537,0.9947552,"brNDC") +pt.SetBorderSize(0) +pt.SetTextAlign(12) +pt.SetFillStyle(0) +pt.SetTextFont(42) +pt.SetTextSize(0.03) +text = pt.AddText(0.01,0.3,options.label) +pt.Draw() +c.Draw() +c.RedrawAxis() + +if options.blind==0: + bandObs.Draw("Lsame") + + + +fout=ROOT.TFile(options.output,"RECREATE") +fout.cd() + +c.Write() +band68.Write() +band95.Write() +bandObs.Write() +line_plus1.Write() +line_plus2.Write() +line_minus1.Write() +line_minus2.Write() + +fout.Close() +f.Close() + + diff --git a/CMGTools/VVResonances/scripts/vvSignalParam.py b/CMGTools/VVResonances/scripts/vvSignalParam.py new file mode 100755 index 0000000000000..09b205190d63e --- /dev/null +++ b/CMGTools/VVResonances/scripts/vvSignalParam.py @@ -0,0 +1,233 @@ +#!/usr/bin/env python + +import ROOT +from array import array +from CMGTools.VVResonances.plotting.TreePlotter import TreePlotter +from CMGTools.VVResonances.plotting.MergedPlotter import MergedPlotter +from CMGTools.VVResonances.plotting.StackPlotter import StackPlotter +from CMGTools.VVResonances.statistics.Fitter import Fitter +from math import log +import os, sys, re, optparse,pickle,shutil,json + +def returnString(func): + st='0' + for i in range(0,func.GetNpar()): + st=st+"+("+str(func.GetParameter(i))+")"+("*MH"*i) + return st + + +parser = optparse.OptionParser() +parser.add_option("-s","--sample",dest="sample",default='',help="Type of sample") +parser.add_option("-c","--cutShape",dest="cutShape",help="Cut to apply for shape",default='') +parser.add_option("-C","--cutYield",dest="cutYield",help="Cut to apply for yield",default='') +parser.add_option("-o","--output",dest="output",help="Output JSON",default='') +parser.add_option("-v","--MJJ",dest="mjj",help="mjj variable",default='') +parser.add_option("-V","--MVV",dest="mvv",help="mVV variable",default='') +parser.add_option("-p","--particle",dest="boson",help="particle",default='W') + + +parser.add_option("-m","--minMJJ",dest="minMJJ",type=float,help="minimum MJJ",default=20.0) +parser.add_option("-M","--maxMJJ",dest="maxMJJ",type=float,help="maximum MJJ",default=1700.0) +parser.add_option("-b","--BR",dest="BR",type=float,help="branching ratio",default=1) + +# parser.add_option("-x","--minMVV",dest="minMVV",type=float,help="minimum MVV",default=1000.0) +# parser.add_option("-X","--maxMVV",dest="maxMVV",type=float,help="maximum MVV",default=13000.0) + + + + + + +(options,args) = parser.parse_args() +#define output dictionary + +samples={} +graphs={'yield':ROOT.TGraphErrors(),'scale':ROOT.TGraphErrors(),'sigma':ROOT.TGraphErrors(),'alpha1':ROOT.TGraphErrors(),'n1':ROOT.TGraphErrors(),'alpha2':ROOT.TGraphErrors(),'n2':ROOT.TGraphErrors(),\ + 'SCALE':ROOT.TGraphErrors(),'SIGMA':ROOT.TGraphErrors(),'ALPHA1':ROOT.TGraphErrors(),'N1':ROOT.TGraphErrors(),'ALPHA2':ROOT.TGraphErrors(),'N2':ROOT.TGraphErrors()} + + +for filename in os.listdir(args[0]): + if not (filename.find(options.sample)!=-1): + continue + +#found sample. get the mass + fnameParts=filename.split('.') + fname=fnameParts[0] + ext=fnameParts[1] + if ext.find("root") ==-1: + continue + + + mass = float(fname.split('_')[-1]) + + + + samples[mass] = fname + + print 'found',filename,'mass',str(mass) + + +#Now we have the samples: Sort the masses and run the fits +N=0 +for mass in sorted(samples.keys()): + if mass<999: + continue + + print 'fitting',str(mass) + plotter=TreePlotter(args[0]+'/'+samples[mass]+'.root','tree') + plotter.setupFromFile(args[0]+'/'+samples[mass]+'.pck') + plotter.addCorrectionFactor('genWeight','tree') + plotter.addCorrectionFactor('xsec','tree') + plotter.addCorrectionFactor('puWeight','tree') + + + fitter=Fitter(['m','M']) + fitter.signal2D('model',options.boson) + fitter.w.var("MH").setVal(mass) + + + histo = plotter.drawTH2(options.mjj+":"+options.mvv,options.cutShape,"1",500,0,13000,120,60,140) + histoYield = plotter.drawTH2(options.mjj+":"+options.mvv,options.cutYield,"1",130,0,13000,100,25,165) + fitter.importBinnedData(histo,['M','m'],'data') + fitter.fit('model','data',[ROOT.RooFit.SumW2Error(1)]) + + #create the yield + fitter.w.var('m').setMax(options.maxMJJ) + fitter.w.var('m').setMin(options.minMJJ) + integral = fitter.w.pdf("model").createIntegral(ROOT.RooArgSet(fitter.w.var("m"),fitter.w.var("M"))) + + analysisIntegral=integral.getVal() + fitter.w.var('m').setMin(40) + fitter.w.var('m').setMax(120) + integral = fitter.w.pdf("model").createIntegral(ROOT.RooArgSet(fitter.w.var("m"),fitter.w.var("M"))) + fitRangeIntegral=integral.getVal() + + + events=histoYield.Integral()*options.BR*analysisIntegral/fitRangeIntegral + + + graphs['yield'].SetPoint(N,mass,events) + + fitter.projection("model","data","m","fitjj_"+str(mass)+".root") + fitter.projection("model","data","M","fitVV_"+str(mass)+".root") + + + + for var,graph in graphs.iteritems(): + if var=='yield': + continue + value,error=fitter.fetch(var) + graph.SetPoint(N,mass,value) + graph.SetPointError(N,0.0,error) + + N=N+1 + + + +#now the fits + + +pol5 = ROOT.TF1("pol5","pol5",0,13000) +pol3 = ROOT.TF1("pol3","pol3",0,13000) +pol0 = ROOT.TF1("pol0","pol0",0,13000) +pol1 = ROOT.TF1("pol1","pol1",0,13000) + + + + +parameterization={} + + +c=ROOT.TCanvas("param","param") + + +graphs['yield'].Fit(pol3) +parameterization['yield']=returnString(pol3) +c.cd() +graphs['yield'].Draw("AP") +c.SaveAs("interpyield.root") + + +graphs['scale'].Fit(pol3) +parameterization['scale']=returnString(pol3) +c.cd() +graphs['scale'].Draw("AP") +c.SaveAs("interpscale.root") + + +graphs['sigma'].Fit(pol3) +parameterization['sigma']=returnString(pol3) +c.cd() +graphs['sigma'].Draw("AP") +c.SaveAs("interpsigma.root") + + +graphs['n1'].Fit(pol0) +parameterization['n1']=returnString(pol0) +c.cd() +graphs['n1'].Draw("AP") +c.SaveAs("interpn1.root") + + +graphs['n2'].Fit(pol0) +parameterization['n2']=returnString(pol0) +c.cd() +graphs['n2'].Draw("AP") +c.SaveAs("interpn2.root") + +graphs['alpha1'].Fit(pol0) +parameterization['alpha1']=returnString(pol0) +c.cd() +graphs['alpha1'].Draw("AP") +c.SaveAs("interpalpha1.root") + +graphs['alpha2'].Fit(pol0) +parameterization['alpha2']=returnString(pol0) +c.cd() +graphs['alpha2'].Draw("AP") +c.SaveAs("interpalpha2.root") + + +graphs['SCALE'].Fit(pol3) +parameterization['SCALE']=returnString(pol3) +c.cd() +graphs['SCALE'].Draw("AP") +c.SaveAs("interpSCALE.root") + + +graphs['SIGMA'].Fit(pol3) +parameterization['SIGMA']=returnString(pol3) +c.cd() +graphs['SIGMA'].Draw("AP") +c.SaveAs("interpSIGMA.root") + +graphs['N1'].Fit(pol0) +parameterization['N1']=returnString(pol0) +c.cd() +graphs['N1'].Draw("AP") +c.SaveAs("interpN1.root") + +graphs['N2'].Fit(pol0) +parameterization['N2']=returnString(pol0) +c.cd() +graphs['N2'].Draw("AP") +c.SaveAs("interpN2.root") + + +graphs['ALPHA1'].Fit(pol0) +parameterization['ALPHA1']=returnString(pol0) +c.cd() +graphs['ALPHA1'].Draw("AP") +c.SaveAs("interpALPHA1.root") + + +graphs['ALPHA2'].Fit(pol0) +parameterization['ALPHA2']=returnString(pol0) +c.cd() +graphs['ALPHA2'].Draw("AP") +c.SaveAs("interpALPHA2.root") + +f=open(options.output,"w") +json.dump(parameterization,f) +f.close() + diff --git a/CMGTools/VVResonances/scripts/vvSubmitContour.py b/CMGTools/VVResonances/scripts/vvSubmitContour.py new file mode 100755 index 0000000000000..0eab27383d5cc --- /dev/null +++ b/CMGTools/VVResonances/scripts/vvSubmitContour.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python + +import ROOT +import os, sys, re, optparse,pickle,shutil,json + + + + +parser = optparse.OptionParser() + +parser.add_option("-m","--mass",dest="mass",type=float,help="mass",default=1800.0) + +parser.add_option("-n","--points",dest="points",type=int,help="points",default=10000) +parser.add_option("-N","--pointsPerJob",dest="perJob",type=int,help="points per job",default=100) + +parser.add_option("-o","--options",dest="options",help="Combine Options",default='') +parser.add_option("-q","--queue",dest="queue",help="Batch Queue",default='8nh') +(options,args) = parser.parse_args() + + + +STEPS = int(options.points/options.perJob) + + +points=[] + +for i in range(0,STEPS+1): + points.append(i*options.perJob) + + +for i in range(0,len(points)-1): + + mini=points[i] + maxi=points[i+1] + + f=open("submitContour_{i}.sh".format(i=i),'w') + execScript = 'cd {cwd} \n'.format(cwd=os.getcwd()) + execScript += 'eval `scramv1 runtime -sh` \n' + execScript += "combine -n Contour_{i} -m {mass} -M MultiDimFit --algo=grid {options} --points={points} --firstPoint={mini} --lastPoint={maxi} {file}\n".format(i=i,points=options.points,mass=options.mass,options=options.options,file=args[0],mini=mini,maxi=maxi) + f.write(execScript) + f.close() + os.system('chmod +x submitContour_{i}.sh'.format(i=i)) + + if options.queue!="local": + os.system('bsub -q {queue} submitContour_{i}.sh '.format(queue=options.queue,i=i)) + else: + os.system('sh submitContour_{i}.sh '.format(i=i)) + + + + + diff --git a/CMGTools/VVResonances/scripts/vvSubmitLimits.py b/CMGTools/VVResonances/scripts/vvSubmitLimits.py new file mode 100755 index 0000000000000..6dc1b17e63052 --- /dev/null +++ b/CMGTools/VVResonances/scripts/vvSubmitLimits.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python + +import ROOT +import os, sys, re, optparse,pickle,shutil,json + + + + +parser = optparse.OptionParser() + +parser.add_option("-s","--step",dest="step",type=float,help="step for mass points",default=1000.0) +parser.add_option("-m","--min",dest="min",type=float,help="minimum Mass point",default=1000.0) +parser.add_option("-M","--max",dest="max",type=float,help="maximum Mass point",default=5000.0) +parser.add_option("-o","--options",dest="options",help="Combine Options",default='-M Asymptotic') +parser.add_option("-q","--queue",dest="queue",help="Batch Queue",default='8nh') +(options,args) = parser.parse_args() + + +STEPS = int((options.max-options.min)/options.step) + +massPoints=[] + +for i in range(0,STEPS+1): + massPoints.append(options.min+i*options.step) + + +for i,m in enumerate(massPoints): + f=open("submit_{i}.sh".format(i=i),'w') + execScript = 'cd {cwd} \n'.format(cwd=os.getcwd()) + execScript += 'eval `scramv1 runtime -sh` \n' + execScript += "combine -m {mass} {options} {file}\n".format(mass=m,options=options.options,file=args[0]) + f.write(execScript) + f.close() + os.system('chmod +x submit_{i}.sh'.format(i=i)) + + if options.queue!="local": + os.system('bsub -q {queue} submit_{i}.sh '.format(queue=options.queue,i=i)) + else: + os.system('sh submit_{i}.sh '.format(i=i)) + + + + + diff --git a/CMGTools/VVResonances/src/FastJetInterface.cc b/CMGTools/VVResonances/src/FastJetInterface.cc index 01afd6a42ff52..06bd72625e68d 100644 --- a/CMGTools/VVResonances/src/FastJetInterface.cc +++ b/CMGTools/VVResonances/src/FastJetInterface.cc @@ -99,62 +99,70 @@ void FastJetInterface::makeExclusiveJetsUpTo( int njets ) { } -void FastJetInterface::makeSubJets( unsigned int i, double dcut) { +void FastJetInterface::makeSubJets(bool jet, unsigned int i, double dcut) { + const std::vector& input = jet ? jets_ : subjets_; std::vector empty; - if (i>jets_.size()-1) { + if (i>input.size()-1) { printf("Make Subjets(dcut)Collection size smaller than the requested jet\n"); subjets_ = empty; return; } - subjets_ = sorted_by_pt(jets_[i].exclusive_subjets(dcut)); + subjets_ = sorted_by_pt(input[i].exclusive_subjets(dcut)); } -void FastJetInterface::makeSubJets( unsigned int i) { +void FastJetInterface::makeSubJets( bool jet,unsigned int i) { + + const std::vector& input = jet ? jets_ : subjets_; + std::vector empty; - if (i>jets_.size()-1) { + if (i>input.size()-1) { printf("MakeSubjets(pieces)Collection size smaller than the requested jet\n"); subjets_ = empty; return; } - if(jets_[i].has_pieces()) - subjets_ = sorted_by_pt(jets_[i].pieces()); + if(input[i].has_pieces()) + subjets_ = sorted_by_pt(input[i].pieces()); else subjets_=empty; } -void FastJetInterface::makeSubJets( unsigned int i, int N) { + void FastJetInterface::makeSubJets(bool jet, unsigned int i, int N) { + + const std::vector& input = jet ? jets_ : subjets_; + + std::vector empty; - if (i>jets_.size()-1) { + if (i>input.size()-1) { printf("MakeSubJets(N): Collection size smaller than the requested jet\n"); return; } - if (jets_[i].constituents().size()& input = jet ? jets_ : subjets_; - if (i>jets_.size()-1) { + if (i>input.size()-1) { printf("MakeSubJetsUpTo(N) :Collection size smaller than the requested jet\n"); return; } - subjets_ = sorted_by_pt(jets_[i].exclusive_subjets_up_to(njets)); + subjets_ = sorted_by_pt(input[i].exclusive_subjets_up_to(njets)); } - -std::vector FastJetInterface::get(bool subjets) { - const std::vector& output = subjets ? subjets_ : jets_; +std::vector FastJetInterface::get(bool jet) { + const std::vector& output = jet ?jets_ : subjets_; return makeP4s(output); } @@ -176,9 +184,7 @@ std::vector< unsigned int> FastJetInterface::getConstituents(bool jet, unsigned } double FastJetInterface::getArea(bool jet, unsigned int i) { - const std::vector& output = jet ? jets_ : subjets_; - if (i>output.size()-1) { printf("Area: Collection size smaller than the requested jet\n"); return 0.0; @@ -211,36 +217,39 @@ bool FastJetInterface::massDropTag( unsigned int i,double& mu, double& y) { -void FastJetInterface::prune(bool jet, double zcut,double rcutfactor ) { +void FastJetInterface::prune(bool jet,unsigned int i, double zcut,double rcutfactor ) { const std::vector& input = jet ? jets_ : subjets_; fastjet::Pruner pruner(fastjet::cambridge_algorithm, zcut, rcutfactor); std::vector output; - for (unsigned int i=0;iinput.size()-1) { + printf("Area: Collection size smaller than the requested jet\n"); + } + else { output.push_back(pruner(input[i])); } - - if(jet) - jets_ = output; - else - subjets_ = output; + subjets_ = output; } -void FastJetInterface::softDrop(bool jet, double beta, double zcut,double R0 ) { +void FastJetInterface::softDrop(bool jet,unsigned int i, double beta, double zcut,double R0 ) { + + const std::vector& input = jet ? jets_ : subjets_; fastjet::contrib::SoftDrop softdrop(beta, zcut, R0); std::vector output; - for (unsigned int i=0;iinput.size()-1) { + printf("Area: Collection size smaller than the requested jet\n"); + } + else { output.push_back(softdrop(input[i])); } - - if(jet) - jets_ = output; - else - subjets_ = output; + subjets_ = output; }