-
Notifications
You must be signed in to change notification settings - Fork 1
/
anaZXTree_DarkPhoton_Run2018.py
36 lines (34 loc) · 1.42 KB
/
anaZXTree_DarkPhoton_Run2018.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import ROOT,os,argparse,glob
from PyUtils.UFTier2 import listdir_uberftp,t2_prefix,FileInfo
from PyUtils.Shell import makedirs
# ____________________________________________________________________________ ||
inputPath = "/raid/raid7/lucien/Higgs/DarkZ-NTuple/20190402/SkimTree_DarkPhoton_Run2018Data_m4l70/Data_Run2018_noDuplicates.root"
treeName = "passedEvents"
isoElCut = 999999.
isoMuCut = 0.35
outputDir = "/raid/raid7/lucien/Higgs/DarkZ-NTuple/20190402/SkimTree_DarkPhoton_ZX_Run2018Data_m4l70/"
elFilePath = "Data/FakeRate_Vukasin_190326/FR_WZremoved_18.root"
muFilePath = "Data/FakeRate_Vukasin_190326/FR_WZremoved_18.root"
TFileName = "Data_Run2018_noDuplicates_FRWeightFromVukasinWZRemoved.root"
# ____________________________________________________________________________ ||
ROOT.gSystem.Load("include/ZXAnalyzer_h.so")
ana = ROOT.ZXAnalyzer(
elFilePath,
muFilePath,
isoElCut,
isoMuCut,
outputDir,
TFileName,
"LiteHZZTree",
#"h1D_FRmu_EB",
#"h1D_FRmu_EE",
#"h1D_FRel_EB",
#"h1D_FRel_EE",
"Data_FRmu_EB",
"Data_FRmu_EE",
"Data_FRel_EB",
"Data_FRel_EE",
)
#ana.getFile(inputPath)
#ana.getTree(treeName)
ana.loop(inputPath,treeName)