**************************************************************************/
// $Id$
-//
+
+//-----------------------------------------------------------------------------
// Class AliMUONSt2GeometryBuilder
// -------------------------------
// MUON Station2 coarse geometry construction class.
// Extracted from AliMUONv1
// Dummy version of station 2 with the right DE id (Ch. Finck)
+//-----------------------------------------------------------------------------
#include <TVirtualMC.h>
#include <TGeoMatrix.h>
}
//______________________________________________________________________________
-void AliMUONSt2GeometryBuilder::SetTransformations()
+void AliMUONSt2GeometryBuilder::SetVolumes()
{
-/// Defines the transformations for the station2 chambers.
+/// Defines the volumes for the station2 chambers.
// Define chamber volumes as virtual
SetVolume(2, "SC03", true);
SetVolume(3, "SC04", true);
+}
+
+//______________________________________________________________________________
+void AliMUONSt2GeometryBuilder::SetTransformations()
+{
+/// Defines the transformations for the station2 chambers.
Double_t zpos1 = - AliMUONConstants::DefaultChamberZ(2);
SetTranslation(2, TGeoTranslation(0., 0., zpos1));