CbmRoot
|
#include <CbmTofTrackFinderNN.h>
Public Member Functions | |
CbmTofTrackFinderNN () | |
Constructor. More... | |
virtual | ~CbmTofTrackFinderNN () |
Destructor. More... | |
void | Init () |
Inherited from CbmTofTrackFinder. More... | |
Int_t | DoFind (TClonesArray *fTofHits, TClonesArray *fTofTracks) |
void | TrklSeed (Int_t iHit) |
Int_t | HitUsed (Int_t iHit) |
void | UpdateTrackList (Int_t iTrk) |
void | UpdateTrackList (CbmTofTracklet *pTrk) |
void | SetFitter (CbmTofTrackFitter *Fitter) |
void | SetMaxTofTimeDifference (Double_t val) |
void | SetTxLIM (Double_t val) |
void | SetTyLIM (Double_t val) |
void | SetTxMean (Double_t val) |
void | SetTyMean (Double_t val) |
void | SetSIGLIM (Double_t val) |
void | SetChiMaxAccept (Double_t val) |
void | SetPosYMaxScal (Double_t val) |
Double_t | GetTxLIM () |
Double_t | GetTyLIM () |
Double_t | GetTxMean () |
Double_t | GetTyMean () |
Double_t | GetSIGLIM () |
Double_t | GetChiMaxAccept () |
Bool_t | Active (CbmTofTracklet *pTrk) |
void | PrintStatus (char *cComm) |
CbmTofTrackFinderNN (const CbmTofTrackFinderNN &finder) | |
CbmTofTrackFinderNN & | operator= (const CbmTofTrackFinderNN &fSource) |
virtual void | SetSIGT (Double_t) |
virtual void | SetSIGX (Double_t) |
virtual void | SetSIGY (Double_t) |
ClassDef (CbmTofTrackFinder, 1) | |
Static Public Member Functions | |
static void | Line3Dfit (CbmTofTracklet *pTrk) |
Private Member Functions | |
ClassDef (CbmTofTrackFinderNN, 1) | |
Private Attributes | |
TClonesArray * | fHits |
TClonesArray * | fOutTracks |
Int_t | fiNtrks |
CbmTofTrackFitter * | fFitter |
CbmTofFindTracks * | fFindTracks |
CbmTofDigiPar * | fDigiPar |
Double_t | fMaxTofTimeDifference |
Double_t | fTxLIM |
Double_t | fTyLIM |
Double_t | fTxMean |
Double_t | fTyMean |
Double_t | fSIGLIM |
Double_t | fChiMaxAccept |
Double_t | fPosYMaxScal |
std::vector< CbmTofTracklet * > | fTracks |
std::vector< std::vector< CbmTofTracklet * > > | fvTrkVec |
Static Private Attributes | |
static LKFMinuit | fMinuit |
Definition at line 20 of file CbmTofTrackFinderNN.h.
CbmTofTrackFinderNN::CbmTofTrackFinderNN | ( | ) |
Constructor.
Definition at line 51 of file CbmTofTrackFinderNN.cxx.
|
virtual |
Destructor.
Definition at line 69 of file CbmTofTrackFinderNN.cxx.
CbmTofTrackFinderNN::CbmTofTrackFinderNN | ( | const CbmTofTrackFinderNN & | finder | ) |
Definition at line 72 of file CbmTofTrackFinderNN.cxx.
Bool_t CbmTofTrackFinderNN::Active | ( | CbmTofTracklet * | pTrk | ) |
Definition at line 1180 of file CbmTofTrackFinderNN.cxx.
References fTracks.
Referenced by UpdateTrackList().
|
inherited |
|
private |
|
virtual |
Abstract method DoFind. To be implemented in the concrete class. Task: Read the hit array and fill the track array, pointers to which are given as arguments
hitArray | Array of TOF hits |
trackArray | Array of CbmTofTrack |
@value Number of tracks created
Implements CbmTofTrackFinder.
Definition at line 129 of file CbmTofTrackFinderNN.cxx.
References CbmTofTracklet::AddTofHitIndex(), DetMask, CbmTofTracklet::Dist3D(), fChiMaxAccept, fDigiPar, fFindTracks, fHits, fiNtrks, fMaxTofTimeDifference, fOutTracks, fPosYMaxScal, fSIGLIM, fTofTracks, fTracks, fTxLIM, fTxMean, fTyLIM, fTyMean, fvTrkVec, CbmHit::GetAddress(), CbmTofFindTracks::GetAddrOfStation(), CbmTofFindTracks::GetBeamCounter(), CbmTofDigiPar::GetCell(), CbmTofAddress::GetChannelId(), CbmTofTracklet::GetChiSq(), CbmTofHit::GetFlag(), CbmTofTracklet::GetHitIndex(), CbmTofTracklet::GetMatChi2(), CbmTofFindTracks::GetMinNofHits(), CbmTofTracklet::GetNDF(), CbmTofTracklet::GetNofHits(), CbmTofFindTracks::GetNofStations(), CbmTofFindTracks::GetNStations(), CbmTofHit::GetR(), CbmTofFindTracks::GetSigT(), CbmTofFindTracks::GetSigX(), CbmTofFindTracks::GetSigY(), CbmTofCell::GetSizey(), CbmTofTracklet::GetStationHitIndex(), CbmTofTracklet::GetT0(), CbmTofTracklet::GetTex(), CbmHit::GetTime(), CbmTofTracklet::GetTime(), CbmTofTracklet::GetTofHitIndex(), CbmTofTracklet::GetTrackParameter(), CbmTofTracklet::GetTt(), CbmTofFindTracks::GetTtTarg(), CbmTofTrackletParam::GetTx(), CbmTofTrackletParam::GetTy(), CbmTofAddress::GetUniqueAddress(), CbmTofCell::GetX(), CbmTofTrackletParam::GetX(), CbmPixelHit::GetX(), CbmTofCell::GetY(), CbmTofTrackletParam::GetY(), CbmPixelHit::GetY(), CbmTofCell::GetZ(), CbmTofTrackletParam::GetZ(), CbmHit::GetZ(), HitUsed(), Line3Dfit(), CbmTofTracklet::PrintInfo(), PrintStatus(), CbmTofTracklet::RemoveTofHitIndex(), CbmTofTracklet::ReplaceTofHitIndex(), CbmTofHit::SetFlag(), CbmTofTrackletParam::SetLz(), CbmTofFindTracks::SetStation(), CbmHit::SetTime(), CbmTofTracklet::SetTime(), CbmTofTracklet::SetTofHitIndex(), CbmTofTracklet::SetTt(), CbmTofTrackletParam::SetTx(), CbmTofTrackletParam::SetTy(), CbmTofTrackletParam::SetX(), CbmTofTrackletParam::SetY(), CbmTofTrackletParam::SetZ(), CbmTofTrackletParam::ToString(), CbmTofTracklet::UpdateT0(), and UpdateTrackList().
|
inline |
Definition at line 69 of file CbmTofTrackFinderNN.h.
References fChiMaxAccept.
|
inline |
Definition at line 68 of file CbmTofTrackFinderNN.h.
References fSIGLIM.
|
inline |
Definition at line 64 of file CbmTofTrackFinderNN.h.
References fTxLIM.
|
inline |
Definition at line 66 of file CbmTofTrackFinderNN.h.
References fTxMean.
|
inline |
Definition at line 65 of file CbmTofTrackFinderNN.h.
References fTyLIM.
|
inline |
Definition at line 67 of file CbmTofTrackFinderNN.h.
References fTyMean.
Int_t CbmTofTrackFinderNN::HitUsed | ( | Int_t | iHit | ) |
Definition at line 916 of file CbmTofTrackFinderNN.cxx.
References fvTrkVec.
Referenced by DoFind(), and TrklSeed().
|
virtual |
Inherited from CbmTofTrackFinder.
Reimplemented from CbmTofTrackFinder.
Definition at line 104 of file CbmTofTrackFinderNN.cxx.
References fDigiPar, fFindTracks, fFitter, fMaxTofTimeDifference, fMinuit, LKFMinuit::Initialize(), and CbmTofFindTracks::Instance().
|
static |
Definition at line 1189 of file CbmTofTrackFinderNN.cxx.
References LKFMinuit::DoFit(), fMinuit, LKFMinuit::GetChi2DoF(), CbmTofTracklet::GetFitX(), CbmTofTracklet::GetFitY(), CbmTofTracklet::GetNofHits(), LKFMinuit::GetParFit(), CbmTofTracklet::GetTofHitIndex(), CbmTofTracklet::GetTofHitPointer(), CbmTofTracklet::GetTrackParameter(), gr, CbmTofTracklet::SetChiSq(), x, and y.
Referenced by DoFind(), and CbmTofAnaTestbeam::FillHistos().
CbmTofTrackFinderNN & CbmTofTrackFinderNN::operator= | ( | const CbmTofTrackFinderNN & | fSource | ) |
Definition at line 97 of file CbmTofTrackFinderNN.cxx.
void CbmTofTrackFinderNN::PrintStatus | ( | char * | cComm | ) |
Definition at line 1137 of file CbmTofTrackFinderNN.cxx.
References DetMask, fFindTracks, fHits, fiNtrks, fTracks, fvTrkVec, CbmHit::GetAddress(), CbmTofTracklet::GetChiSq(), CbmTofTracklet::GetHitIndex(), CbmTofTracklet::GetNofHits(), CbmTofFindTracks::GetStationOfAddr(), CbmHit::GetTime(), and CbmTofTracklet::GetTt().
Referenced by DoFind(), TrklSeed(), and UpdateTrackList().
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 61 of file CbmTofTrackFinderNN.h.
References fChiMaxAccept.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 52 of file CbmTofTrackFinderNN.h.
References fFitter.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 53 of file CbmTofTrackFinderNN.h.
References fMaxTofTimeDifference.
|
inline |
Definition at line 62 of file CbmTofTrackFinderNN.h.
References fPosYMaxScal.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 60 of file CbmTofTrackFinderNN.h.
References fSIGLIM.
|
inlinevirtualinherited |
Definition at line 51 of file CbmTofTrackFinder.h.
|
inlinevirtualinherited |
Definition at line 52 of file CbmTofTrackFinder.h.
|
inlinevirtualinherited |
Definition at line 53 of file CbmTofTrackFinder.h.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 56 of file CbmTofTrackFinderNN.h.
References fTxLIM.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 58 of file CbmTofTrackFinderNN.h.
References fTxMean.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 57 of file CbmTofTrackFinderNN.h.
References fTyLIM.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 59 of file CbmTofTrackFinderNN.h.
References fTyMean.
void CbmTofTrackFinderNN::TrklSeed | ( | Int_t | iHit | ) |
Definition at line 808 of file CbmTofTrackFinderNN.cxx.
References CbmTofTracklet::AddTofHitIndex(), DetMask, fDigiPar, fFindTracks, fHits, fiNtrks, fMaxTofTimeDifference, fPosYMaxScal, fTracks, fTxLIM, fTxMean, fTyLIM, fTyMean, fvTrkVec, CbmHit::GetAddress(), CbmTofFindTracks::GetAddrOfStation(), CbmTofDigiPar::GetCell(), CbmTofAddress::GetChannelId(), CbmTofFindTracks::GetNofStations(), CbmTofHit::GetR(), CbmTofCell::GetSizey(), CbmTofFindTracks::GetStationOfAddr(), CbmHit::GetTime(), CbmTofTracklet::GetTrackParameter(), CbmTofCell::GetX(), CbmPixelHit::GetX(), CbmTofCell::GetY(), CbmPixelHit::GetY(), CbmTofCell::GetZ(), CbmHit::GetZ(), HitUsed(), PrintStatus(), CbmTofTrackletParam::SetLz(), CbmTofTracklet::SetTime(), CbmTofTracklet::SetTofHitIndex(), CbmTofTracklet::SetTt(), CbmTofTrackletParam::SetTx(), CbmTofTrackletParam::SetTy(), CbmTofTrackletParam::SetX(), CbmTofTrackletParam::SetY(), CbmTofTrackletParam::SetZ(), and CbmTofTracklet::UpdateT0().
void CbmTofTrackFinderNN::UpdateTrackList | ( | CbmTofTracklet * | pTrk | ) |
Definition at line 941 of file CbmTofTrackFinderNN.cxx.
References Active(), DetMask, fFindTracks, fiNtrks, fTracks, fvTrkVec, CbmHit::GetAddress(), CbmTofFindTracks::GetBeamCounter(), CbmTofFindTracks::GetEventNumber(), CbmTofTracklet::GetHitIndex(), CbmTofTracklet::GetNofHits(), CbmTofTracklet::GetTofHitPointer(), and PrintStatus().
void CbmTofTrackFinderNN::UpdateTrackList | ( | Int_t | iTrk | ) |
|
private |
Definition at line 94 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetChiMaxAccept(), and SetChiMaxAccept().
|
private |
Definition at line 87 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), Init(), and TrklSeed().
|
private |
Definition at line 86 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), Init(), PrintStatus(), TrklSeed(), and UpdateTrackList().
|
private |
Definition at line 85 of file CbmTofTrackFinderNN.h.
Referenced by Init(), and SetFitter().
|
private |
Definition at line 82 of file CbmTofTrackFinderNN.h.
Referenced by CbmTofTrackFinderNN(), DoFind(), PrintStatus(), and TrklSeed().
|
private |
Definition at line 84 of file CbmTofTrackFinderNN.h.
Referenced by CbmTofTrackFinderNN(), DoFind(), PrintStatus(), TrklSeed(), and UpdateTrackList().
|
private |
Definition at line 88 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), Init(), SetMaxTofTimeDifference(), and TrklSeed().
|
staticprivate |
Definition at line 96 of file CbmTofTrackFinderNN.h.
Referenced by Init(), and Line3Dfit().
|
private |
Definition at line 83 of file CbmTofTrackFinderNN.h.
Referenced by DoFind().
|
private |
Definition at line 95 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), SetPosYMaxScal(), and TrklSeed().
|
private |
Definition at line 93 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetSIGLIM(), and SetSIGLIM().
|
private |
Definition at line 99 of file CbmTofTrackFinderNN.h.
Referenced by Active(), CbmTofTrackFinderNN(), DoFind(), PrintStatus(), TrklSeed(), and UpdateTrackList().
|
private |
Definition at line 89 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTxLIM(), SetTxLIM(), and TrklSeed().
|
private |
Definition at line 91 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTxMean(), SetTxMean(), and TrklSeed().
|
private |
Definition at line 90 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTyLIM(), SetTyLIM(), and TrklSeed().
|
private |
Definition at line 92 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTyMean(), SetTyMean(), and TrklSeed().
|
private |
Definition at line 102 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), HitUsed(), PrintStatus(), TrklSeed(), and UpdateTrackList().