StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AliHLTTPCCATrackletSelector.h
1 //-*- Mode: C++ -*-
2 
3 //* This file is property of and copyright by the ALICE HLT Project *
4 //* ALICE Experiment at CERN, All rights reserved. *
5 //* See cxx source for full Copyright notice *
6 
7 #ifndef ALIHLTTPCCATRACKLETSELECTOR_H
8 #define ALIHLTTPCCATRACKLETSELECTOR_H
9 
10 #include "AliHLTTPCCADef.h"
11 #include "AliHLTTPCCATracker.h"
12 #include "AliHLTTPCCATrackletVector.h"
13 #include "AliHLTArray.h"
14 
20  public:
21  inline AliHLTTPCCATrackletSelector( const Tracker &tracker, std::vector<AliHLTTPCCATrack *> *tracks,
22  int *numberOfHits, int *numberOfTracks, const SliceData &data,
23  AliHLTArray<TrackletVector> &trackletVectors )
24  : fTracker( tracker ), fTracks( *tracks ), fNumberOfHits( *numberOfHits ),
25  fNumberOfTracks( *numberOfTracks ), fTrackletVectors( trackletVectors ), fData( data )
26  {}
27 
28  void run();
29 
30  private:
31  const Tracker &fTracker;
32  std::vector<AliHLTTPCCATrack *> &fTracks;
33  int &fNumberOfHits;
34  int &fNumberOfTracks;
35  const AliHLTArray<TrackletVector> fTrackletVectors;
36  const SliceData &fData;
37 };
38 
39 
40 #endif