X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONGeometryDetElement.h;h=6b07be1a53b5f1999d87b37527df0bae138bb39e;hb=e146cc53be967240d7c046b1f9504d4efe323531;hp=87b78e703d685402d641930921d2a1690d44ef64;hpb=71a2d3aa63e94daa0244d8d6d1c7c162ae29a374;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONGeometryDetElement.h b/MUON/AliMUONGeometryDetElement.h index 87b78e703d6..6b07be1a53b 100644 --- a/MUON/AliMUONGeometryDetElement.h +++ b/MUON/AliMUONGeometryDetElement.h @@ -20,13 +20,14 @@ class TGeoHMatrix; class AliMUONGeometryDetElement : public TObject { public: - AliMUONGeometryDetElement(Int_t detElemId, - const TString& volumePath); - AliMUONGeometryDetElement(); + AliMUONGeometryDetElement(Int_t detElemId); + AliMUONGeometryDetElement(Int_t detElemId, const TString& volumePath); + AliMUONGeometryDetElement(TRootIOCtor* /*ioCtor*/); virtual ~AliMUONGeometryDetElement(); // static methods - static TString GetDENamePrefix(); + static const TString& GetDENamePrefix(); + static TString GetDEName(Int_t detElemId); // methods void Global2Local( @@ -46,8 +47,8 @@ class AliMUONGeometryDetElement : public TObject void PrintGlobalTransform() const; // set methods - void SetLocalTransformation(const TGeoHMatrix& transform); - void SetGlobalTransformation(const TGeoHMatrix& transform); + void SetLocalTransformation(const TGeoHMatrix& transform, Bool_t warn = true); + void SetGlobalTransformation(const TGeoHMatrix& transform, Bool_t warn = true); void SetVolumePath(const TString& volumePath); // get methods @@ -60,6 +61,8 @@ class AliMUONGeometryDetElement : public TObject const TGeoHMatrix* GetGlobalTransformation() const; protected: + /// Not implemented + AliMUONGeometryDetElement(); /// Not implemented AliMUONGeometryDetElement(const AliMUONGeometryDetElement& rhs); /// Not implemented @@ -69,9 +72,6 @@ class AliMUONGeometryDetElement : public TObject // methods void PrintTransform(const TGeoHMatrix* transform) const; - // static data members - static const TString fgkDENamePrefix; ///< Geometry module name prefix - // data members TString fDEName; ///< detection element name TString fVolumePath; ///< \brief the full path of aligned volume @@ -84,10 +84,6 @@ class AliMUONGeometryDetElement : public TObject // inline functions -/// Return module name prefix -inline TString AliMUONGeometryDetElement::GetDENamePrefix() -{ return fgkDENamePrefix; } - /// Set the full path of the aligned volume or envelope in geometry inline void AliMUONGeometryDetElement::SetVolumePath(const TString& volumePath) { fVolumePath = volumePath; }