]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTD0toKpi.h
Update of the SSD on-line clusterfinder:
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTD0toKpi.h
1 //-*- Mode: C++ -*-
2 // $Id$
3 #ifndef ALIHLTD0TOKPI_H
4 #define ALIHLTD0TOKPI_H
5 //* This file is property of and copyright by the ALICE HLT Project        * 
6 //* ALICE Experiment at CERN, All rights reserved.                         *
7 //* See cxx source for full Copyright notice                               *
8
9 /// @file   AliHLTD0toKpi.h
10 /// @author Gaute Ovrebekk
11 /// @date   2009-10-28
12 /// @brief  Class for calculating D0->Kpi
13
14 #include "TObject.h"
15
16 class AliESDVertex;
17 class TObjArray;
18 class AliExternalTrackParam;
19 class AliAODVertex;
20
21 class AliHLTD0toKpi : public TObject
22 {
23 public:
24   AliHLTD0toKpi();
25
26   Double_t InvMass(AliExternalTrackParam* d1, AliExternalTrackParam* d2);
27   void cosThetaStar(AliExternalTrackParam* n, AliExternalTrackParam* p,Double_t &D0,Double_t &D0bar);
28   Double_t pointingAngle(AliExternalTrackParam* n, AliExternalTrackParam* p, Double_t *pv, Double_t *sv);
29
30   AliAODVertex* ReconstructSecondaryVertex(TObjArray *trkArray, Double_t b, AliESDVertex *v);
31
32 private:
33   
34   ClassDef(AliHLTD0toKpi, 1)
35 };
36 #endif //ALIHLTD0TOKPI_H