X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONGeometryConstituent.h;h=3014a8eec9989f4455803c9f35dd68b395cb545f;hb=f41a58ba1b306e1e3f100ae58e4a05557ff58e65;hp=678cb8ba9644461d15198a77314425b92b105dbd;hpb=d1cd2474744c42fa946c19043eaf56b406342512;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONGeometryConstituent.h b/MUON/AliMUONGeometryConstituent.h index 678cb8ba964..3014a8eec99 100644 --- a/MUON/AliMUONGeometryConstituent.h +++ b/MUON/AliMUONGeometryConstituent.h @@ -1,10 +1,14 @@ +/* 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 @@ -28,40 +32,52 @@ class AliMUONGeometryConstituent : public TNamed 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; }