ROOT logo
AliRoot » STEER » STEER » AliAlignObjMatrix

class AliAlignObjMatrix: public AliAlignObj

   Implementation of the alignment object class through
   the derived concrete representation of alignment object class:
   AliAlignObjMatrix derived from the base class AliAlignObj

Function Members (Methods)

public:
AliAlignObjMatrix()
AliAlignObjMatrix(const AliAlignObj& theAlignObj)
AliAlignObjMatrix(const AliAlignObjMatrix&)
AliAlignObjMatrix(const char* symname, UShort_t volUId, TGeoMatrix& m, Bool_t global)
AliAlignObjMatrix(const char* symname, UShort_t volUId, Double_t x, Double_t y, Double_t z, Double_t psi, Double_t theta, Double_t phi, Bool_t global)
virtual~AliAlignObjMatrix()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tAliAlignObj::ApplyToGeometry(Bool_t ovlpcheck = kFALSE)
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_tAliAlignObj::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
static AliAlignObj*AliAlignObj::GetAlignObj(UShort_t voluid)
static AliAlignObj*AliAlignObj::GetAlignObj(AliGeomManager::ELayerID layerId, Int_t modId)
virtual Bool_tGetAngles(Double_t* angles) const
voidAliAlignObj::GetCovMatrix(Double_t* cov) const
voidAliAlignObj::GetCovMatrix(TMatrixDSym& mcov) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static Bool_tAliAlignObj::GetFromGeometry(const char* symname, AliAlignObj& alobj)
virtual const char*TObject::GetIconName() const
Bool_tAliAlignObj::GetJacobian(TMatrixD& mJ) const
Int_tAliAlignObj::GetLevel() const
virtual Bool_tAliAlignObj::GetLocalAngles(Double_t* angles) const
Bool_tAliAlignObj::GetLocalCovMatrix(Double_t* cov) const
Bool_tAliAlignObj::GetLocalCovMatrix(TMatrixDSym& lCov) const
virtual Bool_tAliAlignObj::GetLocalMatrix(TGeoHMatrix& m) const
virtual Bool_tAliAlignObj::GetLocalPars(Double_t* transl, Double_t* angles) const
virtual Bool_tAliAlignObj::GetLocalTranslation(Double_t* tr) const
virtual voidGetMatrix(TGeoHMatrix& m) 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
static Bool_tAliAlignObj::GetOrigGlobalMatrix(const char* symname, TGeoHMatrix& m)
virtual Bool_tAliAlignObj::GetPars(Double_t* transl, Double_t* angles) const
const char*AliAlignObj::GetSymName() const
virtual const char*TObject::GetTitle() const
virtual voidGetTranslation(Double_t* tr) const
virtual UInt_tTObject::GetUniqueID() const
UShort_tAliAlignObj::GetVolUID() const
voidAliAlignObj::GetVolUID(AliGeomManager::ELayerID& layerId, Int_t& modId) 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
virtual AliAlignObj&Inverse() const
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_tAliAlignObj::IsSortable() const
Bool_tTObject::IsZombie() const
static const char*AliAlignObj::LayerName(Int_t layerId)
static Int_tAliAlignObj::LayerSize(Int_t layerId)
static UShort_tAliAlignObj::LayerToVolUID(AliGeomManager::ELayerID layerId, Int_t modId)
static UShort_tAliAlignObj::LayerToVolUID(Int_t layerId, Int_t modId)
static UShort_tAliAlignObj::LayerToVolUIDSafe(AliGeomManager::ELayerID layerId, Int_t modId)
static UShort_tAliAlignObj::LayerToVolUIDSafe(Int_t layerId, Int_t modId)
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)
AliAlignObj&AliAlignObj::operator*=(const AliAlignObj& theAlignObj)
AliAlignObjMatrix&operator=(const AliAlignObj& theAlignObj)
AliAlignObjMatrix&operator=(const AliAlignObjMatrix&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidAliAlignObj::Print(Option_t*) 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)
voidAliAlignObj::SetCorrMatrix(Double_t* cov)
voidAliAlignObj::SetCorrMatrix(TMatrixDSym& mcov)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tAliAlignObj::SetFromLocalCov(Double_t* lCov)
Bool_tAliAlignObj::SetFromLocalCov(TMatrixDSym& lCov)
virtual Bool_tAliAlignObj::SetLocalMatrix(const TGeoMatrix& m)
virtual Bool_tAliAlignObj::SetLocalPars(Double_t x, Double_t y, Double_t z, Double_t psi, Double_t theta, Double_t phi)
virtual Bool_tAliAlignObj::SetLocalRotation(const TGeoMatrix& m)
virtual Bool_tAliAlignObj::SetLocalRotation(Double_t psi, Double_t theta, Double_t phi)
virtual Bool_tAliAlignObj::SetLocalTranslation(const TGeoMatrix& m)
virtual Bool_tAliAlignObj::SetLocalTranslation(Double_t x, Double_t y, Double_t z)
virtual Bool_tAliAlignObj::SetMatrix(const TGeoMatrix& m)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidAliAlignObj::SetPars(Double_t x, Double_t y, Double_t z, Double_t psi, Double_t theta, Double_t phi)
virtual Bool_tSetRotation(const TGeoMatrix& m)
virtual voidSetRotation(Double_t psi, Double_t theta, Double_t phi)
voidAliAlignObj::SetSymName(const TString& symname)
virtual voidSetTranslation(const TGeoMatrix& m)
virtual voidSetTranslation(Double_t x, Double_t y, Double_t z)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidAliAlignObj::SetVolUID(UShort_t voluid)
voidAliAlignObj::SetVolUID(AliGeomManager::ELayerID layerId, Int_t modId)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
static const char*AliAlignObj::SymName(UShort_t voluid)
static const char*AliAlignObj::SymName(AliGeomManager::ELayerID layerId, Int_t modId)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
voidAliAlignObj::Transform(AliTrackPointArray& array) const
voidAliAlignObj::Transform(AliTrackPoint& p, Bool_t copycov = kFALSE) const
virtual voidTObject::UseCurrentStyle()
static AliGeomManager::ELayerIDAliAlignObj::VolUIDToLayer(UShort_t voluid)
static AliGeomManager::ELayerIDAliAlignObj::VolUIDToLayer(UShort_t voluid, Int_t& modId)
static AliGeomManager::ELayerIDAliAlignObj::VolUIDToLayerSafe(UShort_t voluid)
static AliGeomManager::ELayerIDAliAlignObj::VolUIDToLayerSafe(UShort_t voluid, Int_t& modId)
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:
voidAliAlignObj::AnglesToMatrix(const Double_t* angles, Double_t* rot) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
Bool_tAliAlignObj::MatrixToAngles(const Double_t* rot, Double_t* angles) const

