ROOT logo
AliRoot » MUON » AliMUONGeometryDetElement

class AliMUONGeometryDetElement: public TObject

 Class AliMUONGeometryDetElement

 The class defines the detection element.
 Author: Ivana Hrivnacova, IPN Orsay

Function Members (Methods)

public:
AliMUONGeometryDetElement(Int_t detElemId)
AliMUONGeometryDetElement(TRootIOCtor*)
AliMUONGeometryDetElement(Int_t detElemId, const TString& volumePath)
virtual~AliMUONGeometryDetElement()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TStringGetDEName() const
static TStringGetDEName(Int_t detElemId)
static const TString&GetDENamePrefix()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const TGeoHMatrix*GetGlobalTransformation() const
virtual const char*TObject::GetIconName() const
Int_tGetId() const
const TGeoHMatrix*GetLocalTransformation() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Int_tGetVolumeCopyNo() const
TStringGetVolumeName() const
TStringGetVolumePath() const
voidGlobal2Local(Float_t xg, Float_t yg, Float_t zg, Float_t& xl, Float_t& yl, Float_t& zl) const
voidGlobal2Local(Double_t xg, Double_t yg, Double_t zg, Double_t& xl, Double_t& yl, Double_t& zl) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
voidLocal2Global(Float_t xl, Float_t yl, Float_t zl, Float_t& xg, Float_t& yg, Float_t& zg) const
voidLocal2Global(Double_t xl, Double_t yl, Double_t zl, Double_t& xg, Double_t& yg, Double_t& zg) const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidPrintGlobalTransform() const
voidPrintLocalTransform() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetGlobalTransformation(const TGeoHMatrix& transform, Bool_t warn = true)
voidSetLocalTransformation(const TGeoHMatrix& transform, Bool_t warn = true)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetVolumePath(const TString& volumePath)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
AliMUONGeometryDetElement()
AliMUONGeometryDetElement(const AliMUONGeometryDetElement& rhs)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
AliMUONGeometryDetElement&operator=(const AliMUONGeometryDetElement& rhs)
private:
voidPrintTransform(const TGeoHMatrix* transform) const

Data Members

private:
TStringfDEName/< detection element name
TGeoHMatrix*fGlobalTransformation/< the transformation wrt world
TGeoHMatrix*fLocalTransformation/< the transformation wrt module
TStringfVolumePath/< \brief the full path of aligned volume

Class Charts

Inheritance Chart:
TObject
AliMUONGeometryDetElement

Function documentation

const TString& GetDENamePrefix()
< Geometry DE name prefix
TString GetDEName(Int_t detElemId)
 Return the module name for given moduleId
AliMUONGeometryDetElement(Int_t detElemId)
 Standard constructor
AliMUONGeometryDetElement(Int_t detElemId, const TString& volumePath)
 Standard constructor
AliMUONGeometryDetElement(TRootIOCtor* )
 Root IO constructor
~AliMUONGeometryDetElement()
 Destructor
void PrintTransform(const TGeoHMatrix* transform) const
 Print the detection element transformation
void Global2Local(Float_t xg, Float_t yg, Float_t zg, Float_t& xl, Float_t& yl, Float_t& zl) const
 Transform point from the global reference frame (ALIC)
 to the local reference frame of this detection element.
void Global2Local(Double_t xg, Double_t yg, Double_t zg, Double_t& xl, Double_t& yl, Double_t& zl) const
 Transform point from the global reference frame (ALIC)
 to the local reference frame of this detection element
void Local2Global(Float_t xl, Float_t yl, Float_t zl, Float_t& xg, Float_t& yg, Float_t& zg) const
 Transform point from the local reference frame of this detection element
 to the global reference frame (ALIC).
void Local2Global(Double_t xl, Double_t yl, Double_t zl, Double_t& xg, Double_t& yg, Double_t& zg) const
 Transform point from the local reference frame of this detection element
 to the global reference frame (ALIC).
void SetLocalTransformation(const TGeoHMatrix& transform, Bool_t warn = true)
 Set local transformation;
 give warning if the global transformation is already defined.
void SetGlobalTransformation(const TGeoHMatrix& transform, Bool_t warn = true)
 Set global transformation;
 give warning if the global transformation is already defined.
void PrintLocalTransform() const
 Print detection element relative transformation
 (the transformation wrt module frame)
void PrintGlobalTransform() const
 Print detection element global transformation
 (the transformation wrt global frame)
TString GetVolumeName() const
 Extract volume name from the path
Int_t GetVolumeCopyNo() const
 Extract volume copyNo from the path
void SetVolumePath(const TString& volumePath)
 Set the full path of the aligned volume or envelope in geometry
{ fVolumePath = volumePath; }
Int_t GetId() const
 Return detection element ID
{ return GetUniqueID(); }
TString GetDEName() const
 Return detection element ID
{ return fDEName; }
TString GetVolumePath() const
 Return the full path of the aligned volume or envelope in geometry
{ return fVolumePath; }
GetLocalTransformation() const
GetGlobalTransformation() const
AliMUONGeometryDetElement(Int_t detElemId)
AliMUONGeometryDetElement(Int_t detElemId, const TString& volumePath)