Removing unused enum member to avoid warnings with gcc 3.2.3
[u/mrichter/AliRoot.git] / MUON / AliMUONGeometryConstituent.h
CommitLineData
30178c30 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
d1cd2474 4// $Id$
30178c30 5// Revision of includes 07/05/2004
d1cd2474 6//
692de412 7/// \ingroup geometry
8/// \class AliMUONGeometryConstituent
9/// \brief Helper class for definititon of an assembly of volumes.
10///
11/// Author: Ivana Hrivnacova, IPN Orsay
d1cd2474 12
13#ifndef ALI_MUON_GEOMETRY_CONSTITUENT_H
14#define ALI_MUON_GEOMETRY_CONSTITUENT_H
15
16#include <TNamed.h>
17
18class TGeoTranslation;
19class TGeoRotation;
20class TGeoCombiTrans;
21class TObjArray;
22
23class AliMUONGeometryConstituent : public TNamed
24{
25 public:
26 AliMUONGeometryConstituent(const TString& name, Int_t copyNo,
27 Int_t npar, Double_t* param);
28 AliMUONGeometryConstituent(const TString& name, Int_t copyNo,
29 const TGeoTranslation& translation,
30 Int_t npar, Double_t* param);
31 AliMUONGeometryConstituent(const TString& name, Int_t copyNo,
32 const TGeoTranslation& translation,
33 const TGeoRotation& rotation,
34 Int_t npar, Double_t* param);
c5354052 35 AliMUONGeometryConstituent(const TString& name, Int_t copyNo,
36 const TGeoCombiTrans& transform,
37 Int_t npar, Double_t* param);
38 AliMUONGeometryConstituent();
d1cd2474 39 virtual ~AliMUONGeometryConstituent();
40
d1cd2474 41 // get methods
42 Int_t GetCopyNo() const;
43 Int_t GetNpar() const;
44 Double_t* GetParam() const;
45 const TGeoCombiTrans* GetTransformation() const;
46
30178c30 47 protected:
48 AliMUONGeometryConstituent(const AliMUONGeometryConstituent& rhs);
49
50 // operators
51 AliMUONGeometryConstituent& operator = (const AliMUONGeometryConstituent& rhs);
52
d1cd2474 53 private:
829425a5 54 Int_t fCopyNo; ///< copy number
55 Int_t fNpar; ///< number of shape parameters
56
57 /// shape parameters
d1cd2474 58 Double_t* fParam; //[fNpar] shape parameters
829425a5 59
60 TGeoCombiTrans* fTransformation;///< \brief the constituent transformation
61 /// wrt to the envelope
d1cd2474 62
63 ClassDef(AliMUONGeometryConstituent,1) // MUON chamber geometry base class
64};
65
66// inline functions
67
68inline Int_t AliMUONGeometryConstituent::GetCopyNo() const
69{ return fCopyNo; }
70
71inline Int_t AliMUONGeometryConstituent::GetNpar() const
72{ return fNpar; }
73
74inline Double_t* AliMUONGeometryConstituent::GetParam() const
75{ return fParam; }
76
77inline const TGeoCombiTrans* AliMUONGeometryConstituent::GetTransformation() const
78{ return fTransformation; }
79
80#endif //ALI_MUON_GEOMETRY_CONSTITUENT_H