-//Author: Anders Strand Vestbo
-
-//________________________________
-// AliL3ConfMapPoint
-//
-// Hit class for conformal mapper
+// Author: Anders Vestbo <mailto:vestbo$fi.uib.no>
+//*-- Copyright © ASV
#include <iostream.h>
#include <math.h>
#include "AliL3Vertex.h"
#include "AliL3ConfMapTrack.h"
-//ClassImp(AliL3ConfMapPoint)
+//_____________________________________________________________
+// AliL3ConfMapPoint
+//
+// Hit class for conformal mapper
+
+ClassImp(AliL3ConfMapPoint)
AliL3ConfMapPoint::AliL3ConfMapPoint()
{
SetYprimeerr(0.);
SetIntPoint(0., 0., 0., 0., 0., 0.);
SetShiftedCoord();
- SetMCTrackID(0.,0.,0.);
+ SetMCTrackID(0,0,0);
}
AliL3ConfMapPoint::~AliL3ConfMapPoint()
}
Bool_t AliL3ConfMapPoint::ReadHits(AliL3SpacePointData* hits ){
+
SetHitNumber(hits->fID);
SetPadRow(hits->fPadRow);
Int_t slice = (hits->fID>>25) & 0x7f;
return kTRUE;
}
+void AliL3ConfMapPoint::Reset()
+{
+ //Reset this point.
+ SetUsage(kFALSE);
+ SetS(0);
+ nextRowHit = 0;
+ nextVolumeHit=0;
+ nextTrackHit=0;
+}
+
void AliL3ConfMapPoint::Setup(AliL3Vertex *vertex)
{
//Setup. Sets the vertex, conformal coordinates, and phi and eta of each hit.