#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
* @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;}
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;}