+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
// $Id$
+// Revision of includes 07/05/2004
//
-// Class AliMUONGeometryConstituent
-// --------------------------------
-// Helper class for definititon of an assembly of volumes.
-//
-// Author: Ivana Hrivnacova, IPN Orsay
+/// \ingroup geometry
+/// \class AliMUONGeometryConstituent
+/// \brief Helper class for definititon of an assembly of volumes.
+///
+/// \author Ivana Hrivnacova, IPN Orsay
#ifndef ALI_MUON_GEOMETRY_CONSTITUENT_H
#define ALI_MUON_GEOMETRY_CONSTITUENT_H
const TGeoTranslation& translation,
const TGeoRotation& rotation,
Int_t npar, Double_t* param);
- AliMUONGeometryConstituent();
- AliMUONGeometryConstituent(const AliMUONGeometryConstituent& rhs);
+ AliMUONGeometryConstituent(const TString& name, Int_t copyNo,
+ const TGeoCombiTrans& transform,
+ Int_t npar, Double_t* param);
+ AliMUONGeometryConstituent();
virtual ~AliMUONGeometryConstituent();
- // operators
- AliMUONGeometryConstituent& operator = (const AliMUONGeometryConstituent& rhs);
-
// get methods
Int_t GetCopyNo() const;
Int_t GetNpar() const;
Double_t* GetParam() const;
const TGeoCombiTrans* GetTransformation() const;
+ protected:
+ /// Not implemented
+ AliMUONGeometryConstituent(const AliMUONGeometryConstituent& rhs);
+ /// Not implemented
+ AliMUONGeometryConstituent& operator = (const AliMUONGeometryConstituent& rhs);
+
private:
- Int_t fCopyNo; // copy number
- Int_t fNpar; // number of shape parameters
+ Int_t fCopyNo; ///< copy number
+ Int_t fNpar; ///< number of shape parameters
+
+ /// shape parameters
Double_t* fParam; //[fNpar] shape parameters
- TGeoCombiTrans* fTransformation;// the constituent transformation wrt to the
- // envelope
+
+ TGeoCombiTrans* fTransformation;///< \brief the constituent transformation
+ /// wrt to the envelope
ClassDef(AliMUONGeometryConstituent,1) // MUON chamber geometry base class
};
// inline functions
+/// Return copy number
inline Int_t AliMUONGeometryConstituent::GetCopyNo() const
{ return fCopyNo; }
+/// Return number of shape parameters
inline Int_t AliMUONGeometryConstituent::GetNpar() const
{ return fNpar; }
+/// Return the array of shape parameters
inline Double_t* AliMUONGeometryConstituent::GetParam() const
{ return fParam; }
+/// Return the constituent transformation wrt to the envelope
inline const TGeoCombiTrans* AliMUONGeometryConstituent::GetTransformation() const
{ return fTransformation; }