CbmRoot
|
#include <CbmMuchMergeVectors.h>
Public Member Functions | |
CbmMuchMergeVectors () | |
virtual | ~CbmMuchMergeVectors () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | Finish () |
virtual void | SetParContainers () |
Int_t | GetNofTracks () |
Int_t | GetNofStat () const |
void | PassAbsorber (Int_t ist, Double_t *zabs, Double_t x0, FairTrackParam &parFirst, TMatrixFSym &cov, Int_t pFlag=0) |
Private Member Functions | |
void | GetVectors () |
void | MatchVectors () |
void | MergeVectors () |
void | AddTrack (Int_t ista0, CbmMuchTrack *tr1, CbmMuchTrack *tr2, Int_t indx1, Int_t indx2, FairTrackParam &parOk, Double_t c2) |
void | RemoveClones (Int_t ibeg, Int_t iabs, std::map< Int_t, CbmMuchTrack * > &mapMerged) |
void | SelectTracks () |
void | AddStation1 () |
void | AddTrack1 (Int_t ista0, CbmMuchTrack *tr1, CbmMuchTrack *tr2, Int_t indx1, Int_t indx2, FairTrackParam &parOk, Double_t c2) |
CbmMuchMergeVectors (const CbmMuchMergeVectors &) | |
CbmMuchMergeVectors & | operator= (const CbmMuchMergeVectors &) |
Private Attributes | |
CbmMuchGeoScheme * | fGeoScheme |
TClonesArray * | fTrackArray |
Int_t | fNofTracks |
TClonesArray * | fHits |
TClonesArray * | fGemHits |
TClonesArray * | fPoints |
TClonesArray * | fDigiMatches |
TClonesArray * | fVecArray |
TClonesArray * | fTracksSts |
TClonesArray * | fTrStsMatch |
TClonesArray * | fTracksLit |
Int_t | fNstat |
Int_t | fNdoubl |
Int_t | fStatFirst |
std::map< Int_t, CbmMuchTrack * > | fVectors [fgkStat] |
Double_t | fDz [fgkPlanes] |
Double_t | fCosa [fgkPlanes] |
Double_t | fSina [fgkPlanes] |
Double_t | fCutChi2 [9] |
Double_t | fZ0 [9] |
Double_t | fRmin [9] |
Double_t | fRmax [9] |
std::map< Int_t, TMatrixDSym * > | fMatr |
Double_t | fZabs0 [9][2] |
Double_t | fX0abs [9] |
Static Private Attributes | |
static const Int_t | fgkPlanes = 8 |
static const Int_t | fgkStat |
Definition at line 23 of file CbmMuchMergeVectors.h.
CbmMuchMergeVectors::CbmMuchMergeVectors | ( | ) |
Default constructor
Definition at line 42 of file CbmMuchMergeVectors.cxx.
|
virtual |
Destructor
Definition at line 66 of file CbmMuchMergeVectors.cxx.
References fMatr, and fTrackArray.
|
private |
|
private |
Definition at line 1015 of file CbmMuchMergeVectors.cxx.
References fCutChi2, fTrackArray, fVecArray, fVectors, fZabs0, CbmTrack::GetParamFirst(), and CbmTrack::SetParamFirst().
|
private |
Definition at line 741 of file CbmMuchMergeVectors.cxx.
References CbmTrack::AddHit(), fTrackArray, CbmTrack::GetChiSq(), CbmTrack::GetFlag(), CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), CbmTrack::GetPreviousTrackId(), kHIT, kMUCHSTRAWHIT, CbmTrack::SetChiSq(), CbmTrack::SetFlag(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), and CbmTrack::SetPreviousTrackId().
Referenced by MergeVectors().
|
private |
Definition at line 1134 of file CbmMuchMergeVectors.cxx.
References CbmTrack::AddHit(), fTrackArray, CbmTrack::GetChiSq(), CbmTrack::GetFlag(), CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), kMUCHSTRAWHIT, CbmTrack::SetChiSq(), CbmTrack::SetFlag(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), and CbmTrack::SetPreviousTrackId().
|
virtual |
Task execution
Definition at line 157 of file CbmMuchMergeVectors.cxx.
References fTrackArray, GetVectors(), MatchVectors(), MergeVectors(), and SelectTracks().
|
virtual |
Finish at the end
Definition at line 186 of file CbmMuchMergeVectors.cxx.
References fMatr, and fTrackArray.
|
inline |
Definition at line 45 of file CbmMuchMergeVectors.h.
References fgkStat.
|
inline |
|
private |
!! For debug - select hits with certain track IDs
Definition at line 196 of file CbmMuchMergeVectors.cxx.
References CbmKFTrackInterface::Extrapolate(), fgkStat, fRmax, fTracksSts, fTrStsMatch, fVecArray, fVectors, fX0abs, fZabs0, CbmLink::GetIndex(), CbmTrack::GetMatch(), CbmMatch::GetMatchedLink(), CbmStsTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmKFTrack::GetTrackParam(), i, PassAbsorber(), CbmTrack::SetFlag(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), and CbmTrack::SetPreviousTrackId().
Referenced by Exec().
|
virtual |
Initialisation
Definition at line 76 of file CbmMuchMergeVectors.cxx.
References fCosa, fDz, fGemHits, fGeoScheme, fgkPlanes, fNdoubl, fPoints, fRmax, fRmin, fSina, fStatFirst, fTrackArray, fTracksLit, fTracksSts, fTrStsMatch, fVecArray, fX0abs, fZ0, fZabs0, CbmMuchFindVectorsGem::GetAbsorbers(), CbmMuchStation::GetDetectorId(), CbmMuchModule::GetDetectorType(), CbmMuchStation::GetLayer(), CbmMuchGeoScheme::GetModule(), CbmMuchStation::GetNLayers(), CbmMuchGeoScheme::GetNStations(), CbmMuchStation::GetRmax(), CbmMuchStation::GetRmin(), CbmMuchLayer::GetSide(), CbmMuchGeoScheme::GetStation(), CbmMuchAddress::GetStationIndex(), CbmMuchLayerSide::GetZ(), and i.
|
private |
Definition at line 328 of file CbmMuchMergeVectors.cxx.
References fCutChi2, fgkStat, fVectors, fX0abs, fZabs0, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), PassAbsorber(), and CbmTrack::SetParamLast().
Referenced by Exec().
|
private |
Definition at line 473 of file CbmMuchMergeVectors.cxx.
References AddTrack(), fCutChi2, fTrackArray, fVectors, fX0abs, fZabs0, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), PassAbsorber(), RemoveClones(), and CbmTrack::SetParamLast().
Referenced by Exec().
|
private |
void CbmMuchMergeVectors::PassAbsorber | ( | Int_t | ist, |
Double_t * | zabs, | ||
Double_t | x0, | ||
FairTrackParam & | parFirst, | ||
TMatrixFSym & | cov, | ||
Int_t | pFlag = 0 |
||
) |
Definition at line 658 of file CbmMuchMergeVectors.cxx.
Referenced by GetVectors(), MatchVectors(), CbmMuchFindVectorsGem::MatchVectors(), CbmMuchFindVectors::MatchVectors(), and MergeVectors().
|
private |
Definition at line 808 of file CbmMuchMergeVectors.cxx.
References fTrackArray, fVecArray, CbmTrack::GetChiSq(), CbmTrack::GetFlag(), CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), CbmTrack::GetParamFirst(), CbmTrack::GetPreviousTrackId(), and CbmTrack::SetPreviousTrackId().
Referenced by MergeVectors().
|
private |
Definition at line 895 of file CbmMuchMergeVectors.cxx.
References fGemHits, fHits, fStatFirst, fTrackArray, fVecArray, CbmTrack::GetChiSq(), CbmTrack::GetFlag(), CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), CbmHit::GetPlaneId(), hits, i, and kHIT.
Referenced by Exec().
|
virtual |
SetParContainers
Definition at line 153 of file CbmMuchMergeVectors.cxx.
|
private |
Definition at line 79 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 81 of file CbmMuchMergeVectors.h.
Referenced by AddStation1(), CbmMuchMergeVectors(), MatchVectors(), and MergeVectors().
|
private |
Definition at line 67 of file CbmMuchMergeVectors.h.
|
private |
Definition at line 78 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 65 of file CbmMuchMergeVectors.h.
Referenced by Init(), and SelectTracks().
|
private |
Definition at line 61 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
staticprivate |
Definition at line 56 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
staticprivate |
Definition at line 57 of file CbmMuchMergeVectors.h.
Referenced by GetNofStat(), GetVectors(), and MatchVectors().
|
private |
Definition at line 64 of file CbmMuchMergeVectors.h.
Referenced by SelectTracks().
|
private |
Definition at line 86 of file CbmMuchMergeVectors.h.
Referenced by Finish(), and ~CbmMuchMergeVectors().
|
private |
Definition at line 74 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 63 of file CbmMuchMergeVectors.h.
Referenced by GetNofTracks().
|
private |
Definition at line 73 of file CbmMuchMergeVectors.h.
|
private |
Definition at line 66 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 84 of file CbmMuchMergeVectors.h.
Referenced by GetVectors(), and Init().
|
private |
Definition at line 83 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 80 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 75 of file CbmMuchMergeVectors.h.
Referenced by Init(), and SelectTracks().
|
private |
Definition at line 62 of file CbmMuchMergeVectors.h.
Referenced by AddStation1(), AddTrack(), AddTrack1(), Exec(), Finish(), Init(), MergeVectors(), RemoveClones(), SelectTracks(), and ~CbmMuchMergeVectors().
|
private |
Definition at line 71 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 69 of file CbmMuchMergeVectors.h.
Referenced by GetVectors(), and Init().
|
private |
Definition at line 70 of file CbmMuchMergeVectors.h.
Referenced by GetVectors(), and Init().
|
private |
Definition at line 68 of file CbmMuchMergeVectors.h.
Referenced by AddStation1(), GetVectors(), Init(), RemoveClones(), and SelectTracks().
|
private |
Definition at line 77 of file CbmMuchMergeVectors.h.
Referenced by AddStation1(), GetVectors(), MatchVectors(), and MergeVectors().
|
private |
Definition at line 88 of file CbmMuchMergeVectors.h.
Referenced by GetVectors(), Init(), MatchVectors(), and MergeVectors().
|
private |
Definition at line 82 of file CbmMuchMergeVectors.h.
Referenced by Init().
|
private |
Definition at line 87 of file CbmMuchMergeVectors.h.
Referenced by AddStation1(), GetVectors(), Init(), MatchVectors(), and MergeVectors().