1 #ifndef __StiCATpcTrackerInterface_h__
2 #define __StiCATpcTrackerInterface_h__
3 #include "StiCATpcSeedFinder.h"
4 #define __NEW_TPCCATracker__
5 #ifdef __NEW_TPCCATracker__
6 #include "TPCCATracker/AliHLTTPCCAGBTracker.h"
8 #include "TPCCATracker/AliHLTTPCCAGBTracker.h"
10 #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE
11 #ifdef __NEW_TPCCATracker__
12 #include "TPCCATrackerPerformance/AliHLTTPCCAPerformance.h"
13 #include "TPCCATrackerPerformance/AliHLTTPCCAMCTrack.h"
15 #include "TPCCATracker/Performance/AliHLTTPCCAPerformance.h"
16 #include "TPCCATracker/Performance/AliHLTTPCCAMCTrack.h"
20 #include "Sti/StiTrackContainer.h"
35 void SetHits(HitMapToVectorAndEndType &map_){ fHitsMap = &map_; };
39 vector<Seed_t> &GetSeeds(){
return fSeeds; };
41 void RunPerformance();
43 vector<SeedHit_t> GetSeedHits() {
return fSeedHits;}
49 virtual void MakeHits();
51 #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE
52 void FillPerformance(
const vector<AliHLTTPCCAGBHit>& hits,
const vector<int>& idTruth, vector<AliHLTTPCCAMCTrack>& mcTracks, vector<AliHLTTPCCALocalMCPoint>& mcPoints, vector<AliHLTTPCCAHitLabel>& hitLabels);
56 HitMapToVectorAndEndType *fHitsMap;
57 vector<Seed_t> fSeeds;
63 #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE
64 vector<AliHLTTPCCAMCTrack> fMCTracks;
65 vector<AliHLTTPCCALocalMCPoint> fMCPoints;
66 vector<AliHLTTPCCAHitLabel> fHitLabels;
67 AliHLTTPCCAPerformance *fPerformance;
72 vector<AliHLTTPCCAParam> fCaParam;
73 vector<AliHLTTPCCAGBHit> fCaHits;
74 vector<SeedHit_t> fSeedHits;
77 void FillStiPerformance();
82 vector<AliHLTTPCCAGBHit> fStiCaHits;
83 vector<int> fStiIdTruth;
84 vector<AliHLTTPCCAGBTrack> fStiCaTracks;
86 #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE
91 double fPreparationTime_real, fPreparationTime_cpu;
93 #endif // __StiCATpcTrackerInterface_h__
StiCATpcTrackerInterface()
constructor - destructor
void Run()
Copy data to CATracker. Run CATracker. Copy tracks in fSeeds.
static StiCATpcTrackerInterface & Instance()
Instance.