|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnCellAutoTracking.h>
Public Member Functions | |
| BmnCellAutoTracking () | |
| BmnCellAutoTracking (Short_t period, Int_t run, Bool_t field, Bool_t target, TString steerFile="") | |
| virtual | ~BmnCellAutoTracking () |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *opt) |
| virtual void | Finish () |
| void | SetInnerTrackerSetup (map< DetectorId, Bool_t > setup) |
| void | SetDetectorPresence (DetectorId det, Bool_t use) |
Private Member Functions | |
| BmnStatus | CellsCreation (vector< BmnCellDuet > *cells) |
| BmnStatus | StateCalculation (vector< BmnCellDuet > *cells) |
| vector< BmnTrack > | CellsConnection (vector< BmnCellDuet > *cells) |
| BmnStatus | TrackUpdateByKalman (vector< BmnTrack > &cands) |
| BmnStatus | TrackUpdateByLine (vector< BmnTrack > &cands) |
| BmnStatus | SortTracks (vector< BmnTrack > &inTracks, vector< BmnTrack > &sortedTracks) |
| BmnStatus | TrackSelection (vector< BmnTrack > &cands) |
| Double_t | CalcQp (BmnTrack *track) |
| BmnStatus | CalculateTrackParams (BmnTrack *tr) |
| BmnStatus | CalcCovMatrix (BmnTrack *tr) |
| TVector2 | CalcMeanSigma (vector< Double_t >) |
| Double_t | CalculateLength (BmnTrack *tr) |
| BmnStatus | CheckSharedHits (vector< BmnTrack > &sortedTracks) |
| void | SetHitsUsing (BmnTrack *tr, Bool_t use) |
| BmnStatus | DrawHits () |
Definition at line 35 of file BmnCellAutoTracking.h.
|
inline |
Definition at line 40 of file BmnCellAutoTracking.h.
| BmnCellAutoTracking::BmnCellAutoTracking | ( | Short_t | period, |
| Int_t | run, | ||
| Bool_t | field, | ||
| Bool_t | target, | ||
| TString | steerFile = "" ) |
Definition at line 39 of file BmnCellAutoTracking.cxx.
References fCellDiffSlopeXZCut, fCellDiffSlopeYZCut, fCellDistCut, fCellSlopeXZCutMax, fCellSlopeXZCutMin, fCellSlopeYZCutMax, fCellSlopeYZCutMin, fEventNo, fField, fGemDetector, fGemHitsArray, fGemHitsBranchName, fGemTracksArray, fGemTracksBranchName, fGlobTracksArray, fGlobTracksBranchName, fHitsArray, fHitXCutMax, fHitXCutMin, fHitYCutMax, fHitYCutMin, fInnerTrackerSetup, fIsField, fIsTarget, fKalman, fNHitsCut, fNSiliconStations, fNStations, fPeriodId, fRoughVertex, fSilDetector, fSilHitsArray, fSilHitsBranchName, fSilTracksArray, fSilTracksBranchName, fSsdHitsArray, fSsdHitsBranchName, fSsdTracksArray, fSsdTracksBranchName, fSteerFile, fSteering, isSRC, kCellsCut, kGEM, kSILICON, and kSSD.
|
virtual |
Definition at line 117 of file BmnCellAutoTracking.cxx.
References fCellDiffSlopeXZCut, fCellDiffSlopeYZCut, fCellDistCut, fCellSlopeXZCutMax, fCellSlopeXZCutMin, fCellSlopeYZCutMax, fCellSlopeYZCutMin, fGemDetector, fHitXCutMax, fHitXCutMin, fHitYCutMax, fHitYCutMin, fInnerTrackerSetup, fKalman, fSilDetector, kGEM, and kSILICON.
Definition at line 761 of file BmnCellAutoTracking.cxx.
References TMath::Abs(), CircleFit(), fField, fHitsArray, BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, kBMNSUCCESS, LineFit(), BmnTrack::SetParamFirst(), BmnTrack::SetParamLast(), TMath::Sq(), TMath::Sqrt(), TVector3::X(), and TVector3::Y().
Referenced by CalculateTrackParams().
Definition at line 896 of file BmnCellAutoTracking.cxx.
References TMath::Sq(), and TMath::Sqrt().
Referenced by CalcQp().
Definition at line 911 of file BmnCellAutoTracking.cxx.
References TMath::Abs(), CalcMeanSigma(), CircleBy3Hit(), d, dist(), fField, fHitsArray, BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, kBMNERROR, LineFit(), Mu(), TMath::R(), TMath::Sigma(), TMath::Sq(), TMath::Sqrt(), W(), TVector2::X(), TVector3::X(), TVector2::Y(), TVector3::Y(), and TVector3::Z().
Referenced by CalculateTrackParams().
Definition at line 1024 of file BmnCellAutoTracking.cxx.
References fHitsArray, BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, BmnTrack::SetLength(), and TMath::Sqrt().
Referenced by TrackSelection().
Definition at line 861 of file BmnCellAutoTracking.cxx.
References CalcCovMatrix(), CalcQp(), CalcTx(), fHitsArray, fIsField, fNHitsCut, BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), BmnTrack::GetParamFirst(), BmnTrack::GetParamLast(), kBMNERROR, kBMNSUCCESS, LineFit(), BmnTrack::SetNDF(), and TVector3::X().
Referenced by CellsConnection().
|
private |
Definition at line 525 of file BmnCellAutoTracking.cxx.
References TMath::Abs(), BmnTrack::AddHit(), CalculateTrackParams(), fCellDiffSlopeXZCut, fCellDiffSlopeYZCut, fHitsArray, fIsField, fNStations, BmnCellDuet::GetFirstIdx(), BmnCellDuet::GetLastIdx(), BmnTrack::GetParamFirst(), BmnTrack::GetParamLast(), BmnCellDuet::GetSlopeXZ(), BmnCellDuet::GetSlopeYZ(), i, IsParCorrect(), kBMNERROR, kCellsCut, and BmnTrack::SortHits().
Referenced by Exec().
|
private |
Definition at line 407 of file BmnCellAutoTracking.cxx.
References fCellSlopeXZCutMax, fCellSlopeXZCutMin, fCellSlopeYZCutMax, fCellSlopeYZCutMin, fHitsArray, fHitXCutMax, fHitXCutMin, fHitYCutMax, fHitYCutMin, fNStations, fRoughVertex, BmnHit::GetStation(), BmnHit::IsUsed(), kBMNSUCCESS, BmnCellDuet::SetFirstIdx(), BmnCellDuet::SetLastIdx(), BmnCellDuet::SetNewState(), BmnCellDuet::SetOldState(), BmnCellDuet::SetSlopeXZ(), BmnCellDuet::SetSlopeYZ(), BmnCellDuet::SetStartPlane(), BmnCellDuet::SetUsing(), and z0.
Referenced by Exec().
Definition at line 1050 of file BmnCellAutoTracking.cxx.
References BmnTrack::GetFlag(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), kBMNSUCCESS, and BmnTrack::SetFlag().
Referenced by TrackSelection().
|
private |
Definition at line 1082 of file BmnCellAutoTracking.cxx.
References TCanvas::cd(), TPad::Divide(), TH1::Draw(), TObject::Draw(), fGemDetector, fGemHitsArray, fGemPointsArray, fGemTracksArray, fGlobTracksArray, fHitsArray, TH2::Fill(), fInnerTrackerSetup, fMCTracksArray, fNSiliconStations, fSilDetector, fSilHitsArray, fSilPointsArray, fSilTracksArray, fSsdHitsArray, fSsdTracksArray, BmnGlobalTrack::GetGemTrackIndex(), BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmMCTrack::GetStartZ(), i, kBMNSUCCESS, kGEM, kSILICON, TPad::SaveAs(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), x, y, z, and z0.
|
virtual |
Definition at line 233 of file BmnCellAutoTracking.cxx.
References CellsConnection(), CellsCreation(), connectTime, createTime, fCellDiffSlopeXZCut, fCellDiffSlopeYZCut, fCellSlopeXZCutMax, fCellSlopeXZCutMin, fCellSlopeYZCutMax, fCellSlopeYZCutMin, fChiSquareCut, fEventNo, fGemHitsArray, fGemTracksArray, fGlobTracksArray, fHitsArray, fHitXCutMax, fHitXCutMin, fHitYCutMax, fHitYCutMin, fInnerTrackerSetup, fIsField, fNHitsCut, fNStations, fSilDetector, fSilHitsArray, fSilTracksArray, fSsdHitsArray, fSsdTracksArray, fSteering, BmnHit::GetStation(), isSRC, kGEM, kSILICON, kSSD, selectTime, BmnHit::SetDetId(), BmnHit::SetIndex(), BmnHit::SetStation(), sortTime, SortTracks(), stateTime, TrackSelection(), TrackUpdateByKalman(), TrackUpdateByLine(), and workTime.
|
virtual |
Definition at line 392 of file BmnCellAutoTracking.cxx.
References connectTime, createTime, selectTime, sortTime, stateTime, and workTime.
|
virtual |
Definition at line 137 of file BmnCellAutoTracking.cxx.
References fCellDiffSlopeXZCut, fCellDiffSlopeYZCut, fCellDistCut, fCellSlopeXZCutMax, fCellSlopeXZCutMin, fCellSlopeYZCutMax, fCellSlopeYZCutMin, fField, fGemDetector, fGemHitsArray, fGemHitsBranchName, fGemPointsArray, fGemTracksArray, fGemTracksBranchName, fGlobTracksArray, fGlobTracksBranchName, fHitsArray, fHitXCutMax, fHitXCutMin, fHitYCutMax, fHitYCutMin, fInnerTrackerSetup, fMCTracksArray, fNStations, fPeriodId, fSilDetector, fSilHitsArray, fSilHitsBranchName, fSilPointsArray, fSilTracksArray, fSilTracksBranchName, fSsdHitsArray, fSsdHitsBranchName, fSsdPointsArray, fSsdTracksArray, fSsdTracksBranchName, isSRC, kGEM, kSILICON, and kSSD.
|
inline |
Definition at line 50 of file BmnCellAutoTracking.h.
References fInnerTrackerSetup, and use.
Definition at line 752 of file BmnCellAutoTracking.cxx.
References fHitsArray, BmnTrack::GetHitIndex(), BmnTrack::GetNHits(), i, BmnHit::SetUsing(), and use.
Referenced by TrackSelection().
|
inline |
Definition at line 48 of file BmnCellAutoTracking.h.
References fInnerTrackerSetup.
|
private |
Definition at line 362 of file BmnCellAutoTracking.cxx.
References fChiSquareCut, fNHitsCut, fNStations, i, kBMNSUCCESS, and n.
Referenced by Exec().
|
private |
Definition at line 487 of file BmnCellAutoTracking.cxx.
References fNStations, and kBMNSUCCESS.
Definition at line 691 of file BmnCellAutoTracking.cxx.
References BmnTrack::AddHit(), CalculateLength(), CheckSharedHits(), fGemTracksArray, fGlobTracksArray, fHitsArray, fInnerTrackerSetup, fIsField, fIsTarget, fSilTracksArray, fSsdTracksArray, BmnTrack::GetChi2(), BmnHit::GetDetId(), BmnTrack::GetFlag(), BmnTrack::GetHitIndex(), BmnHit::GetIndex(), BmnTrack::GetNDF(), BmnTrack::GetNHits(), BmnTrack::GetParamFirst(), BmnTrack::GetParamLast(), IsParCorrect(), kBMNSUCCESS, kGEM, kSILICON, kSSD, BmnTrack::SetChi2(), BmnGlobalTrack::SetGemTrackIndex(), SetHitsUsing(), BmnTrack::SetLength(), BmnTrack::SetNDF(), BmnTrack::SetNHits(), BmnTrack::SetParamFirst(), BmnTrack::SetParamLast(), and BmnTrack::SortHits().
Referenced by Exec().
Definition at line 622 of file BmnCellAutoTracking.cxx.
References fHitsArray, fIsField, fKalman, and kBMNSUCCESS.
Referenced by Exec().
Definition at line 602 of file BmnCellAutoTracking.cxx.
References fHitsArray, BmnTrack::GetParamFirst(), BmnTrack::GetParamLast(), kBMNSUCCESS, LineFit(), BmnTrack::SetChi2(), TVector3::X(), and TVector3::Z().
Referenced by Exec().
|
private |
Definition at line 121 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsConnection(), Exec(), and Init().
|
private |
Definition at line 120 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsConnection(), Exec(), and Init().
|
private |
Definition at line 110 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), and Init().
|
private |
Definition at line 116 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 115 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 118 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 117 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 109 of file BmnCellAutoTracking.h.
Referenced by Exec(), and SortTracks().
|
private |
Definition at line 100 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Exec().
|
private |
Definition at line 107 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), CalcCovMatrix(), CalcQp(), and Init().
|
private |
Definition at line 70 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), DrawHits(), and Init().
|
private |
Definition at line 86 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), and Init().
|
private |
Definition at line 72 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 92 of file BmnCellAutoTracking.h.
Referenced by DrawHits(), and Init().
|
private |
Definition at line 82 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), Init(), and TrackSelection().
|
private |
Definition at line 76 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 80 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), Init(), and TrackSelection().
|
private |
Definition at line 75 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 87 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), CalcCovMatrix(), CalcQp(), CalculateLength(), CalculateTrackParams(), CellsConnection(), CellsCreation(), DrawHits(), Exec(), Init(), SetHitsUsing(), TrackSelection(), TrackUpdateByKalman(), and TrackUpdateByLine().
|
private |
Definition at line 112 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 111 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 114 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 113 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), CellsCreation(), Exec(), and Init().
|
private |
Definition at line 98 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), DrawHits(), Exec(), Init(), SetDetectorPresence(), SetInnerTrackerSetup(), and TrackSelection().
|
private |
Definition at line 96 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), CalculateTrackParams(), CellsConnection(), Exec(), TrackSelection(), and TrackUpdateByKalman().
|
private |
Definition at line 97 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and TrackSelection().
|
private |
Definition at line 94 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), and TrackUpdateByKalman().
|
private |
Definition at line 89 of file BmnCellAutoTracking.h.
Referenced by DrawHits(), and Init().
|
private |
Definition at line 122 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), CalculateTrackParams(), Exec(), and SortTracks().
|
private |
Definition at line 103 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and DrawHits().
|
private |
Definition at line 102 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), CellsConnection(), CellsCreation(), Exec(), Init(), SortTracks(), and StateCalculation().
|
private |
Definition at line 101 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 105 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and CellsCreation().
|
private |
Definition at line 71 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), ~BmnCellAutoTracking(), DrawHits(), Exec(), and Init().
|
private |
Definition at line 84 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), and Init().
|
private |
Definition at line 73 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 90 of file BmnCellAutoTracking.h.
Referenced by DrawHits(), and Init().
|
private |
Definition at line 81 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), Init(), and TrackSelection().
|
private |
Definition at line 77 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 85 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), and Init().
|
private |
Definition at line 74 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 91 of file BmnCellAutoTracking.h.
Referenced by Init().
|
private |
Definition at line 83 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), DrawHits(), Exec(), Init(), and TrackSelection().
|
private |
Definition at line 78 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Init().
|
private |
Definition at line 124 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking().
|
private |
Definition at line 125 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and Exec().
|
private |
Definition at line 127 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), Exec(), and Init().
|
private |
Definition at line 129 of file BmnCellAutoTracking.h.
Referenced by BmnCellAutoTracking(), and CellsConnection().