-
Notifications
You must be signed in to change notification settings - Fork 1
/
anaZXTree_DarkPhoton_WrongFC_Run2017.py
30 lines (28 loc) · 1.34 KB
/
anaZXTree_DarkPhoton_WrongFC_Run2017.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
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/20190307/SkimTree_DarkPhoton_WrongFC_Run2017Data_m4l70/Data_Run2017-17Nov2017_noDuplicates.root"
treeName = "passedEvents"
elFilePath = "/home/lucien/Higgs/DarkZ/ZXEstimate/Data/FakeRate_Vukasin_190301/fakeRates_2017.root"
muFilePath = "/home/lucien/Higgs/DarkZ/ZXEstimate/Data/FakeRate_Vukasin_190301/fakeRates_2017.root"
isoElCut = 9999999.
isoMuCut = 0.35
outputDir = "/raid/raid7/lucien/Higgs/DarkZ-NTuple/20190307/SkimTree_DarkPhoton_WrongFC_Run2017Data_m4l70/"
TFileName = "Data_Run2017-17Nov2017-v1_noDuplicates_FRWeightFromVukasin.root"
# ____________________________________________________________________________ ||
ROOT.gSystem.Load("include/ZXAnalyzer_h.so")
ana = ROOT.ZXAnalyzer(
elFilePath,
muFilePath,
isoElCut,
isoMuCut,
outputDir,
TFileName,
"LiteHZZTree",
"Data_FRmu_EB",
"Data_FRmu_EE",
"Data_FRel_EB",
"Data_FRel_EE",
)
ana.loop(inputPath,treeName)