Functions | |
def | PrintError (val, err) |
def | printlist (mylist) |
def | CenterTitles (histo) |
def | GetHists (c1) |
def | VerticalRange (hists, xrange=(0, 0), ratio=False, forceOne=True, ignoreError=False, maxerr=0.25, absMax=-999, absMin=-999, buffer=0.05, verbose=0, log=False) |
def | HorizontalRange (hists, mustinclude=[]) |
def | ChisqCount (h1, h2) |
def | MakeGradient (nsteps, start, end) |
def | Intersections (hist, value, interp=False) |
def | gIntersections (graph, value, xrng, nsteps=1000) |
def | Interpolate (x1, y1, x2, y2, yvalue) |
def | BinWidthNormalize (h, width=-1) |
def | MakeBins (bmin, bmax, nbins, log=False) |
def | DrawDiv (x, c1) |
def | DrawLine (c1, val=0) |
def | mean (lst) |
def | stdev (lst) |
def | rms (lst) |
def | ProfileX (hist) |
def | ProfileY (hist) |
def HandyFuncs.BinWidthNormalize | ( | h, | |
width = -1 |
|||
) |
def HandyFuncs.CenterTitles | ( | histo | ) |
Definition at line 27 of file HandyFuncs.py.
def HandyFuncs.ChisqCount | ( | h1, | |
h2 | |||
) |
def HandyFuncs.DrawDiv | ( | x, | |
c1 | |||
) |
Definition at line 265 of file HandyFuncs.py.
def HandyFuncs.DrawLine | ( | c1, | |
val = 0 |
|||
) |
Definition at line 274 of file HandyFuncs.py.
def HandyFuncs.GetHists | ( | c1 | ) |
Definition at line 33 of file HandyFuncs.py.
References parse_dependency_file_t.list.
def HandyFuncs.gIntersections | ( | graph, | |
value, | |||
xrng, | |||
nsteps = 1000 |
|||
) |
Definition at line 199 of file HandyFuncs.py.
References Interpolate(), and PandAna.Demos.demo1.range.
def HandyFuncs.HorizontalRange | ( | hists, | |
mustinclude = [] |
|||
) |
Definition at line 107 of file HandyFuncs.py.
References cet::sqlite.max(), and min().
def HandyFuncs.Interpolate | ( | x1, | |
y1, | |||
x2, | |||
y2, | |||
yvalue | |||
) |
Definition at line 218 of file HandyFuncs.py.
Referenced by slid::ParticleIDAlg.CalcPlaneLongDedxProb(), slid::ParticleIDAlg.CalcPlaneTransDedxProb(), jmshower::RecoJMShower.GetCellTransDedxProb(), jmshower::RecoJMShower.GetPlaneDedxProb(), gIntersections(), Intersections(), plot_contprof(), and plotContProf().
def HandyFuncs.Intersections | ( | hist, | |
value, | |||
interp = False |
|||
) |
Definition at line 178 of file HandyFuncs.py.
References Interpolate(), and PandAna.Demos.demo1.range.
def HandyFuncs.MakeBins | ( | bmin, | |
bmax, | |||
nbins, | |||
log = False |
|||
) |
Definition at line 253 of file HandyFuncs.py.
References std.log10(), and PandAna.Demos.demo1.range.
def HandyFuncs.MakeGradient | ( | nsteps, | |
start, | |||
end | |||
) |
Definition at line 152 of file HandyFuncs.py.
References check_time_usage.float, and PandAna.Demos.demo1.range.
def HandyFuncs.mean | ( | lst | ) |
def HandyFuncs.PrintError | ( | val, | |
err | |||
) |
Definition at line 6 of file HandyFuncs.py.
References makeTrainCVSamples.int, and cet::sqlite.max().
def HandyFuncs.printlist | ( | mylist | ) |
Definition at line 12 of file HandyFuncs.py.
References makeTrainCVSamples.int, and cet::sqlite.max().
def HandyFuncs.ProfileX | ( | hist | ) |
Definition at line 294 of file HandyFuncs.py.
References min(), and PandAna.Demos.demo1.range.
def HandyFuncs.ProfileY | ( | hist | ) |
Definition at line 310 of file HandyFuncs.py.
References min(), and PandAna.Demos.demo1.range.
def HandyFuncs.rms | ( | lst | ) |
def HandyFuncs.stdev | ( | lst | ) |
Definition at line 286 of file HandyFuncs.py.
References mean(), std.sqrt(), and sum.
Referenced by caldp::TCTrack.CalculateFiberVelocity(), caldp::TCTrack.CalculateMuonVelocity(), ifdb::IFDBSpillInfo.GetGaussFit(), calib::Calibrator.GetTimeRes(), calib::TimingCalibration.produce(), zcl::FastMonopoleTriggers.StdevCellsPerPlane(), novaddt::FastMMTrigger.StdevCellsPerPlane(), novaddt::NNFastMMTrigger.StdevCellsPerPlane(), zcl::FmmTriggerEvd.StdevCellsPerPlane(), zcl::FastMMStudy.StdevCellsPerPlane(), and caldp::TCTrack.TNSUncertainty().
def HandyFuncs.VerticalRange | ( | hists, | |
xrange = (0,0) , |
|||
ratio = False , |
|||
forceOne = True , |
|||
ignoreError = False , |
|||
maxerr = 0.25 , |
|||
absMax = -999 , |
|||
absMin = -999 , |
|||
buffer = 0.05 , |
|||
verbose = 0 , |
|||
log = False |
|||
) |
Definition at line 38 of file HandyFuncs.py.
References abs(), std.log10(), and PandAna.Demos.demo1.range.