]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCLaserTracks.h
Correct the way primary photons are in EMCAL acceptance, change some histograms title...
[u/mrichter/AliRoot.git] / TPC / AliTPCLaserTracks.h
index fd37b2699c04b310ac179cc0c8dbd6bcba3f6c59..2ddcd7c084eae73131a1c188d17cebc872a9ec06 100644 (file)
@@ -8,12 +8,11 @@
 ////////////////////////////////////////////////////////////////////////////
 
 class TString;
-//class TPolyLine3D;
+class TPolyLine3D;
 class TObjArray;
 class TGraph;
 class TVector3;
 
-#include <TPolyLine3D.h>
 
 ////////////////////////////////////////////////////////////////////////
 //              Class AliTPCLaserTracks
@@ -27,17 +26,17 @@ public:
     AliTPCLaserTracks(const AliTPCLaserTracks &param); // copy constructor
     AliTPCLaserTracks &operator = (const AliTPCLaserTracks & param);
 
-    Int_t GetId()    {return fId;     }
-    Int_t GetSide()  {return fSide;   }
-    Int_t GetRod()   {return fRod;    }
-    Int_t GetBundle(){return fBundle; }
-    Int_t GetBeam()  {return fBeam;   }
+    Int_t GetId()    const {return fId;     }
+    Int_t GetSide()  const {return fSide;   }
+    Int_t GetRod()   const {return fRod;    }
+    Int_t GetBundle() const {return fBundle; }
+    Int_t GetBeam()  const {return fBeam;   }
 
-    Double_t GetX()    {return fX;    }
-    Double_t GetY()    {return fY;    }
-    Double_t GetZ()    {return fZ;    }
-    Double_t GetPhi()  {return fPhi;  }
-    Double_t GetTheta(){return fTheta;}
+    Double_t GetX()  const  {return fX;    }
+    Double_t GetY()  const   {return fY;    }
+    Double_t GetZ()  const  {return fZ;    }
+    Double_t GetPhi() const  {return fPhi;  }
+    Double_t GetTheta() const{return fTheta;}
 
     TPolyLine3D *GetLine();
     Int_t SetPoint(Int_t point, Double_t x, Double_t y, Double_t z);
@@ -62,7 +61,7 @@ public:
 
     Int_t FindMirror(Char_t *file, Double_t x, Double_t y, Double_t z, Double_t phi);
 
-    TObjArray* GetLines(Char_t* file, Char_t *cuts="");
+    TObjArray* GetLines(const Char_t* file, const Char_t *cuts="");
 
 protected:
     Int_t fId;              //Laser beam id            (0-335)