Diagnostic alternative to the global fit: for one alignable element at a time it fills the classic residual-histogram set and reads a first-order estimate of each of the 6 corrections off it, following the linearized measurement model derived in the file header. Navigate between elements interactively with the keyboard.
- Parameters
-
| fileListPath | text file listing the .root files to read |
| drawDetIdx | index of the detector element to start on, 0 .. BmnDetectorModel::Alignables() - 1 |
| drawMode | slope panel style: DM_PROFILE, DM_SCATTER or DM_MIX |
| pdfPath | .pdf file to save the canvas into, null to only display |
- Returns
- 0 on success, non-zero if the input data could not be read
Definition at line 230 of file histo.C.
References BmnWeightedLine::Add(), TH1::AddDirectory(), TPaveText::AddText(), BmnRun8DM::Alignables(), BmnWeightedLine::At0(), DetDraw::betaX, DetDraw::betaXX, DetDraw::betaXY, DetDraw::betaY, DetDraw::betaYX, DetDraw::betaYY, BmnDefaultHitFilter(), BmnDefaultTrackFilter(), TCanvas::cd(), TPad::cd(), BmnSimpleProgressBar::Clear(), TCanvas::Clear(), BmnRootIterator::CountElements(), COV_TITLE_X, COV_TITLE_Y, d, BmnRun8DM::DecodeID(), BmnWeightedLine::Det(), DM_MIX, DM_PROFILE, DM_SCATTER, TH1::Draw(), TObject::Draw(), TPad::Draw(), TPaveText::Draw(), BmnDetectorModel::EncodedID(), BmnDataIterator::EndOfHits(), BmnDataIterator::EndOfTracks(), TH1::Fill(), TH2::Fill(), TProfile::Fill(), TH1::Fit(), TH1::GetFunction(), TH1::GetMaximum(), TH1::GetMean(), histoSetRawMode(), BmnRootIterator::HitDetectorID(), BmnRootIterator::HitWx(), BmnRootIterator::HitWy(), BmnRootIterator::HitX(), BmnRootIterator::HitY(), BmnRootIterator::HitZ(), i, BmnDetectorModel::Idx(), BmnDetectorModel::Init(), BmnSimpleProgressBar::Init(), BmnDataIterator::Initialized(), nDet, BmnRootIterator::NextHit(), BmnRootIterator::NextTrack(), P_dX, P_dY, P_dZ, P_phi, P_psi, P_theta, PADS_X, PADS_Y, PARAM_CNT, PARAM_DIAG, PARAM_DIAG_Y, PARAM_NAMES, PARAM_SIGN_X, PARAM_SIGN_Y, PAVE_TEXT_SIZE, PROFILE_BINS, RES_X, RES_Y, BmnRootIterator::ResetAll(), BmnRootIterator::ResetHits(), RESIDUAL_BINS, RESIDUAL_RANGE_X, RESIDUAL_RANGE_Y, DetDraw::rx, DetDraw::ry, TPad::SaveAs(), TObject::SetBit(), TCanvas::SetCanvasSize(), TAttFill::SetFillColor(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TH1::SetStats(), TAttText::SetTextSize(), TCanvas::SetTitle(), BmnWeightedLine::Slope(), TCanvas::Update(), DetAcc::x, DetDraw::xBar, DetAcc::y, DetDraw::yBar, and z.
Referenced by dch_noise_hist(), BmnTrackingQaOffline::DoAnalisys(), Draw_L1_histo(), BmnStsKFTrackFitter::EvalMaterial(), CbmStsFindHitsQa::Finish(), CbmStsFindTracksQa::Finish(), CbmStsReconstructionQa::Finish(), CbmStsSimulationQa::Finish(), CbmL1::InputPerformance(), BmnTrackingQaOfflineDraw::ProcessHistos(), CbmStsFindHitsQa::Reset(), CbmStsFindTracksQa::Reset(), CbmStsReconstructionQa::Reset(), and BmnTriggerEfficiencyRun7::triggerEfficiency().