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:
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)
};