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(
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
const TGeoHMatrix* GetGlobalTransformation() const;
protected:
+ /// Not implemented
+ AliMUONGeometryDetElement();
/// Not implemented
AliMUONGeometryDetElement(const AliMUONGeometryDetElement& rhs);
/// Not implemented
// 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
// 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; }