// $Id$
//
+// ----------------------------
// Class AliMUONGeometryTransformer
// ----------------------------
// Top container class for geometry transformations
-//
// Author: Ivana Hrivnacova, IPN Orsay
#include "AliMUONGeometryTransformer.h"
#include "AliLog.h"
#include "AliAlignObjMatrix.h"
+#include "AliAlignObj.h"
#include <Riostream.h>
#include <TSystem.h>
// Get path
TString path = kTransformer->GetVolumePath();
+ // Get unique align object ID
+ Int_t volId = AliAlignObj::LayerToVolUID(AliAlignObj::kMUON, moduleId);
+
// Create mis align matrix
TClonesArray& refArray =*fMisAlignArray;
Int_t pos = fMisAlignArray->GetEntriesFast();
- new (refArray[pos]) AliAlignObjMatrix(path.Data(), moduleId,
+ new (refArray[pos]) AliAlignObjMatrix(path.Data(), volId,
const_cast<TGeoHMatrix&>(matrix));
}
// Get path
TString path = kDetElement->GetVolumePath();
+ // Get unique align object ID
+ Int_t volId = AliAlignObj::LayerToVolUID(AliAlignObj::kMUON, detElemId);
+
// Create mis align matrix
TClonesArray& refArray =*fMisAlignArray;
Int_t pos = fMisAlignArray->GetEntriesFast();
- new(refArray[pos]) AliAlignObjMatrix(path.Data(), detElemId,
+ new(refArray[pos]) AliAlignObjMatrix(path.Data(), volId,
const_cast<TGeoHMatrix&>(matrix));
}
/// Transform point from the global reference frame (ALIC)
/// to the local reference frame of the detection element specified
/// by detElemId.
-
+
const AliMUONGeometryModuleTransformer* kTransformer
= GetModuleTransformerByDEId(detElemId);
/// Transform point from the global reference frame (ALIC)
/// to the local reference frame of the detection element specified
/// by detElemId.
-
+
const AliMUONGeometryModuleTransformer* kTransformer
= GetModuleTransformerByDEId(detElemId);