**************************************************************************/
// $Id$
-//
-// -------------------------------------
+
+//-----------------------------------------------------------------------------
// Class AliMUONGeometryModuleTransformer
// -------------------------------------
// Class for definition of the detector module transformations
// Author: Ivana Hrivnacova, IPN Orsay
+//-----------------------------------------------------------------------------
#include "AliMUONGeometryModuleTransformer.h"
#include "AliMUONGeometryDetElement.h"
fTransformation = new TGeoHMatrix("");
// Det elements transformation stores
- fDetElements = new AliMpExMap(true);
+ fDetElements = new AliMpExMap;
}
std::string volPath = fVolumePath.Data();
std::string::size_type first = volPath.rfind('/');
- volPath = volPath.substr(0, first);
+ if ( first != std::string::npos )
+ volPath = volPath.substr(0, first);
std::string::size_type next = volPath.rfind('/')+1;
std::string::size_type last = volPath.rfind('_');