|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnVertexFinder.h>
Public Member Functions | |
| BmnVertexFinder () | |
| BmnVertexFinder (Int_t period) | |
| virtual | ~BmnVertexFinder () |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *opt) |
| virtual void | Finish () |
| BmnVertex | FindPrimaryVertex (TClonesArray *tracks) |
| BmnVertex | FindSecondaryVertex (TClonesArray *tracks) |
| Float_t | FindVZByVirtualPlanes (Float_t z_0, Float_t range, TClonesArray *tracks, Int_t flag) |
| BmnVertexFinder () | |
| BmnVertexFinder (Int_t period) | |
| virtual | ~BmnVertexFinder () |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *opt) |
| virtual void | Finish () |
| BmnVertex | FindPrimaryVertex (TClonesArray *tracks) |
| BmnVertex | FindSecondaryVertex (TClonesArray *tracks) |
| Float_t | FindVZByVirtualPlanes (Float_t z_0, Float_t range, TClonesArray *tracks, Int_t flag) |
Private Member Functions | |
| Double_t | CalcRms2D (vector< Double_t > x, vector< Double_t > y) |
| Double_t | CalcMeanDist (vector< Double_t > x, vector< Double_t > y) |
| Double_t | CalcRms2D (vector< Double_t > x, vector< Double_t > y) |
| Double_t | CalcMeanDist (vector< Double_t > x, vector< Double_t > y) |
Definition at line 21 of file BmnVertexFinder.h.
|
inline |
Definition at line 25 of file BmnVertexFinder.h.
Referenced by CalcMeanDist().
| BmnVertexFinder::BmnVertexFinder | ( | Int_t | period | ) |
Definition at line 12 of file BmnVertexFinder.cxx.
References fEventNo, fGlobalTracksArray, fGlobalTracksBranchName, fPeriodId, fRobustRefit, and fVertexBranchName.
|
virtual |
Definition at line 22 of file BmnVertexFinder.cxx.
References fKalman.
|
inline |
Definition at line 25 of file BmnVertexFinder.h.
| BmnVertexFinder::BmnVertexFinder | ( | Int_t | period | ) |
|
virtual |
Definition at line 322 of file BmnVertexFinder.cxx.
References i, TMath::Sq(), TMath::Sqrt(), x, and y.
Referenced by FindVZByVirtualPlanes().
References BmnVertexFinder(), fEventNo, fField, fGlobalTracksArray, fGlobalTracksBranchName, fKalman, fPeriodId, fRobustRefit, fTime, fVertexArray, fVertexBranchName, x, and y.
Definition at line 302 of file BmnVertexFinder.cxx.
References TMath::Sq(), TMath::Sqrt(), x, and y.
Referenced by FindPrimaryVertex(), and FindSecondaryVertex().
|
virtual |
Definition at line 56 of file BmnVertexFinder.cxx.
References fEventNo, fGlobalTracksArray, FindPrimaryVertex(), FindSecondaryVertex(), fTime, fVertexArray, TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().
|
virtual |
| BmnVertex BmnVertexFinder::FindPrimaryVertex | ( | TClonesArray * | tracks | ) |
Definition at line 81 of file BmnVertexFinder.cxx.
References TMath::Abs(), TObjArray::At(), CalcRms2D(), FindVZByVirtualPlanes(), fKalman, fPeriodId, TObjArray::GetEntriesFast(), BmnTrack::GetFlag(), BmnTrack::GetParamFirst(), kBMNERROR, TMath::Mean(), and BmnTrack::SetFlag().
Referenced by Exec().
| BmnVertex BmnVertexFinder::FindPrimaryVertex | ( | TClonesArray * | tracks | ) |
| BmnVertex BmnVertexFinder::FindSecondaryVertex | ( | TClonesArray * | tracks | ) |
Definition at line 146 of file BmnVertexFinder.cxx.
References TObjArray::At(), CalcRms2D(), FindVZByVirtualPlanes(), fKalman, fPeriodId, TObjArray::GetEntriesFast(), BmnTrack::GetFlag(), BmnTrack::GetParamFirst(), kBMNERROR, and TMath::Mean().
Referenced by Exec().
| BmnVertex BmnVertexFinder::FindSecondaryVertex | ( | TClonesArray * | tracks | ) |
| Float_t BmnVertexFinder::FindVZByVirtualPlanes | ( | Float_t | z_0, |
| Float_t | range, | ||
| TClonesArray * | tracks, | ||
| Int_t | flag ) |
Definition at line 190 of file BmnVertexFinder.cxx.
References TObjArray::At(), CalcMeanDist(), TGraph::Fit(), fKalman, TObjArray::GetEntriesFast(), BmnTrack::GetFlag(), BmnTrack::GetParamFirst(), kBMNERROR, nPlanes, ROOT::Fit::FitResult::Parameter(), BmnTrack::SetFlag(), zMax, and zMin.
Referenced by FindPrimaryVertex(), and FindSecondaryVertex().
| Float_t BmnVertexFinder::FindVZByVirtualPlanes | ( | Float_t | z_0, |
| Float_t | range, | ||
| TClonesArray * | tracks, | ||
| Int_t | flag ) |
|
virtual |
Definition at line 293 of file BmnVertexFinder.cxx.
References fTime.
|
virtual |
|
virtual |
Definition at line 27 of file BmnVertexFinder.cxx.
References fGlobalTracksArray, fGlobalTracksBranchName, fKalman, fVertexArray, and fVertexBranchName.
|
virtual |
|
private |
Definition at line 45 of file BmnVertexFinder.h.
Referenced by BmnVertexFinder(), CalcMeanDist(), and Exec().
|
private |
Definition at line 54 of file BmnVertexFinder.h.
Referenced by CalcMeanDist().
|
private |
Definition at line 48 of file BmnVertexFinder.h.
Referenced by BmnVertexFinder(), CalcMeanDist(), Exec(), and Init().
|
private |
Definition at line 42 of file BmnVertexFinder.h.
Referenced by BmnVertexFinder(), CalcMeanDist(), and Init().
|
private |
Definition at line 55 of file BmnVertexFinder.h.
Referenced by ~BmnVertexFinder(), CalcMeanDist(), FindPrimaryVertex(), FindSecondaryVertex(), FindVZByVirtualPlanes(), and Init().
|
private |
Definition at line 46 of file BmnVertexFinder.h.
Referenced by BmnVertexFinder(), CalcMeanDist(), FindPrimaryVertex(), and FindSecondaryVertex().
|
private |
Definition at line 53 of file BmnVertexFinder.h.
Referenced by BmnVertexFinder(), and CalcMeanDist().
|
private |
Definition at line 51 of file BmnVertexFinder.h.
Referenced by CalcMeanDist(), Exec(), and Finish().
|
private |
Definition at line 49 of file BmnVertexFinder.h.
Referenced by CalcMeanDist(), Exec(), and Init().
|
private |
Definition at line 43 of file BmnVertexFinder.h.
Referenced by BmnVertexFinder(), CalcMeanDist(), and Init().