]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONGeometryDetElement.h
Bug fixes (some outliers in central events) (from Redmer)
[u/mrichter/AliRoot.git] / MUON / AliMUONGeometryDetElement.h
index 87b78e703d685402d641930921d2a1690d44ef64..6b07be1a53b5f1999d87b37527df0bae138bb39e 100644 (file)
@@ -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; }