]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTD0toKpi.h
Reverting the change to the statistics printing since it leads to a bug, cannot be...
[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(const AliExternalTrackParam* d1, const AliExternalTrackParam* d2);
27   void CosThetaStar(const AliExternalTrackParam* n, const AliExternalTrackParam* p,Double_t &D0,Double_t &D0bar);
28   Double_t PointingAngle(const AliExternalTrackParam* n, const AliExternalTrackParam* p, const Double_t *pv, const Double_t *sv);
29   Double_t Pt(const AliExternalTrackParam* d1, const AliExternalTrackParam* d2);
30
31   AliAODVertex* ReconstructSecondaryVertex(TObjArray *trkArray, Double_t b, const AliESDVertex *v, bool useKF);
32
33 private:
34   
35   ClassDef(AliHLTD0toKpi, 1)
36 };
37 #endif //ALIHLTD0TOKPI_H