CbmRoot
|
#include <CbmLitConverterParallel.h>
Public Member Functions | |
CbmLitConverterParallel () | |
Constructor. More... | |
virtual | ~CbmLitConverterParallel () |
Destructor. More... | |
Static Public Member Functions | |
static void | FairTrackParamToLitTrackParamScal (const FairTrackParam *par, lit::parallel::LitTrackParamScal *lpar) |
Convert FairTrackParam to LitTrackParamScal. More... | |
static void | LitTrackParamScalToFairTrackParam (const lit::parallel::LitTrackParamScal *lpar, FairTrackParam *par) |
Convert LitTrackParamScal to FairTrackParam. More... | |
static void | CbmPixelHitToLitScalPixelHit (const CbmPixelHit *hit, lit::parallel::LitScalPixelHit *lhit) |
Convert CbmPixelHit to LitScalPixelHit. More... | |
static void | CbmPixelHitArrayToLitScalPixelHitArray (const TClonesArray *hits, vector< lit::parallel::LitScalPixelHit * > &lhits) |
Convert CbmPixelHit array to LitScalPixelHit arra. More... | |
static void | CbmTrackToLitScalTrack (const CbmTrack *track, const vector< lit::parallel::LitScalPixelHit * > &lhits, lit::parallel::LitScalTrack *ltrack) |
Convert CbmTrack to LitScalTrack. More... | |
static void | CbmTrackArrayToLitScalTrackArray (const TClonesArray *tracks, const vector< lit::parallel::LitScalPixelHit * > &lhits, vector< lit::parallel::LitScalTrack * > <racks) |
Convert array of CbmTrack to array of LitScalTrack. More... | |
static void | LitScalTrackToCbmTrack (const lit::parallel::LitScalTrack *ltrack, CbmTrack *track) |
Convert LitScalTrack to CbmTrack. More... | |
static void | LitScalTrackArrayToCbmTrdTrackArray (const vector< lit::parallel::LitScalTrack * > <racks, TClonesArray *tracks) |
Convert array of LitScalTrack to array of CbmTrack. More... | |
static void | LitScalTrackArrayToCbmMuchTrackArray (const vector< lit::parallel::LitScalTrack * > <racks, TClonesArray *tracks) |
Convert array of LitScalTrack to array of CbmTrack. More... | |
Definition at line 20 of file CbmLitConverterParallel.h.
CbmLitConverterParallel::CbmLitConverterParallel | ( | ) |
Constructor.
Definition at line 23 of file CbmLitConverterParallel.cxx.
|
virtual |
Destructor.
Definition at line 25 of file CbmLitConverterParallel.cxx.
|
static |
Convert CbmPixelHit array to LitScalPixelHit arra.
[in] | hits | Pointer to TClonesArray of CbmPixelHit. |
[out] | lhits | Pointer to vector of LitScalPixelHit. |
Definition at line 106 of file CbmLitConverterParallel.cxx.
References CbmPixelHitToLitScalPixelHit(), and hits.
Referenced by CbmLitFitTracksParallel::DoFit(), and CbmLitFindGlobalTracksParallel::DoTracking().
|
static |
Convert CbmPixelHit to LitScalPixelHit.
[in] | hit | Pointer to CbmPixelHit. |
[out] | lhit | Pointer to LitScalPixelHit. |
Definition at line 83 of file CbmLitConverterParallel.cxx.
References lit::parallel::LitScalPixelHit::Dx, lit::parallel::LitScalPixelHit::Dxy, lit::parallel::LitScalPixelHit::Dy, CbmPixelHit::GetDx(), CbmPixelHit::GetDxy(), CbmPixelHit::GetDy(), CbmHit::GetPlaneId(), CbmHit::GetRefId(), CbmHit::GetType(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), kMUCHPIXELHIT, kTOFHIT, kTRDHIT, lit::parallel::LitScalPixelHit::refId, lit::parallel::LitScalPixelHit::stationId, lit::parallel::LitScalPixelHit::X, lit::parallel::LitScalPixelHit::Y, and lit::parallel::LitScalPixelHit::Z.
Referenced by CbmPixelHitArrayToLitScalPixelHitArray().
|
static |
Convert array of CbmTrack to array of LitScalTrack.
[in] | tracks | TClonesArray of CbmTrack. |
[in] | lhits | Vector of LitScalPixelHit pointers. |
[out] | ltracks | Vector of LitScalTrack. |
Definition at line 147 of file CbmLitConverterParallel.cxx.
References CbmTrackToLitScalTrack(), and tracks.
Referenced by CbmLitFitTracksParallel::DoFit().
|
static |
Convert CbmTrack to LitScalTrack.
[in] | track | Pointer to CbmTrack. |
[in] | lhits | Vector of LitScalPixelHit pointers. |
[out] | ltrack | Pointer to LitScalTrack. |
Definition at line 118 of file CbmLitConverterParallel.cxx.
References lit::parallel::LitScalTrack::AddHit(), FairTrackParamToLitTrackParamScal(), CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmTrack::GetPreviousTrackId(), lit::parallel::LitScalTrack::IsGood(), kMUCHPIXELHIT, kPIXELHIT, kTRDHIT, lit::parallel::LitScalTrack::SetChiSq(), lit::parallel::LitScalTrack::SetNDF(), lit::parallel::LitScalTrack::SetNofMissingHits(), lit::parallel::LitScalTrack::SetParamFirst(), and lit::parallel::LitScalTrack::SetPreviousTrackId().
Referenced by CbmTrackArrayToLitScalTrackArray().
|
static |
Convert FairTrackParam to LitTrackParamScal.
[in] | par | Pointer to FairTrackParam. |
[out] | lpar | Pointer to LitTrackParamScal. |
Definition at line 27 of file CbmLitConverterParallel.cxx.
References lit::parallel::LitTrackParam< T >::C0, lit::parallel::LitTrackParam< T >::C1, lit::parallel::LitTrackParam< T >::C10, lit::parallel::LitTrackParam< T >::C11, lit::parallel::LitTrackParam< T >::C12, lit::parallel::LitTrackParam< T >::C13, lit::parallel::LitTrackParam< T >::C14, lit::parallel::LitTrackParam< T >::C2, lit::parallel::LitTrackParam< T >::C3, lit::parallel::LitTrackParam< T >::C4, lit::parallel::LitTrackParam< T >::C5, lit::parallel::LitTrackParam< T >::C6, lit::parallel::LitTrackParam< T >::C7, lit::parallel::LitTrackParam< T >::C8, lit::parallel::LitTrackParam< T >::C9, lit::parallel::LitTrackParam< T >::Qp, lit::parallel::LitTrackParam< T >::Tx, lit::parallel::LitTrackParam< T >::Ty, lit::parallel::LitTrackParam< T >::X, lit::parallel::LitTrackParam< T >::Y, and lit::parallel::LitTrackParam< T >::Z.
Referenced by CbmTrackToLitScalTrack(), CbmLitFitTracksParallel::DoFit(), and CbmLitFindGlobalTracksParallel::DoTracking().
|
static |
Convert array of LitScalTrack to array of CbmTrack.
[in] | ltracks | Vector of LitScalTrack. |
[out] | tracks | TClonesArray of CbmTrack. |
Definition at line 192 of file CbmLitConverterParallel.cxx.
References LitScalTrackToCbmTrack().
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
static |
Convert array of LitScalTrack to array of CbmTrack.
[in] | ltracks | Vector of LitScalTrack. |
[out] | tracks | TClonesArray of CbmTrack. |
Definition at line 181 of file CbmLitConverterParallel.cxx.
References LitScalTrackToCbmTrack().
Referenced by CbmLitFindGlobalTracksParallel::DoTracking().
|
static |
Convert LitScalTrack to CbmTrack.
[in] | ltrack | Pointer to LitScalTrack. |
[out] | track | Pointer to CbmTrack. |
Definition at line 160 of file CbmLitConverterParallel.cxx.
References CbmTrack::AddHit(), lit::parallel::LitScalTrack::GetChiSq(), lit::parallel::LitScalTrack::GetHit(), lit::parallel::LitScalTrack::GetNDF(), lit::parallel::LitScalTrack::GetNofHits(), lit::parallel::LitScalTrack::GetParamFirst(), lit::parallel::LitScalTrack::GetParamLast(), lit::parallel::LitScalTrack::GetPreviousTrackId(), kTRDHIT, LitTrackParamScalToFairTrackParam(), lit::parallel::LitScalPixelHit::refId, CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), and CbmTrack::SetPreviousTrackId().
Referenced by LitScalTrackArrayToCbmMuchTrackArray(), and LitScalTrackArrayToCbmTrdTrackArray().
|
static |
Convert LitTrackParamScal to FairTrackParam.
[in] | lpar | Pointer to LitTrackParamScal. |
[out] | par | Pointer to FairTrackParam. |
Definition at line 55 of file CbmLitConverterParallel.cxx.
References lit::parallel::LitTrackParam< T >::C0, lit::parallel::LitTrackParam< T >::C1, lit::parallel::LitTrackParam< T >::C10, lit::parallel::LitTrackParam< T >::C11, lit::parallel::LitTrackParam< T >::C12, lit::parallel::LitTrackParam< T >::C13, lit::parallel::LitTrackParam< T >::C14, lit::parallel::LitTrackParam< T >::C2, lit::parallel::LitTrackParam< T >::C3, lit::parallel::LitTrackParam< T >::C4, lit::parallel::LitTrackParam< T >::C5, lit::parallel::LitTrackParam< T >::C6, lit::parallel::LitTrackParam< T >::C7, lit::parallel::LitTrackParam< T >::C8, lit::parallel::LitTrackParam< T >::C9, lit::parallel::LitTrackParam< T >::Qp, lit::parallel::LitTrackParam< T >::Tx, lit::parallel::LitTrackParam< T >::Ty, lit::parallel::LitTrackParam< T >::X, lit::parallel::LitTrackParam< T >::Y, and lit::parallel::LitTrackParam< T >::Z.
Referenced by CbmLitFitTracksParallel::DoFit(), and LitScalTrackToCbmTrack().