]> 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 99181f5c55d81ba45faa86576e8a3bc56e85b9ec..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,21 +24,31 @@ class AliHLTTPCVertex;
  * @class AliHLTTPCConfMapPoint
  * Hit class for conformal mapper
  *
+ * @ingroup alihlt_tpc
  */
 class AliHLTTPCConfMapPoint {
 
  public:
-
+  /** constructor */
   AliHLTTPCConfMapPoint();
-  /** not a valid copy constructor, defined according to effective C++ style */
+  /** copy constructor */
   AliHLTTPCConfMapPoint(const AliHLTTPCConfMapPoint&);
-  /** not a valid assignment op, but defined according to effective C++ style */
+  /** 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;}
@@ -88,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;}