]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCConfMapPoint.h
correcting compilation warnings, enable keyword substitution
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCConfMapPoint.h
index 082643e1430ad9f50de477b34d7abb5d9a838fe9..b89b67b15c4aab19618edc2f205eb030271d4898 100644 (file)
@@ -4,8 +4,9 @@
 #ifndef ALIHLTTPCCONFMAPPOINT_H
 #define ALIHLTTPCCONFMAPPOINT_H
 
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
+//* 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                               *
 
 /** @file   AliHLTTPCConfMapPoint.h
     @author Anders Vestbo, maintained by Matthias Richter
@@ -23,17 +24,31 @@ class AliHLTTPCVertex;
  * @class AliHLTTPCConfMapPoint
  * Hit class for conformal mapper
  *
+ * @ingroup alihlt_tpc
  */
 class AliHLTTPCConfMapPoint {
 
  public:
-
+  /** constructor */
   AliHLTTPCConfMapPoint();
+  /** copy constructor */
+  AliHLTTPCConfMapPoint(const AliHLTTPCConfMapPoint&);
+  /** assignment operator */
+  AliHLTTPCConfMapPoint& operator=(const AliHLTTPCConfMapPoint&);
   /** destructor */
   virtual ~AliHLTTPCConfMapPoint();
   
+  /**
+   * Reset this point.
+   * The usage flag will be cleared as well as variables are reset.
+   */
   void Reset();
-  Bool_t ReadHits(AliHLTTPCSpacePointData* hits );
+
+  /**
+   * Read one hit.
+   * Set members from AliHLTTPCSpacePointData.
+   */
+  Bool_t Read(const AliHLTTPCSpacePointData& hit);
   
    // getter
   Double_t GetX() const {return fx;}
@@ -84,7 +99,6 @@ class AliHLTTPCConfMapPoint {
   Short_t GetEtaIndex() const {return fEtaIndex;}
   Double_t GetXYChi2() const {return fXYChi2;}
   Double_t GetSZChi2() const {return fSZChi2;}
-  //Int_t fMCTrackID[3]; //MClabel of tracks, may overlap
 
   // setter
   void SetNextVolumeHit(AliHLTTPCConfMapPoint* p){fNextVolumeHit=p;}
@@ -145,10 +159,6 @@ class AliHLTTPCConfMapPoint {
   void SetConfCoord();// conformal mapping
 
  private:
-  /** copy constructor prohibited */
-  AliHLTTPCConfMapPoint(const AliHLTTPCConfMapPoint&);
-  /** assignment operator prohibited */
-  AliHLTTPCConfMapPoint& operator=(const AliHLTTPCConfMapPoint&);
 
   Int_t fHitNumber;     //hit number
   Int_t fTrackNumber;   //track number