New definition of name ofobject in TMap tables. Fixing conding convention violations
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentPosition.h
index 7d2cc6afd2f95983015afa9ee515073415cbec1e..90a3f6a5c1bbf6d0bd13acfd0de2d9bc34175182 100644 (file)
@@ -15,7 +15,9 @@
 //  Detailed information in Alice Technical Note xxxxxxxx (2004)
 //====================================================================
 
+
 #include <TNamed.h>
+#include <TString.h>
 
 class AliMUONSegmentPosition : public TNamed
 {
@@ -30,12 +32,15 @@ class AliMUONSegmentPosition : public TNamed
     Float_t GetYlocal()   const {return fY;}
     Int_t   GetCathode()  const {return fCathode;}
 
-    void Print() const;
+
+    static TString Name(Float_t x, Float_t y, Int_t cathode) ;
+    void    Print() const;
+
  private:
-    Int_t fChannelId;   // Id of the channel within the detection element
-    Float_t fX;
-    Float_t fY;
-    Int_t fCathode;
+    Int_t   fChannelId;   // Id of the channel within the detection element
+    Float_t fX;           // Position X of the center of the segment (pad, strip, etc...)
+    Float_t fY;           // Position Y of the center of the segment (pad, strip, etc...)
+    Int_t   fCathode;     // Cathode Side Bending 1  or non bending 0 
      
     ClassDef(AliMUONSegmentPosition,1) // Loal positions of segments