//______________________________________________________________________________
AliMUONGeometryModule::AliMUONGeometryModule(Int_t moduleId)
: TObject(),
+ fIsVirtual(true),
fModuleId(moduleId),
fMotherVolume("ALIC"),
+ fVolume("NONE"),
fNofSVs(0),
fSVVolumeIds(0),
fTransformation(0),
//______________________________________________________________________________
AliMUONGeometryModule::AliMUONGeometryModule()
: TObject(),
+ fIsVirtual(true),
fModuleId(0),
fMotherVolume(),
+ fVolume(),
fNofSVs(0),
fSVVolumeIds(0),
fTransformation(0),
detElement->Local2Global(xl, yl, zl, xg, yg, zg);
}
+//______________________________________________________________________________
+void AliMUONGeometryModule::SetVolume(const TString& volumeName)
+{
+// Sets the concrete volume associated with this module.
+// The module in not virtual in this case
+
+ fVolume = volumeName;
+ fIsVirtual = false;
+}
+
//______________________________________________________________________________
void AliMUONGeometryModule::SetTranslation(const TGeoTranslation& translation)
{
= (AliMUONGeometryDetElement*) fDetElements->Get(detElemId);
if (!detElement) {
- AliError(Form("Detection element %d not found", detElemId));
+ AliErrorStream()
+ << "Detection element " << detElemId
+ << " not found in module " << fModuleId << endl;
return 0;
}