|
ATLAS Offline Software
|
Go to the documentation of this file.
7 from ROOT
import gSystem
10 gSystem.Load(
'libDataQualityUtils')
11 from ROOT
import dqutils
17 h=mean_rms.split(
'Mean: ')
18 if (mean_rms.find(
'Error')>-1):
19 m=h[1].
split(
'MeanError: ')
21 elif (mean_rms.find(
'Error')<0):
23 if (m[0].
find(
'NBins')>-1):
24 n=m[0].
split(
'NBins: ')
33 h=mean_rms.split(
'Mean: ')
34 if (mean_rms.find(
'Error')>-1):
35 m=h[1].
split(
'MeanError: ')
36 if (mean_rms.find(
'NBins')>-1):
37 n=m[1].
split(
'NBins: ')
38 elif (mean_rms.find(
'NBins')<0):
46 h=mean_rms.split(
'Mean: ')
47 if (mean_rms.find(
'Error')>-1):
48 m=h[1].
split(
'MeanError: ')
49 if (mean_rms.find(
'NBins')>-1):
50 n=m[1].
split(
'NBins: ')
51 j = n[1].
split(
'RMS: ')
52 jj = j[1].
split(
'RMSError: ')
53 elif (mean_rms.find(
'NBins')<0):
55 jj=n[1].
split(
'RMSError: ')
57 elif (mean_rms.find(
'Error')<0):
65 h=mean_rms.split(
'Mean: ')
66 if (mean_rms.find(
'Error')>-1):
67 m=h[1].
split(
'MeanError: ')
68 if (mean_rms.find(
'NBins')>-1):
69 n=m[1].
split(
'NBins: ')
70 j = n[1].
split(
'RMS: ')
71 jj = j[1].
split(
'RMSError: ')
72 elif (mean_rms.find(
'NBins')<0):
74 jj=n[1].
split(
'RMSError: ')
80 h=mean_rms.split(
'Average: ')
81 m=h[1].
split(
'NBins: ')
87 h=mean_rms.split(
'Average: ')
88 m=h[1].
split(
'NBins: ')
95 h=mean_rms.split(
'XRMS: ')
96 m=h[1].
split(
'YRMS: ')
102 h=mean_rms.split(
'XRMS: ')
103 m=h[1].
split(
'YRMS: ')
110 if (mean_rms.find(
'XMean: ')>-1):
111 h=mean_rms.split(
'XMean: ')
112 m=h[1].
split(
'YMean: ')
121 if (mean_rms.find(
'XMean: ')>-1):
122 h=mean_rms.split(
'XMean: ')
123 m=h[1].
split(
'YMean: ')
133 h=mean_rms.split(
'SideBands: ')
134 m=h[1].
split(
'TotalIntegral: ')
140 h=mean_rms.split(
'SideBands: ')
141 m=h[1].
split(
'TotalIntegral: ')
148 h=mean_rms.split(
'pol1[0]: ')
149 m=h[1].
split(
'pol1[1]: ')
155 h=mean_rms.split(
'pol1[0]: ')
156 m=h[1].
split(
'pol1[1]: ')
163 h=mean_rms.split(
'Constant: ')
164 m=h[1].
split(
'Mean: ')
170 h=mean_rms.split(
'Constant: ')
171 m=h[1].
split(
'Mean: ')
172 n = m[1].
split(
'Sigma: ')
178 h=mean_rms.split(
'Constant: ')
179 m=h[1].
split(
'Mean: ')
180 n = m[1].
split(
'Sigma: ')
191 h=mean_rms.split(
'NBins: ')
193 if (h[1].
find(
'RMS')>-1):
194 n=h[1].
split(
'RMS: ')
196 elif (h[1].
find(histo_nameonly.strip())>-1):
197 reading = h[1].
split(histo_nameonly.strip())
198 contbins = reading[0]
199 for i
in range(1,len(reading)):
200 if (reading[i].
find(
'(0.0000')>-1):
201 bin_inf1 = reading[i].
split(
':')[1]
205 for i
in range(1,len(reading)):
206 if (reading[i].
find(
'(1.0000')>-1):
207 bin_inf2 = reading[i].
split(
':')[1]
211 for i
in range(1,len(reading)):
212 if (reading[i].
find(
'(2.0000')>-1):
213 bin_inf3 = reading[i].
split(
':')[1]
217 for i
in range(1,len(reading)):
218 if (reading[i].
find(
'(3.0000')>-1):
219 bin_inf4 = reading[i].
split(
':')[1]
244 return (contbins, bin_inf1, bin_inf2, bin_inf3, bin_inf4)
247 rootFolder =file+
":"+rootFolder
249 algo = of.getAlgorithm(rootFolder)
254 rootFolder =file+
":"+rootFolder
256 nentries = of.getNEntries(rootFolder, histo_string)
def ExtractEMean(mean_rms)
def ExtractYRMS(mean_rms)
std::string find(const std::string &s)
return a remapped string
def ExtractERMS(mean_rms)
def ExtractYMean(mean_rms)
def ExtractXRMS(mean_rms)
def ExtractMean(mean_rms)
def ExtractRMSG(mean_rms)
def ExtractAverage(mean_rms)
def ExtractNBins(mean_rms)
def ExtractOnlyNBins(histo_nameonly, mean_rms)
def ExtractNEntries(file, rootFolder, histo_string)
def ExtractPol0(mean_rms)
def ExtractPol1(mean_rms)
def ExtractMeanG(mean_rms)
def ExtractTotInt(mean_rms)
def ExtractAlgo(file, rootFolder)
def ExtractConstG(mean_rms)
def ExtractSideBands(mean_rms)
def ExtractXMean(mean_rms)