Fills residual and hit-position histograms for the detector elements listed in detIDs and draws them on a pad grid. Meant for spotting dead or misencoded elements and judging whether a dataset is worth aligning at all.
Configuration is compile-time, through the defines at the top of the file (BMN_FILELIST, the histogram widths, the pad grid, DET_FILTER).
- Parameters
-
| argc | unused, kept so the macro can be invoked with ROOT's argument passing convention |
| argv | unused, see argc |
- Returns
- 0 on success, non-zero if the input data could not be read
Definition at line 69 of file review.C.
References BmnWeightedLine::Add(), BmnWeightedLine::At(), BMN_FILELIST, BmnDefaultHitFilter(), BmnDefaultTrackFilter(), TPad::cd(), DET_FILTER, detIDs, detMinMax, TH1::Draw(), TPad::Draw(), BmnDataIterator::EndOfHits(), BmnDataIterator::EndOfTracks(), TH1::Fill(), BmnRootIterator::GetHit(), BmnRootIterator::HitDetectorID(), BmnRootIterator::HitX(), BmnRootIterator::HitY(), BmnRootIterator::HitZ(), hResX, hResY, hXresX, hYresX, i, BmnDetectorModel::Init(), BmnRootIterator::NextHit(), BmnRootIterator::NextTrack(), PADS_X, PADS_Y, TStopwatch::RealTime(), RES_X, RES_Y, TCanvas::SetCanvasSize(), TAttFill::SetFillColor(), TH1::SetStats(), TH1::StatOverflows(), XHIST_WIDTH, and YHIST_WIDTH.