]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/tracking-ca/AliHLTTPCCATrackPar.h
coding violations and compilation warnings fixed (Sergey)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATrackPar.h
index b2a2b31d4228024291dcd0ce7a9d050491f208ad..6968e578c3a9933bd0b18a87a5a17602047b7b47 100644 (file)
@@ -1,9 +1,22 @@
 //-*- Mode: C++ -*-
 // @(#) $Id$
+//*************************************************************************
+// This file is property of and copyright by the ALICE HLT Project        * 
+// ALICE Experiment at CERN, All rights reserved.                         *
+//                                                                        *
+// Primary Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de>        *
+//                  Ivan Kisel <kisel@kip.uni-heidelberg.de>              *
+//                  for The ALICE HLT Project.                            *
+//                                                                        *
+// Permission to use, copy, modify and distribute this software and its   *
+// documentation strictly for non-commercial purposes is hereby granted   *
+// without fee, provided that the above copyright notice appears in all   *
+// copies and that both the copyright notice and this permission notice   *
+// appear in the supporting documentation. The authors make no claims     *
+// about the suitability of this software for any purpose. It is          *
+// provided "as is" without express or implied warranty.                  *
+//*************************************************************************
 
-/* This file is property of and copyright by the ALICE HLT Project        * 
- * ALICE Experiment at CERN, All rights reserved.                         *
- * See cxx source for full Copyright notice                               */
 
 #ifndef ALIHLTTPCCATRACKPAR_H
 #define ALIHLTTPCCATRACKPAR_H
 
 /**
  * @class AliHLTTPCCATrackPar
+ *
+ * AliHLTTPCCATrackPar class describes the track parametrisation
+ * which is used by the AliHLTTPCCATracker slice tracker.
+ * The class is under development.
+ *
  */
-class AliHLTTPCCATrackPar {
+class AliHLTTPCCATrackPar 
+{
  public:
 
-  AliHLTTPCCATrackPar(): fChi2(0), fNDF(0){;}
+  AliHLTTPCCATrackPar(): fChi2(0), fNDF(0){}
+  virtual ~AliHLTTPCCATrackPar(){}
 
   Double_t *Par(){ return fP; }
   Double_t *Cov(){ return fC; }
@@ -32,22 +52,26 @@ class AliHLTTPCCATrackPar {
   Double_t GetDsToPointBz( Double_t Bz, const Double_t xyz[3] ) const;
   Double_t GetDsToPointBz( Double_t Bz, const Double_t xyz[3], const Double_t *T0 ) const;
 
-  void TransportBz( Double_t Bz, const Double_t xyz[3] ){ 
+  void TransportBz( Double_t Bz, const Double_t xyz[3] )
+  { 
     TransportBz( Bz,GetDsToPointBz(Bz, xyz)) ; 
   }
 
-  void TransportBz( Double_t Bz, const Double_t xyz[3], Double_t *T0 ){ 
+  void TransportBz( Double_t Bz, const Double_t xyz[3], Double_t *T0 )
+  { 
     TransportBz( Bz,GetDsToPointBz(Bz, xyz, T0), T0) ; 
   }
 
-  void TransportBz( Double_t Bz, Double_t x, Double_t y, Double_t z ){ 
+  void TransportBz( Double_t Bz, Double_t x, Double_t y, Double_t z )
+  { 
     Double_t xyz[3] = {x,y,z};
     TransportBz(Bz, xyz);
   }
 
   void GetConnectionMatrix( Double_t Bz, const Double_t p[3], Double_t G[6], const Double_t *T0  ) const ;
 
-  void GetConnectionMatrix( Double_t Bz, const Double_t p[3], Double_t G[6] ) const {
+  void GetConnectionMatrix( Double_t Bz, const Double_t p[3], Double_t G[6] ) const 
+  {
     GetConnectionMatrix( Bz, p, G, fP );
   }
 
@@ -57,10 +81,10 @@ class AliHLTTPCCATrackPar {
 
  private:
 
-  Double_t fP[7];  // parameters:  X, Y, Z, ex, ey, ez, q/P
-  Double_t fC[28]; // Covariance matrix
-  Double_t fChi2;  // Chi^2
-  Int_t fNDF;      // NDF
+  Double_t fP[7];  // track parameters:  X, Y, Z, ex, ey, ez, q/P
+  Double_t fC[28]; // the covariance matrix in the low-triangular form
+  Double_t fChi2;  // the chi^2 value
+  Int_t fNDF;      // the Number of Degrees of Freedom
 
   ClassDef(AliHLTTPCCATrackPar, 0);