]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAlignObj.h
Return to the original methods from AliLoader (Marco)
[u/mrichter/AliRoot.git] / STEER / AliAlignObj.h
index c8c54a6b57f41e13f71fc5477958c65a84b76a02..3a5578bde3766cef25e6c8b5f766d37345f42ac8 100644 (file)
@@ -80,22 +80,14 @@ class AliAlignObj : public TObject {
   static ELayerID VolUIDToLayer(UShort_t voluid, Int_t &modId);
   static ELayerID VolUIDToLayer(UShort_t voluid);
 
-  static const char* GetVolPath(UShort_t voluid) {
-    Int_t modId;
-    ELayerID layerId = VolUIDToLayer(voluid,modId);
-    return GetVolPath(layerId,modId);
-  }
+  static const char* GetVolPath(UShort_t voluid);
   static const char* GetVolPath(ELayerID layerId, Int_t modId);
 
   Bool_t ApplyToGeometry();
   static Bool_t   GetFromGeometry(const char *path, AliAlignObj &alobj);
 
   static void         InitAlignObjFromGeometry();
-  static AliAlignObj* GetAlignObj(UShort_t voluid) {
-    Int_t modId;
-    ELayerID layerId = VolUIDToLayer(voluid,modId);
-    return GetAlignObj(layerId,modId);
-  }
+  static AliAlignObj* GetAlignObj(UShort_t voluid);
   static AliAlignObj* GetAlignObj(ELayerID layerId, Int_t modId);
 
  protected:
@@ -109,12 +101,12 @@ class AliAlignObj : public TObject {
   TString  fVolPath; // Volume path inside TGeo geometry
   UShort_t fVolUID;  // Unique volume ID
 
-  static Int_t       fgLayerSize[kLastLayer - kFirstLayer];
-  static const char* fgLayerName[kLastLayer - kFirstLayer];
+  static Int_t       fgLayerSize[kLastLayer - kFirstLayer]; // Size of layers
+  static const char* fgLayerName[kLastLayer - kFirstLayer]; // Name of layers
 
-  static TString*    fgVolPath[kLastLayer - kFirstLayer];
+  static TString*    fgVolPath[kLastLayer - kFirstLayer]; // Volume path
 
-  static AliAlignObj** fgAlignObjs[kLastLayer - kFirstLayer];
+  static AliAlignObj** fgAlignObjs[kLastLayer - kFirstLayer]; // Alignment objects
 
   ClassDef(AliAlignObj, 2)
 };