**************************************************************************/
// $Id$
-//
+
+//-----------------------------------------------------------------------------
// Class AliMUONSt1GeometryBuilder
// -------------------------------
// MUON Station1 coarse geometry construction class.
// Extracted from AliMUONv1
// by Ivana Hrivnacova, IPN Orsay
// Included in AliRoot 2004/01/23
+//-----------------------------------------------------------------------------
#include <TVirtualMC.h>
#include <TGeoMatrix.h>
#include "AliMUONSt1GeometryBuilder.h"
#include "AliMUON.h"
+#include "TArrayI.h"
#include "AliMUONConstants.h"
#include "AliMUONGeometryModule.h"
#include "AliMUONGeometryEnvelopeStore.h"
+/// \cond CLASSIMP
ClassImp(AliMUONSt1GeometryBuilder)
+/// \endcond
//______________________________________________________________________________
AliMUONSt1GeometryBuilder::AliMUONSt1GeometryBuilder(AliMUON* muon)
- : AliMUONVGeometryBuilder(0, 1),
+ : AliMUONVGeometryBuilder(0, 2),
fMUON(muon)
{
-// Standard constructor
+/// Standard constructor
}
: AliMUONVGeometryBuilder(),
fMUON(0)
{
-// Default constructor
-}
-
-
-//______________________________________________________________________________
-AliMUONSt1GeometryBuilder::AliMUONSt1GeometryBuilder(const AliMUONSt1GeometryBuilder& rhs)
- : AliMUONVGeometryBuilder(rhs)
-{
-// Protected copy constructor
-
- AliFatal("Copy constructor is not implemented.");
-}
-
-//______________________________________________________________________________
-AliMUONSt1GeometryBuilder::~AliMUONSt1GeometryBuilder() {
-//
+/// Default constructor
}
//______________________________________________________________________________
-AliMUONSt1GeometryBuilder&
-AliMUONSt1GeometryBuilder::operator = (const AliMUONSt1GeometryBuilder& rhs)
+AliMUONSt1GeometryBuilder::~AliMUONSt1GeometryBuilder()
{
-// Protected assignement operator
-
- // check assignement to self
- if (this == &rhs) return *this;
-
- AliFatal("Assignment operator is not implemented.");
-
- return *this;
+/// Destructor
}
//
//______________________________________________________________________________
void AliMUONSt1GeometryBuilder::CreateGeometry()
{
-// From AliMUONv1::CreateGeometry()
-// ---
+/// From AliMUONv1::CreateGeometry()
//********************************************************************
// Station 1 **
// }
}
+//______________________________________________________________________________
+void AliMUONSt1GeometryBuilder::SetVolumes()
+{
+/// Define the volumes for the station2 chambers.
+}
+
//______________________________________________________________________________
void AliMUONSt1GeometryBuilder::SetTransformations()
{
-// Defines the transformations for the station2 chambers.
-// ---
+/// Define the transformations for the station2 chambers.
Double_t zpos1= - AliMUONConstants::DefaultChamberZ(0);
SetTranslation(0, TGeoTranslation(0., 0., zpos1));
//______________________________________________________________________________
void AliMUONSt1GeometryBuilder::SetSensitiveVolumes()
{
-// Defines the sensitive volumes for station1 chambers.
-// ---
+/// Define the sensitive volumes for station1 chambers.
GetGeometry(0)->SetSensitiveVolume("S01G");
GetGeometry(1)->SetSensitiveVolume("S02G");