]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/global/AliHLTGlobalTrackMatcher.h
Adding first unfinished version of AliHLTGlobalTrackMatcher class
[u/mrichter/AliRoot.git] / HLT / global / AliHLTGlobalTrackMatcher.h
1 // $Id$
2 #ifndef ALIHLTGLOBALTRACKMATCHER_H
3 #define ALIHLTGLOBALTRACKMATCHER_H
4 //* This file is property of and copyright by the ALICE HLT Project        * 
5 //* ALICE Experiment at CERN, All rights reserved.                         *
6 //* See cxx source for full Copyright notice                               *
7
8 /** @file   AliHLTGlobalTrackMatcher.h
9     @author Svein Lindal (svein.lindal@fys.uio.no)
10     @date   
11     @brief  The HLT TPC Calorimeter cluster matcher base class
12 */
13
14
15 class AliPHOSGeoUtils;
16
17 class TClonesArray;
18 class TTreeStream;
19 class TTreeSRedirector;
20
21 #include "AliHLTLogging.h"
22 #include "AliESDtrack.h"
23
24 /** 
25  * @class AliHLTGlobalTrackMatcher
26  * Global track merger for the barrel section.
27  *
28  * @ingroup alihlt_global
29  * @author Jacek.Otwinowski@gsi.de
30  */
31 class AliHLTGlobalTrackMatcher : public AliHLTLogging {
32 public:
33   AliHLTGlobalTrackMatcher();
34   /** destructor */
35   virtual ~AliHLTGlobalTrackMatcher();
36
37   // set matching parameters
38   void SetParameter(Double_t maxy=1., Double_t maxz=1., Double_t maxsnp=0.05, Double_t maxtgl=0.1, Double_t signed1Pt=0.001);
39
40   // match tracks
41   Bool_t Match(AliHLTComponentBlockData* pBlock);
42
43 private:
44
45   // PHOS Geometry boundaries matching parameters
46   const Double_t fMaxZ;    //! max Z track (cm)
47   const Double_t fMaxX;    //! max Y track (cm)
48   const Double_t fMinX;
49
50   const Double_t fDetRadius;
51   const Float_t fMaxSqDistance;
52   const Float_t fMatchingDistanceSq;
53   //PHOS Geometry
54   AliPHOSGeoUtils* fPHOSGeom;
55
56   //Angle of PHOS Modules to Y 
57   //Float_t fPHOSAngles[5];
58
59   ClassDef(AliHLTGlobalTrackMatcher,1) //Merging base class
60 };
61
62 #endif