]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCLaserTracks.cxx
Removing the AliESDCosmicTrack.
[u/mrichter/AliRoot.git] / TPC / AliTPCLaserTracks.cxx
index 3e606bede922ac3ad1a0a7abf4a4e4e94ffb85c2..bedb8a009c72a954c0a4dcd06d447b12523ad4c1 100644 (file)
@@ -115,39 +115,6 @@ AliTPCLaserTracks::AliTPCLaserTracks(Int_t npoints):TObject(),
     fNpoints = npoints;
     InitPoints();
 }
-//______________________________________________________________________
-AliTPCLaserTracks::AliTPCLaserTracks(const AliTPCLaserTracks &param):TObject(),
-    fId(-1),
-    fSide(-1),
-    fRod(-1),
-    fBundle(-1),
-    fBeam(-1),
-    fX(0.),
-    fY(0.),
-    fZ(0.),
-    fTime(0.),
-    fPhi(0.),
-    fTheta(0.),
-    fMaxSize(0),
-    fNpoints(0),
-    fXarr(0x0),
-    fYarr(0x0),
-    fZarr(0x0)
-{
-  //
-  // dummy
-  //
-  fPhi=param.fPhi;
-}
-//______________________________________________________________________
-AliTPCLaserTracks & AliTPCLaserTracks::operator=(const AliTPCLaserTracks & param)
-{
-  //
-  // assignment operator - dummy
-  //
-  fPhi=param.fPhi;
-  return (*this);
-}
 
 //_______________________________________________________________________
 Double_t AliTPCLaserTracks::FindBeamLength(TVector3 vF, TVector3 vP)
@@ -192,11 +159,12 @@ Double_t AliTPCLaserTracks::FindBeamLength(TVector3 vF, TVector3 vP)
 
 
            //if we cross two boarders on our way return the closer boarder
-            if ( (n1>0) && (n2>0) )
+            if ( (n1>0) && (n2>0) ) {
                if ( (vF-vI1).Mag() <= (vF-vI2).Mag() )
                    return (vF-vI1).Mag();
                else
-                   return (vF-vI2).Mag();
+                   return (vF-vI2).Mag();
+           }
 
            if ( n1>0 )
                return (vF-vI1).Mag();
@@ -336,7 +304,7 @@ TPolyLine3D* AliTPCLaserTracks::GetLine()
 }
 
 //_______________________________________________________________________
-TObjArray* AliTPCLaserTracks::GetLines(Char_t* file, Char_t *cuts)
+TObjArray* AliTPCLaserTracks::GetLines(const Char_t* file, const Char_t *cuts)
 {
   //
   // Read the input files with the laser track