Skip to content

Commit

Permalink
Merge pull request cms-sw#21 from leonoravesterbacka/76X
Browse files Browse the repository at this point in the history
updates for met studies with gamma+jets, photonId, samples etc.
  • Loading branch information
mariadalfonso committed Mar 29, 2016
2 parents 67f93dd + 984576f commit 465d9ad
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 13 deletions.
41 changes: 31 additions & 10 deletions ObjectStudies/cfg/run_MET_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,23 +169,40 @@
### this is for the PhotonSkim
elif test==16:
is1PH=True
if is25ns:
selectedComponents = [ SinglePhoton_Run2015D_16Dec ]
else:
selectedComponents = [ SinglePhoton_Run2015D_16Dec ] ## not sure the 50ns are ready in 76
selectedComponents = [ SinglePhoton_Run2015D_16Dec ]
for comp in selectedComponents:
comp.triggers = triggers_photon30 + triggers_photon50 + triggers_photon75 + triggers_photon90 + triggers_photon120
comp.splitFactor = 1
comp.splitFactor = 100
comp.files = comp.files[:]
if is25ns:
comp.json = "/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/Reprocessing/Cert_13TeV_16Dec2015ReReco_Collisions15_25ns_JSON.txt"
else:
comp.json = "/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/Reprocessing/Cert_13TeV_16Dec2015ReReco_Collisions15_25ns_JSON.txt"
comp.json = "/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/Reprocessing/Cert_13TeV_16Dec2015ReReco_Collisions15_25ns_JSON.txt"
comp.intLumi= 0.04003

# ------------------------------------------------------------------------------------------- #
# --> 25ns MC here

#QCD
elif test==17:
selectedComponents = [QCD_HT100to200, QCD_HT200to300, QCD_HT300to500, QCD_HT_500to700, QCD_HT700to1000,QCD_HT1000to1500,QCD_HT1500to2000,QCD_HT2000toInf]
is1PH=True
for comp in selectedComponents:
comp.splitFactor = 100
comp.files = comp.files[:]

# GJets
elif test==18:
selectedComponents = [GJets_HT40to100,GJets_HT100to200, GJets_HT200to400, GJets_HT400to600, GJets_HT600toInf]
is1PH=True
for comp in selectedComponents:
comp.splitFactor = 100
comp.files = comp.files[:]

# WG/ZG
elif test==19:
selectedComponents = [ZGJets, WGJets]
is1PH=True
for comp in selectedComponents:
comp.splitFactor = 100
comp.files = comp.files[:]

elif test==23:
isZSkim=True
is25ns=True
Expand Down Expand Up @@ -272,6 +289,10 @@
'DoubleMu' : triggers_mumu, # [ "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v*", "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v*" ]
'DoubleEG' : triggers_ee, # [ "HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*" ]
'Photon30' : triggers_photon30, #["HLT_Photon30_R9Id90_HE10_IsoM_v*"]
'Photon50' : triggers_photon50, #["HLT_Photon50_R9Id90_HE10_IsoM_v*"]
'Photon75' : triggers_photon75, #["HLT_Photon75_R9Id90_HE10_IsoM_v*"]
'Photon90' : triggers_photon90, #["HLT_Photon90_R9Id90_HE10_IsoM_v*"]
'Photon120': triggers_photon120, #["HLT_Photon120_R9Id90_HE10_IsoM_v*"]
}


Expand Down
10 changes: 7 additions & 3 deletions ObjectStudies/python/analyzers/metCoreModules_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,19 @@
photonAna = cfg.Analyzer(
PhotonAnalyzer, name='photonAnalyzer',
photons='slimmedPhotons',
doPhotonScaleCorrections=False,
ptMin = 30,
etaMax = 2.5,
gammaID = "POG_SPRING15_50ns_Tight",
gammaID = "POG_SPRING15_25ns_Tight",
rhoPhoton = 'fixedGridRhoFastjetAll',
gamma_isoCorr = 'rhoArea',
conversionSafe_eleVeto = False,
doFootprintRemovedIsolation = True,
conversionSafe_eleVeto = True,
do_mc_match = False,
do_randomCone = False,
)
packedCandidates = 'packedPFCandidates',
footprintRemovedIsolationPUCorr = 'rhoArea',
)


##------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@
VVTo2L2Nu = kreator.makeMCComponent("VVTo2L2Nu","/VVTo2L2Nu_13TeV_amcatnloFXFX_madspin_pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM", "CMS", ".*root", 12.05)

WGToLNuG = kreator.makeMCComponent("WGToLNuG", "/WGToLNuG_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM", "CMS", ".*root", 585.8)
WGJets = kreator.makeMCComponent("WGJets", "/WGJets_MonoPhoton_PtG-130_TuneCUETP8M1_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM", "CMS", ".*root", 0.6637)
ZGJets = kreator.makeMCComponent("ZGJets", "/ZNuNuGJets_MonoPhoton_PtG-130_TuneCUETP8M1_13TeV-madgraph/RunIIFall15MiniAODv1-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM", "CMS", ".*root", 0.1903)
ZGTo2LG = kreator.makeMCComponent("ZGTo2LG", "/ZGTo2LG_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM", "CMS", ".*root", 131.3)

WWDouble = kreator.makeMCComponent("WWDouble", "/WW_DoubleScattering_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM", "CMS", ".*root", 1.64)
Expand Down

0 comments on commit 465d9ad

Please sign in to comment.