|
def | plotLine (df, var, color, label) |
|
def | plotCurve (df, var, label, withBand=True, withCurve=True) |
|
Definition at line 128 of file ecms.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
location |
|
) |
| |
Data are loaded from text files to pandas
Definition at line 129 of file ecms.py.
129 def __init__(self, location):
131 Data are loaded from text files to pandas
135 self.dfB = pd.read_csv(f
'{location}/BonlyEcmsCalib.txt', delim_whitespace=
True)
138 self.dfC = pd.read_csv(f
'{location}/finalEcmsCalib.txt', delim_whitespace=
True)
141 self.dfM = pd.read_csv(f
'{location}/mumuEcalib.txt', delim_whitespace=
True)
149 for i
in range(len(dfM)):
150 if (dfM[
'id'][i]) == 0:
153 dfM.at[i,
'type'] = state
154 dfC.at[i,
'type'] = state
◆ plotCurve()
def plotCurve |
( |
|
df, |
|
|
|
var, |
|
|
|
label, |
|
|
|
withBand = True , |
|
|
|
withCurve = True |
|
) |
| |
|
static |
Plot curve with possible error band where large intervals are distinguished by color
Definition at line 235 of file ecms.py.
◆ plotEcms()
def plotEcms |
( |
|
self, |
|
|
|
limits = None , |
|
|
|
tag = '' |
|
) |
| |
Plot Ecms of the combined fit, 'tag' can be '4S' means that y-axis is zoomed to 4S mass region, 'Off' to off-resonance
Definition at line 288 of file ecms.py.
◆ plotEcmsComparison()
def plotEcmsComparison |
( |
|
self, |
|
|
|
limits = None , |
|
|
|
tag = '' |
|
) |
| |
Plot Ecms obtained from combined, hadB and mumu method
Definition at line 179 of file ecms.py.
◆ plotLine()
def plotLine |
( |
|
df, |
|
|
|
var, |
|
|
|
color, |
|
|
|
label |
|
) |
| |
|
static |
Plot single line with error band
Definition at line 157 of file ecms.py.
◆ plotPulls()
def plotPulls |
( |
|
self, |
|
|
|
limits = None |
|
) |
| |
Plot pulls of the combined fit.
Definition at line 311 of file ecms.py.
◆ plotShift()
def plotShift |
( |
|
self, |
|
|
|
limits = None |
|
) |
| |
Plot shift between Bhad and mumu method
Definition at line 266 of file ecms.py.
◆ plotSpreadComparison()
def plotSpreadComparison |
( |
|
self, |
|
|
|
limits = None |
|
) |
| |
Plot Ecms spread estimated from the combined method and B-decay method
Definition at line 210 of file ecms.py.
The documentation for this class was generated from the following file:
- calibration/scripts/prompt/validations/ecms.py