CbmRoot
CbmLitConverterParallel.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITCONVERTERPARALLEL_H_
9 #define CBMLITCONVERTERPARALLEL_H_
10 
12 #include "parallel/LitScalTrack.h"
13 #include "parallel/LitTrackParam.h"
14 
15 class FairTrackParam;
16 class TClonesArray;
17 class CbmPixelHit;
18 class CbmTrack;
19 
21 public:
26 
30  virtual ~CbmLitConverterParallel();
31 
37  static void
38  FairTrackParamToLitTrackParamScal(const FairTrackParam* par,
40 
48  FairTrackParam* par);
49 
55  static void
58 
65  const TClonesArray* hits,
66  vector<lit::parallel::LitScalPixelHit*>& lhits);
67 
74  static void
75  CbmTrackToLitScalTrack(const CbmTrack* track,
76  const vector<lit::parallel::LitScalPixelHit*>& lhits,
78 
86  const TClonesArray* tracks,
87  const vector<lit::parallel::LitScalPixelHit*>& lhits,
88  vector<lit::parallel::LitScalTrack*>& ltracks);
89 
95  static void LitScalTrackToCbmTrack(const lit::parallel::LitScalTrack* ltrack,
96  CbmTrack* track);
97 
104  const vector<lit::parallel::LitScalTrack*>& ltracks,
105  TClonesArray* tracks);
106 
113  const vector<lit::parallel::LitScalTrack*>& ltracks,
114  TClonesArray* tracks);
115 };
116 
117 #endif /* CBMLITCONVERTERPARALLEL_H_ */
lit::parallel::LitScalPixelHit
Base class for scalar pixel hits.
Definition: LitScalPixelHit.h:31
CbmLitConverterParallel::~CbmLitConverterParallel
virtual ~CbmLitConverterParallel()
Destructor.
Definition: CbmLitConverterParallel.cxx:25
CbmLitConverterParallel::LitScalTrackToCbmTrack
static void LitScalTrackToCbmTrack(const lit::parallel::LitScalTrack *ltrack, CbmTrack *track)
Convert LitScalTrack to CbmTrack.
Definition: CbmLitConverterParallel.cxx:160
CbmLitConverterParallel::CbmLitConverterParallel
CbmLitConverterParallel()
Constructor.
Definition: CbmLitConverterParallel.cxx:23
LitTrackParam.h
Track parameters data class.
lit::parallel::LitScalTrack
Scalar track data class.
Definition: LitScalTrack.h:33
lit::parallel::LitTrackParam< fscal >
CbmTrack
Definition: CbmTrack.h:32
CbmLitConverterParallel
Definition: CbmLitConverterParallel.h:20
CbmLitConverterParallel::CbmTrackToLitScalTrack
static void CbmTrackToLitScalTrack(const CbmTrack *track, const vector< lit::parallel::LitScalPixelHit * > &lhits, lit::parallel::LitScalTrack *ltrack)
Convert CbmTrack to LitScalTrack.
Definition: CbmLitConverterParallel.cxx:118
CbmLitConverterParallel::FairTrackParamToLitTrackParamScal
static void FairTrackParamToLitTrackParamScal(const FairTrackParam *par, lit::parallel::LitTrackParamScal *lpar)
Convert FairTrackParam to LitTrackParamScal.
Definition: CbmLitConverterParallel.cxx:27
tracks
TClonesArray * tracks
Definition: Analyze_matching.h:17
CbmLitConverterParallel::LitScalTrackArrayToCbmMuchTrackArray
static void LitScalTrackArrayToCbmMuchTrackArray(const vector< lit::parallel::LitScalTrack * > &ltracks, TClonesArray *tracks)
Convert array of LitScalTrack to array of CbmTrack.
Definition: CbmLitConverterParallel.cxx:192
LitScalTrack.h
Scalar track data class.
CbmLitConverterParallel::LitScalTrackArrayToCbmTrdTrackArray
static void LitScalTrackArrayToCbmTrdTrackArray(const vector< lit::parallel::LitScalTrack * > &ltracks, TClonesArray *tracks)
Convert array of LitScalTrack to array of CbmTrack.
Definition: CbmLitConverterParallel.cxx:181
LitScalPixelHit.h
Base class for scalar pixel hits.
CbmLitConverterParallel::CbmPixelHitArrayToLitScalPixelHitArray
static void CbmPixelHitArrayToLitScalPixelHitArray(const TClonesArray *hits, vector< lit::parallel::LitScalPixelHit * > &lhits)
Convert CbmPixelHit array to LitScalPixelHit arra.
Definition: CbmLitConverterParallel.cxx:106
CbmLitConverterParallel::CbmPixelHitToLitScalPixelHit
static void CbmPixelHitToLitScalPixelHit(const CbmPixelHit *hit, lit::parallel::LitScalPixelHit *lhit)
Convert CbmPixelHit to LitScalPixelHit.
Definition: CbmLitConverterParallel.cxx:83
CbmLitConverterParallel::CbmTrackArrayToLitScalTrackArray
static void CbmTrackArrayToLitScalTrackArray(const TClonesArray *tracks, const vector< lit::parallel::LitScalPixelHit * > &lhits, vector< lit::parallel::LitScalTrack * > &ltracks)
Convert array of CbmTrack to array of LitScalTrack.
Definition: CbmLitConverterParallel.cxx:147
CbmLitConverterParallel::LitTrackParamScalToFairTrackParam
static void LitTrackParamScalToFairTrackParam(const lit::parallel::LitTrackParamScal *lpar, FairTrackParam *par)
Convert LitTrackParamScal to FairTrackParam.
Definition: CbmLitConverterParallel.cxx:55
hits
static vector< vector< QAHit > > hits
Definition: CbmTofHitFinderTBQA.cxx:114
CbmPixelHit
Definition: CbmPixelHit.h:21