-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanalyze_pair.py
29 lines (28 loc) · 1.25 KB
/
analyze_pair.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
import os, sys, shutil
import math
import numpy as np
import ctypes
import ROOT
from ROOT import TH1D, TH2D, TH3D, TList
from ROOT import gROOT, gSystem, gStyle, gPad
from ROOT import kWhite, kBlack, kRed, kGreen, kBlue, kYellow, kOrange
from histo_manager import slice_histogram, rebin_histogram, get_R_factor, get_corrected_bkg, get_bkg_subtracted, get_SBratio
#_________________________________________________________________________________________
def analyze_mee_ptee(rootfile,cutname,arr_mee, arr_ptee):
print(sys._getframe().f_code.co_name);
outlist = TList();
outlist.SetName(cutname);
return outlist;
#_________________________________________________________________________________________
def analyze_mee_ptee_dcaee(rootfile,cutname,arr_mee, arr_ptee, arr_dcaee):
print(sys._getframe().f_code.co_name);
outlist = TList();
outlist.SetName(cutname);
return outlist;
#_________________________________________________________________________________________
def analyze_mee_ptee_efficiency(rootfile,cutname,arr_mee, arr_ptee):
print(sys._getframe().f_code.co_name);
outlist = TList();
outlist.SetName(cutname);
return outlist;
#_________________________________________________________________________________________