|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Helpers for the 2-D beam-spot description. More...
#include <BeamFit2D.hpp>
Static Public Member Functions | |
| static Bool_t | InEllipseXY (const BeamFit2D &b, Double_t x, Double_t y, Double_t nx, Double_t ny) |
| Whether a point lies inside the fitted beam ellipse. | |
| static Moments2D | ComputeMoments (TH2F *h, Int_t lo_bx, Int_t hi_bx, Int_t lo_by, Int_t hi_by, Double_t thresh, Double_t bw_x, Double_t bw_y) |
| Second moments of a histogram region above a threshold. | |
Helpers for the 2-D beam-spot description.
Definition at line 39 of file BeamFit2D.hpp.
|
static |
Second moments of a histogram region above a threshold.
| h | Histogram to measure. Must not be null. |
| lo_bx | First x bin, inclusive. |
| hi_bx | Last x bin, inclusive. |
| lo_by | First y bin, inclusive. |
| hi_by | Last y bin, inclusive. |
| thresh | Bin contents at or below this are ignored, which keeps background out of the widths. |
| bw_x | x bin width, for converting bin indices to physical units. |
| bw_y | y bin width. |
thresh. Definition at line 20 of file BeamFit2D.cpp.
Referenced by FindBeamGateStrips().
|
static |
Whether a point lies inside the fitted beam ellipse.
| b | Fitted spot. Must have ok == kTRUE to be meaningful. |
| x | Point x. |
| y | Point y. |
| nx | Ellipse half-width in units of sigma_x. |
| ny | Ellipse half-height in units of sigma_y. |
Definition at line 3 of file BeamFit2D.cpp.
Referenced by CollectAnchorSamplesOneSubfile().