Data Members

protected:
Double32_tAliAlignObj::fDiag[6]diagonal elements of the correlation matrix for shifts and rotations (dx,dy,dz,dpsi,dtheta,dphi)
TGeoHMatrixfMatrixTransformation matrix
Double32_tAliAlignObj::fODia[15][-1, 1,8] off-diagonal elements (in 8 bit precision) of the correlation matrix
TStringAliAlignObj::fVolPathSymbolic volume name; in case could coincide with
UShort_tAliAlignObj::fVolUIDUnique volume ID

Class Charts

Inheritance Chart:
TObject
AliAlignObj
AliAlignObjMatrix

Function documentation

AliAlignObjMatrix()
 Default constructor

AliAlignObjMatrix(const char* symname, UShort_t volUId, Double_t x, Double_t y, Double_t z, Double_t psi, Double_t theta, Double_t phi, Bool_t global)
 standard constructor with 3 translation + 3 rotation parameters
 If the user explicitly sets the global variable to kFALSE then the
 parameters are interpreted as giving the local transformation.
 This requires to have a gGeoMenager active instance, otherwise the
 constructor will fail (no object created)

AliAlignObjMatrix(const char* symname, UShort_t volUId, TGeoMatrix& m, Bool_t global)
 standard constructor with TGeoMatrix
 If the user explicitly sets the global variable to kFALSE then the
 parameters are interpreted as giving the local transformation.
 This requires to have a gGeoMenager active instance, otherwise the
 constructor will fail (no object created)

AliAlignObjMatrix(const AliAlignObj& theAlignObj)
copy constructor

~AliAlignObjMatrix()
 Destructor

void SetTranslation(Double_t x, Double_t y, Double_t z)
 set the translation coefficients of the data member matrix
 from the parameters passed as arguments

void SetTranslation(const TGeoMatrix& m)
 set the translation coefficients of the data member matrix
 from the matrix passed as argument

void SetRotation(Double_t psi, Double_t theta, Double_t phi)
 set the rotation parameters from the parameters passed as arguments

Bool_t SetRotation(const TGeoMatrix& m)
 set the rotation coefficients of the data member matrix
 from the matrix passed as argument

void GetTranslation(Double_t* tr) const
 Get Translation from TGeoMatrix
Bool_t GetAngles(Double_t* angles) const
 Get rotation angles from the TGeoHMatrix
void GetMatrix(TGeoHMatrix& m) const
 Get TGeoHMatrix

AliAlignObj& Inverse() const
 Return a temporary "inverse" of the alignment object, that is return
 an object with inverted transformation matrix.

AliAlignObjMatrix()
AliAlignObjMatrix& operator=(const AliAlignObj& theAlignObj)