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 *
8 /** @file AliHLTGlobalTrackMatcher.h
9 @author Svein Lindal (svein.lindal@fys.uio.no)
11 @brief The HLT TPC Calorimeter cluster matcher base class
15 class AliPHOSGeoUtils;
19 class TTreeSRedirector;
21 #include "AliHLTLogging.h"
22 #include "AliESDtrack.h"
25 * @class AliHLTGlobalTrackMatcher
26 * Global track merger for the barrel section.
28 * @ingroup alihlt_global
29 * @author Jacek.Otwinowski@gsi.de
31 class AliHLTGlobalTrackMatcher : public AliHLTLogging {
33 AliHLTGlobalTrackMatcher();
35 virtual ~AliHLTGlobalTrackMatcher();
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);
41 Bool_t Match(AliHLTComponentBlockData* pBlock);
45 // PHOS Geometry boundaries matching parameters
46 const Double_t fMaxZ; //! max Z track (cm)
47 const Double_t fMaxX; //! max Y track (cm)
50 const Double_t fDetRadius;
51 const Float_t fMaxSqDistance;
52 const Float_t fMatchingDistanceSq;
54 AliPHOSGeoUtils* fPHOSGeom;
56 //Angle of PHOS Modules to Y
57 //Float_t fPHOSAngles[5];
59 ClassDef(AliHLTGlobalTrackMatcher,1) //Merging base class