]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3TrackMerger.h
Additional protection
[u/mrichter/AliRoot.git] / HLT / src / AliL3TrackMerger.h
CommitLineData
3e87ef69 1// @(#) $Id$
2
108615fc 3#ifndef ALIL3TRACKMERGER_H
4#define ALIL3TRACKMERGER_H
5
42abf604 6//-------------------------------------------------------------------------
7// Class AliL3TrackMerger
8// This class is responsible for the merging of the HLT tracks
9// between TPC sectors and readout patches
10//-------------------------------------------------------------------------
11
108615fc 12#ifndef __CINT__
13#include "AliL3Merger.h"
14#endif
15
1f1942b8 16#include "AliL3RootTypes.h"
17
108615fc 18class AliL3Merger;
19
20class AliL3TrackMerger : public AliL3Merger {
21
108615fc 22 public:
23 AliL3TrackMerger();
24 AliL3TrackMerger(Int_t nsubsectors);
25 virtual ~AliL3TrackMerger();
26
27 void SetRows(Int_t *row);
28 void InitSector(Int_t sector,Int_t subsector);
29 void SlowMerge();
30 void Merge(); //Loop over tracks from different subsectors
31 void InterMerge();
42abf604 32
33 private:
34 Int_t fSubSector;//Index of the readout patch inside given TPC sector
35 Int_t fNSubSector;//Number of readout patches inside given TPC sector
36 Int_t *fRowMin;//!
37 Int_t *fRowMax;//!
38 Bool_t fSlow;//Slow or fast merging
39 void SlowMerge(AliL3TrackArray *mergedtrack,AliL3TrackArray *tracksin,AliL3TrackArray *tracksout,Double_t xval);
40 Int_t Merge(AliL3TrackArray *mergedtrack,AliL3TrackArray *tracksin,AliL3TrackArray *tracksout);
108615fc 41
b661165c 42 ClassDef(AliL3TrackMerger,1) //Track merging class
108615fc 43};
44
45#endif