|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "BmnHit.h"#include "BmnTrack.h"#include "FairTrackParam.h"#include "TF1.h"#include "TLorentzVector.h"#include "TVectorD.h"Go to the source code of this file.
Namespaces | |
| namespace | lit |
Macros | |
| #define | ANSI_COLOR_RED "\x1b[91m" |
| #define | ANSI_COLOR_BLUE "\x1b[94m" |
| #define | ANSI_COLOR_RESET "\x1b[0m" |
| #define | ANSI_COLOR_YELLOW_BG "\x1b[33;7m" |
| #define | ANSI_COLOR_BLUE_BG "\x1b[94;7m" |
| #define | ANSI_BOLD "\e[1m" |
| #define | ANSI_DEFAULT "\e[0m" |
| #define | DBG(a) |
| #define | DBGERR(a) |
| #define DBG | ( | a | ) |
| #define DBGERR | ( | a | ) |
Definition at line 422 of file BmnMath.cxx.
References CircleBy3Hit(), TVector3::X(), and TVector3::Y().
Referenced by BmnBeamTracking::CalculateTrackParams(), BmnCellAutoTracking::CalculateTrackParams(), BmnInnerTrackingRun7::CalculateTrackParams(), and SrcInnerTrackingRun7::CalculateTrackParams().
| TVector3 CircleBy3Hit | ( | BmnTrack * | track, |
| const TClonesArray * | arr ) |
Definition at line 470 of file BmnMath.cxx.
References TObjArray::At(), TMath::C(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), TMath::R(), and TMath::Sqrt().
Referenced by BmnBeamTracking::CalcQp(), BmnCellAutoTracking::CalcQp(), BmnInnerTrackingRun7::CalcQp(), SrcInnerTrackingRun7::CalcQp(), and CalcTx().
Definition at line 551 of file BmnMath.cxx.
References TMath::C(), TMath::R(), TMath::Sqrt(), and z0.
| TVector3 CircleFit | ( | BmnTrack * | track, |
| const TClonesArray * | arr, | ||
| Double_t & | chi2 ) |
Definition at line 312 of file BmnMath.cxx.
References TObjArray::At(), TMath::C(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, TMath::R(), TMath::Sq(), and TMath::Sqrt().
Referenced by BmnBeamTracking::CalcCovMatrix(), BmnCellAutoTracking::CalcCovMatrix(), BmnInnerTrackingRun7::CalcCovMatrix(), and SrcInnerTrackingRun7::CalcCovMatrix().
Definition at line 369 of file BmnMath.cxx.
References TMath::C(), i, TMath::R(), and TMath::Sqrt().
Definition at line 432 of file BmnMath.cxx.
References TMath::Sq(), and TMath::Sqrt().
Referenced by BmnPairFinder::FindV0ByVirtualPlanes(), BmnTwoParticleDecay::FindV0ByVirtualPlanes(), and RadLenAna().
Definition at line 869 of file BmnMath.cxx.
References TMath::Abs().
Referenced by BmnCalibrationTOF700(), BmnEfficiencyTOF700(), BmnIdentificationTOF700(), BmnMCEfficiencyTOF700(), BmnXTCalibrationTOF700(), BmnXTIdentificationTOF700(), BmnStsVectorFinderV9::BuildTriplets(), BmnCellAutoTracking::CalcQp(), BmnInnerTrackingRun7::CalcQp(), SrcInnerTrackingRun7::CalcQp(), L1Algo::CAMergeClones(), CbmStsDigitize::CrossSpacer(), BmnLambdaEmbeddingQa::DoInnerTrackerRecoEfficiency(), BmnKFPrimaryVertexFinder::EvalVertex(), CbmStsIdealMatchHits::Exec(), CbmStsMatchHits::Exec(), CbmStsRealMatchHits::Exec(), CbmStsMatchHits::ExecReal(), BmnRecoTools::FillSetStsHits(), BmnGlobalTracking::FindPairsTof(), BmnKFPrimaryVertexFinder::FindPca(), BmnParticle::FindPca(), SrcVertexFinder::FindVertexAnalitically(), SrcVertexFinder::FindVertexByVirtualPlanes(), BmnDchPoint::GetDistance(), BmnMwpcPoint::GetDistance(), GetVZByTwoStraightTracks(), GetVzByVectorStraightTracks(), GiveMeNumber(), nlohmann::detail::dtoa_impl::grisu2_digit_gen(), nlohmann::detail::dtoa_impl::grisu2_round(), CbmKF::Init(), BmnCSCModule::MakeCluster(), BmnGemStripModule::MakeCluster(), BmnSiBTModule::MakeCluster(), BmnSiliconModule::MakeCluster(), BmnSiProfModule::MakeCluster(), BmnVSPModule::MakeCluster(), BmnDchHit::SetDistanceToWire(), Sigma(), and W().
Definition at line 961 of file BmnMath.cxx.
References ANSI_COLOR_BLUE_BG, ANSI_COLOR_RED, ANSI_COLOR_RESET, ANSI_COLOR_YELLOW_BG, and i.
Definition at line 940 of file BmnMath.cxx.
References ANSI_COLOR_BLUE_BG, ANSI_COLOR_RED, ANSI_COLOR_RESET, ANSI_COLOR_YELLOW_BG, and i.
Referenced by BmnEmbedding::CloneSelected(), BmnEmbedding::Embed(), EmbEffView(), BmnProfAsic2Raw::ProcessDigits(), rescaleAmplitude(), rescaleAmplitudeCSC(), rescaleAmplitudeGem(), rescaleAmplitudeSi(), and BmnZdcBScanner::Scan().
| void DrawHits | ( | BmnTrack * | track, |
| const TClonesArray * | arr ) |
Definition at line 532 of file BmnMath.cxx.
References TObjArray::At(), TGraph::Draw(), TGraph::Fit(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, TCanvas::Update(), x, and z.
| void fit_seg | ( | Double_t * | z_loc, |
| Double_t * | rh_seg, | ||
| Double_t * | rh_sigm_seg, | ||
| Double_t * | par_ab, | ||
| Int_t | skip_first, | ||
| Int_t | skip_second ) |
Definition at line 589 of file BmnMath.cxx.
References TMath::Abs(), f, i, sqrt_2, and z_loc.
Referenced by BmnDchTrackFinder::FillPlaneResiduals(), and BmnDchTrackFinder::FitDchSegments().
Definition at line 979 of file BmnMath.cxx.
References dist(), BmnTrack::GetParamFirst(), TMath::Sq(), and TMath::Sqrt().
Definition at line 999 of file BmnMath.cxx.
References dist(), i, TMath::Sq(), and TMath::Sqrt().
Referenced by SrcVertexFinder::FindVertexAnalitically().
| Bool_t IsParCorrect | ( | const FairTrackParam * | par | ) |
Definition at line 64 of file BmnMath.cxx.
References BmnFieldMap::IsFieldOff(), and TMath::IsNaN().
Definition at line 59 of file BmnMath.cxx.
References IsParCorrect().
Referenced by BmnCellAutoTracking::CellsConnection(), BmnTwoParticleDecay::FindFirstPointOnMCTrack(), IsParCorrect(), BmnKalmanFilter::TGeoTrackPropagate(), BmnCellAutoTracking::TrackSelection(), BmnInnerTrackingRun7::TrackSelection(), and SrcInnerTrackingRun7::TrackSelection().
| TVector3 LineFit | ( | BmnTrack * | track, |
| const TClonesArray * | arr, | ||
| TString | type ) |
Definition at line 113 of file BmnMath.cxx.
References TObjArray::At(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, and TMath::Sq().
Referenced by BmnBeamTracking::CalcCovMatrix(), BmnCellAutoTracking::CalcCovMatrix(), BmnInnerTrackingRun7::CalcCovMatrix(), SrcInnerTrackingRun7::CalcCovMatrix(), BmnBeamTracking::CalcQp(), BmnCellAutoTracking::CalcQp(), BmnInnerTrackingRun7::CalcQp(), SrcInnerTrackingRun7::CalcQp(), BmnBeamTracking::CalculateTrackParams(), BmnCellAutoTracking::CalculateTrackParams(), BmnInnerTrackingRun7::CalculateTrackParams(), SrcInnerTrackingRun7::CalculateTrackParams(), BmnGemResiduals::ResidualsAndDistances(), BmnCellAutoTracking::TrackUpdateByLine(), BmnInnerTrackingRun7::TrackUpdateByLine(), and SrcInnerTrackingRun7::TrackUpdateByLine().
| void LineFit | ( | Double_t & | par1, |
| Double_t & | par2, | ||
| BmnTrack * | track, | ||
| TClonesArray * | arr, | ||
| Int_t | type, | ||
| Int_t | idSkip ) |
Definition at line 245 of file BmnMath.cxx.
References TObjArray::At(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), and i.
Definition at line 818 of file BmnMath.cxx.
References i.
Definition at line 209 of file BmnMath.cxx.
References TMath::Sq().
Definition at line 906 of file BmnMath.cxx.
Referenced by BmnCellAutoTracking::CalcQp(), BmnInnerTrackingRun7::CalcQp(), and SrcInnerTrackingRun7::CalcQp().
Definition at line 441 of file BmnMath.cxx.
References TMath::Abs(), and fabs().
Definition at line 96 of file BmnMath.cxx.
References f, ROOT::Math::BrentRootFinder::Root(), ROOT::Math::BrentRootFinder::SetFunction(), and ROOT::Math::BrentRootFinder::Solve().
| TVector3 Pol2By3Hit | ( | BmnTrack * | track, |
| const TClonesArray * | arr ) |
Definition at line 505 of file BmnMath.cxx.
References TObjArray::At(), TMath::C(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), and z0.
| void Pol2Fit | ( | BmnTrack * | track, |
| const TClonesArray * | arr, | ||
| Double_t & | A, | ||
| Double_t & | B, | ||
| Double_t & | C, | ||
| Int_t | idSkip ) |
Definition at line 781 of file BmnMath.cxx.
References TObjArray::At(), TMath::C(), TGraph::Fit(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, ROOT::Fit::FitResult::Parameter(), and TGraph::SetPoint().
Referenced by BmnGemResiduals::ResidualsAndDistances().
Definition at line 799 of file BmnMath.cxx.
References TMath::C(), TGraph::Fit(), i, ROOT::Fit::FitResult::Parameter(), and TGraph::SetPoint().
Definition at line 890 of file BmnMath.cxx.
References dist(), and TMath::Sqrt().
Referenced by FitHistogrammInFirstMaxPeak().
| void UpdateTrackParam | ( | FairTrackParam * | initPar, |
| const FairTrackParam * | detPar, | ||
| Double_t & | chiSq ) |
Definition at line 1048 of file BmnMath.cxx.
References TMatrixTSym< class Element >::Invert(), and TMatrixT< class Element >::Transpose().
Definition at line 878 of file BmnMath.cxx.
References TMath::C(), dist(), and TMath::Power().
Referenced by BmnCellAutoTracking::CalcQp(), BmnInnerTrackingRun7::CalcQp(), SrcInnerTrackingRun7::CalcQp(), L1Algo::CleanTriplets(), BmnTof2Raw2DigitNew::fillEqualization(), BmnTof2Raw2DigitNew::fillEvent(), BmnTof2Raw2DigitNew::fillPreparation(), BmnTof2Raw2DigitNew::fillSlewing(), BmnTof2Raw2DigitNew::fillSlewingT0(), CbmKFPixelMeasurement::Filter(), CbmKFUMeasurement::Filter(), L1Algo::FilterTracks(), CbmL1::Init(), and BmnGemStripMLPModel::PredictSplit().