CbmRoot
|
#include <CbmTofTrackFinderNN.h>
Public Member Functions | |
CbmTofTrackFinderNN () | |
Constructor. | |
virtual | ~CbmTofTrackFinderNN () |
Destructor. | |
void | Init () |
Inherited from CbmTofTrackFinder. | |
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 | 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 | SetSIGLIMMOD (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 | GetSIGLIMMOD () |
Double_t | GetChiMaxAccept () |
Bool_t | Active (CbmTofTracklet *pTrk) |
void | PrintStatus (char *cComm) |
void | AddVertex () |
void | SetAddVertex (int ival) |
void | SetVtxNbTrksMin (int ival) |
CbmTofTrackFinderNN (const CbmTofTrackFinderNN &finder) | |
CbmTofTrackFinderNN & | operator= (const CbmTofTrackFinderNN &fSource) |
virtual void | SetFitter (CbmTofTrackFitter *) |
virtual void | SetSIGT (Double_t) |
virtual void | SetSIGX (Double_t) |
virtual void | SetSIGY (Double_t) |
virtual void | SetAddVertex (Int_t) |
virtual void | SetVtxNbTrksMin (Int_t) |
ClassDef (CbmTofTrackFinder, 1) | |
Static Public Member Functions | |
static void | Line3Dfit (CbmTofTracklet *pTrk) |
static void | Line3Dfit (CbmTofTracklet *pTrk, Int_t iAddr) |
Private Member Functions | |
ClassDef (CbmTofTrackFinderNN, 1) | |
Private Attributes | |
TClonesArray * | fHits |
TClonesArray * | fOutTracks |
Int_t | fiNtrks |
CbmTofFindTracks * | fFindTracks |
CbmTofDigiPar * | fDigiPar |
Double_t | fMaxTofTimeDifference |
Double_t | fTxLIM |
Double_t | fTyLIM |
Double_t | fTxMean |
Double_t | fTyMean |
Double_t | fSIGLIM |
Double_t | fSIGLIMMOD |
Double_t | fChiMaxAccept |
Double_t | fPosYMaxScal |
std::vector< CbmTofTracklet * > | fTracks |
std::vector< std::vector< CbmTofTracklet * > > | fvTrkVec |
int | fiAddVertex |
int | fiVtxNbTrksMin |
Static Private Attributes | |
static LKFMinuit | fMinuit |
Definition at line 23 of file CbmTofTrackFinderNN.h.
CbmTofTrackFinderNN::CbmTofTrackFinderNN | ( | ) |
Constructor.
Definition at line 58 of file CbmTofTrackFinderNN.cxx.
|
virtual |
Destructor.
Definition at line 78 of file CbmTofTrackFinderNN.cxx.
CbmTofTrackFinderNN::CbmTofTrackFinderNN | ( | const CbmTofTrackFinderNN & | finder | ) |
Definition at line 81 of file CbmTofTrackFinderNN.cxx.
Bool_t CbmTofTrackFinderNN::Active | ( | CbmTofTracklet * | pTrk | ) |
Definition at line 955 of file CbmTofTrackFinderNN.cxx.
References fTracks.
Referenced by UpdateTrackList().
void CbmTofTrackFinderNN::AddVertex | ( | ) |
Definition at line 1021 of file CbmTofTrackFinderNN.cxx.
References CbmTofTracklet::AddTofHitIndex(), fChiMaxAccept, fFindTracks, fHits, fiAddVertex, fiVtxNbTrksMin, fTracks, fvTrkVec, CbmTofTracklet::GetChiSq(), CbmTofTracklet::GetFitX(), CbmTofTracklet::GetFitY(), CbmTofTracklet::GetR0(), CbmTofFindTracks::GetR0Lim(), CbmTofAddress::GetRpcId(), CbmTofAddress::GetSmId(), CbmTofAddress::GetSmType(), CbmTofTracklet::GetT0(), CbmTofTracklet::GetTt(), CbmTofAddress::GetUniqueAddress(), Line3Dfit(), PrintStatus(), CbmTofTracklet::RemoveTofHitIndex(), and CbmHit::SetTimeError().
Referenced by DoFind().
|
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 137 of file CbmTofTrackFinderNN.cxx.
References CbmTofTracklet::AddTofHitIndex(), AddVertex(), DetMask, CbmTofTracklet::Dist3D(), fChiMaxAccept, fDigiPar, fFindTracks, fHits, fiAddVertex, fiNtrks, fMaxTofTimeDifference, fOutTracks, fPosYMaxScal, fSIGLIM, fSIGLIMMOD, 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::GetNReqStations(), CbmTofFindTracks::GetNStations(), CbmTofHit::GetR(), CbmTofTracklet::GetR0(), CbmTofFindTracks::GetR0Lim(), CbmTofCell::GetSizey(), CbmTofTracklet::GetStationHitIndex(), CbmTofFindTracks::GetStationSigT(), CbmTofFindTracks::GetStationSigX(), CbmTofFindTracks::GetStationSigY(), CbmTofTracklet::GetT0(), CbmTofTracklet::GetTex(), CbmHit::GetTime(), CbmTofTracklet::GetTime(), CbmTofTracklet::GetTofHitIndex(), CbmTofTracklet::GetTrackParameter(), CbmTofTracklet::GetTt(), CbmTofFindTracks::GetTtTarg(), CbmTofTrackletParam::GetTx(), CbmTofTrackletParam::GetTy(), CbmPixelHit::GetX(), CbmTofCell::GetX(), CbmTofTrackletParam::GetX(), CbmPixelHit::GetY(), CbmTofCell::GetY(), CbmTofTrackletParam::GetY(), CbmHit::GetZ(), CbmTofCell::GetZ(), CbmTofTrackletParam::GetZ(), HitUsed(), Line3Dfit(), CbmTofTracklet::PrintInfo(), CbmTofFindTracks::PrintSetup(), PrintStatus(), CbmTofTracklet::RemoveTofHitIndex(), CbmTofTracklet::ReplaceTofHitIndex(), CbmTofHit::SetFlag(), CbmTofTrackletParam::SetLz(), 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 71 of file CbmTofTrackFinderNN.h.
References fChiMaxAccept.
|
inline |
Definition at line 69 of file CbmTofTrackFinderNN.h.
References fSIGLIM.
|
inline |
Definition at line 70 of file CbmTofTrackFinderNN.h.
References fSIGLIMMOD.
|
inline |
Definition at line 65 of file CbmTofTrackFinderNN.h.
References fTxLIM.
|
inline |
Definition at line 67 of file CbmTofTrackFinderNN.h.
References fTxMean.
|
inline |
Definition at line 66 of file CbmTofTrackFinderNN.h.
References fTyLIM.
|
inline |
Definition at line 68 of file CbmTofTrackFinderNN.h.
References fTyMean.
Int_t CbmTofTrackFinderNN::HitUsed | ( | Int_t | iHit | ) |
Definition at line 726 of file CbmTofTrackFinderNN.cxx.
References fvTrkVec, and size().
Referenced by DoFind(), and TrklSeed().
|
virtual |
Inherited from CbmTofTrackFinder.
Reimplemented from CbmTofTrackFinder.
Definition at line 116 of file CbmTofTrackFinderNN.cxx.
References fDigiPar, fFindTracks, fiAddVertex, fMaxTofTimeDifference, fMinuit, LKFMinuit::Initialize(), and CbmTofFindTracks::Instance().
|
static |
Definition at line 965 of file CbmTofTrackFinderNN.cxx.
References Line3Dfit().
Referenced by AddVertex(), DoFind(), CbmTofAnaTestbeam::FillHistos(), and Line3Dfit().
|
static |
Definition at line 971 of file CbmTofTrackFinderNN.cxx.
References DetMask, 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.
CbmTofTrackFinderNN & CbmTofTrackFinderNN::operator= | ( | const CbmTofTrackFinderNN & | fSource | ) |
Definition at line 108 of file CbmTofTrackFinderNN.cxx.
void CbmTofTrackFinderNN::PrintStatus | ( | char * | cComm | ) |
Definition at line 915 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 AddVertex(), DoFind(), TrklSeed(), and UpdateTrackList().
|
inlinevirtualinherited |
Definition at line 59 of file CbmTofTrackFinder.h.
|
inline |
Definition at line 79 of file CbmTofTrackFinderNN.h.
References fiAddVertex.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 62 of file CbmTofTrackFinderNN.h.
References fChiMaxAccept.
|
inlinevirtualinherited |
Definition at line 47 of file CbmTofTrackFinder.h.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 55 of file CbmTofTrackFinderNN.h.
References fMaxTofTimeDifference.
|
inline |
Definition at line 63 of file CbmTofTrackFinderNN.h.
References fPosYMaxScal.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 60 of file CbmTofTrackFinderNN.h.
References fSIGLIM.
|
inlinevirtual |
Reimplemented from CbmTofTrackFinder.
Definition at line 61 of file CbmTofTrackFinderNN.h.
References fSIGLIMMOD.
|
inlinevirtualinherited |
Definition at line 56 of file CbmTofTrackFinder.h.
|
inlinevirtualinherited |
Definition at line 57 of file CbmTofTrackFinder.h.
|
inlinevirtualinherited |
Definition at line 58 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.
|
inlinevirtualinherited |
Definition at line 60 of file CbmTofTrackFinder.h.
|
inline |
Definition at line 80 of file CbmTofTrackFinderNN.h.
References fiVtxNbTrksMin.
void CbmTofTrackFinderNN::TrklSeed | ( | Int_t | iHit | ) |
Definition at line 638 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(), CbmPixelHit::GetX(), CbmTofCell::GetX(), CbmPixelHit::GetY(), CbmTofCell::GetY(), CbmHit::GetZ(), CbmTofCell::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 752 of file CbmTofTrackFinderNN.cxx.
References Active(), DetMask, fFindTracks, fiNtrks, fTracks, fvTrkVec, CbmHit::GetAddress(), CbmTofFindTracks::GetBeamCounter(), CbmTofFindTracks::GetEventNumber(), CbmTofTracklet::GetHitIndex(), CbmTofTracklet::GetNofHits(), CbmTofTracklet::GetTofHitPointer(), PrintStatus(), and size().
void CbmTofTrackFinderNN::UpdateTrackList | ( | Int_t | iTrk | ) |
Definition at line 746 of file CbmTofTrackFinderNN.cxx.
References fTracks, and UpdateTrackList().
Referenced by DoFind(), and UpdateTrackList().
|
private |
Definition at line 100 of file CbmTofTrackFinderNN.h.
Referenced by AddVertex(), DoFind(), GetChiMaxAccept(), and SetChiMaxAccept().
|
private |
Definition at line 92 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), Init(), and TrklSeed().
|
private |
Definition at line 91 of file CbmTofTrackFinderNN.h.
Referenced by AddVertex(), DoFind(), Init(), PrintStatus(), TrklSeed(), and UpdateTrackList().
|
private |
Definition at line 88 of file CbmTofTrackFinderNN.h.
Referenced by AddVertex(), CbmTofTrackFinderNN(), DoFind(), PrintStatus(), and TrklSeed().
|
private |
Definition at line 108 of file CbmTofTrackFinderNN.h.
Referenced by AddVertex(), DoFind(), Init(), and SetAddVertex().
|
private |
Definition at line 90 of file CbmTofTrackFinderNN.h.
Referenced by CbmTofTrackFinderNN(), DoFind(), PrintStatus(), TrklSeed(), and UpdateTrackList().
|
private |
Definition at line 109 of file CbmTofTrackFinderNN.h.
Referenced by AddVertex(), and SetVtxNbTrksMin().
|
private |
Definition at line 93 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), Init(), SetMaxTofTimeDifference(), and TrklSeed().
|
staticprivate |
Definition at line 102 of file CbmTofTrackFinderNN.h.
Referenced by Init(), and Line3Dfit().
|
private |
Definition at line 89 of file CbmTofTrackFinderNN.h.
Referenced by DoFind().
|
private |
Definition at line 101 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), SetPosYMaxScal(), and TrklSeed().
|
private |
Definition at line 98 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetSIGLIM(), and SetSIGLIM().
|
private |
Definition at line 99 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetSIGLIMMOD(), and SetSIGLIMMOD().
|
private |
Definition at line 105 of file CbmTofTrackFinderNN.h.
Referenced by Active(), AddVertex(), CbmTofTrackFinderNN(), DoFind(), PrintStatus(), TrklSeed(), UpdateTrackList(), and UpdateTrackList().
|
private |
Definition at line 94 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTxLIM(), SetTxLIM(), and TrklSeed().
|
private |
Definition at line 96 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTxMean(), SetTxMean(), and TrklSeed().
|
private |
Definition at line 95 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTyLIM(), SetTyLIM(), and TrklSeed().
|
private |
Definition at line 97 of file CbmTofTrackFinderNN.h.
Referenced by DoFind(), GetTyMean(), SetTyMean(), and TrklSeed().
|
private |
Definition at line 107 of file CbmTofTrackFinderNN.h.
Referenced by AddVertex(), DoFind(), HitUsed(), PrintStatus(), TrklSeed(), and UpdateTrackList().