]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSsegmentation.h
Digits marked according to pad status
[u/mrichter/AliRoot.git] / ITS / AliITSsegmentation.h
index 360793b507ce439bec999c1e2dd8ef66ef37a4be..f6beaa7529e79a37c6af320ce08f37a9748ac019 100644 (file)
@@ -5,11 +5,14 @@
 #include "AliLog.h"
 #include "AliITSgeom.h"
 
-class TF1;
+/* $Id$ */
+
 //----------------------------------------------
-//
-// ITS  segmentation virtual base class
-//
+//                                             -
+// ITS  segmentation virtual base class        -
+//                                             -
+//----------------------------------------------
+class TF1;
 class AliITSsegmentation :
 public TObject {
  public:
@@ -53,18 +56,13 @@ public TObject {
 
     // Transform from real global to local coordinates
     void GetLocal(Int_t module,Float_t *g ,Float_t *l, AliITSgeom *geom) const {
-      if(!geom) {
-       AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
-        return;
-      }
-      geom->GtoL(module,g,l);      
+      if(geom) geom->GtoL(module,g,l);
+      else AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
     }
     // Transform from real local to global coordinates
     void GetGlobal(Int_t module,Float_t *l ,Float_t *g, AliITSgeom *geom) const {
-      if(!geom) {
-       AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
-      }
-      geom->LtoG(module,l,g);
+      if(geom) geom->LtoG(module,l,g);
+      else AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
     }
 
     // Initialisation
@@ -115,7 +113,7 @@ public TObject {
                     //SDD: Drift distance of the 1/2detector (x axis)-microns
                     //SSD: Full length of the detector (x axis)- microns
     Float_t fDz;    //SPD: Full length of the detector (z axis)- microns
-                    //SDD: Length of half-detector (z axis) - microns
+                    //SDD: Full Length of the detector (z axis) - microns
                     //SSD: Full width of the detector (z axis)- microns
     Float_t fDy;    //SPD:  Full thickness of the detector (y axis) -um 
                     //SDD: Full thickness of the detector (y axis) - microns