]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFhitT0.cxx
Updated version for TPConly tracks
[u/mrichter/AliRoot.git] / TOF / AliTOFhitT0.cxx
index 8fb4fc9769bac460d3b01ea4647965c60ce79eb7..c98a66a840f8b116290a3416a85923d89a56e098 100644 (file)
@@ -100,6 +100,32 @@ AliTOFhitT0::AliTOFhitT0(const AliTOFhitT0 & hit):
 
 }
  
+//______________________________________________________________________________
+AliTOFhitT0& AliTOFhitT0::operator = (const AliTOFhitT0& hit) {
+
+  if (this == &hit)
+    return *this;
+
+  fSector=hit.fSector;
+  fPlate=hit.fPlate;
+  fStrip=hit.fStrip;
+  fPadx=hit.fPadx;
+  fPadz=hit.fPadz;
+  fPx=hit.fPx;
+  fPy=hit.fPy;
+  fPz=hit.fPz;
+  fPmom=hit.fPmom;
+  fTof=hit.fTof;
+  fLenTof=hit.fLenTof;
+  fDx=hit.fDx;
+  fDy=hit.fDy;
+  fDz=hit.fDz;
+  fIncA=hit.fIncA;
+  fEdep=hit.fEdep;
+  fTrack = hit.fTrack;
+  return *this;
+
+}
 //______________________________________________________________________________
 AliTOFhitT0::AliTOFhitT0(Int_t shunt, Int_t track, Int_t * const vol,
                      Float_t * const hits):