virtual | ~AliGeomManager() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
static Bool_t | ApplyAlignObjsFromCDB(const char* AlDetsList) |
static Bool_t | ApplyAlignObjsToGeom(TObjArray& alObjArray, Bool_t ovlpcheck = kFALSE) |
static Bool_t | ApplyAlignObjsToGeom(const char* fileName, const char* clArrayName) |
static Bool_t | ApplyAlignObjsToGeom(const char* detName, Int_t runnum, Int_t version, Int_t sversion) |
static Bool_t | ApplyAlignObjsToGeom(const char* uri, const char* path, Int_t runnum, Int_t version, Int_t sversion) |
virtual void | TObject::Browse(TBrowser* b) |
static void | CheckOverlapsOverPNs(Double_t threshold) |
static Bool_t | CheckSymNamesLUT(const char* detsToBeChecked) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TObject::Clear(Option_t* = "") |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
static void | Destroy() |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::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* | GetAlignObj(UShort_t voluid) |
static AliAlignObj* | GetAlignObj(AliGeomManager::ELayerID layerId, Int_t modId) |
static Bool_t | GetDeltaForBranch(AliAlignObj& aao, TGeoHMatrix& inclusiveD) |
static Bool_t | GetDeltaForBranch(Int_t index, TGeoHMatrix& inclusiveD) |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
static Bool_t | GetFromGeometry(const char* symname, AliAlignObj& alobj) |
static TGeoManager* | GetGeometry() |
virtual const char* | TObject::GetIconName() const |
static TGeoHMatrix* | GetMatrix(Int_t index) |
static TGeoHMatrix* | GetMatrix(const char* symname) |
static Int_t | GetNalignable(const char* module) |
virtual const char* | TObject::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
static TGeoHMatrix* | GetOrigGlobalMatrix(Int_t index) |
static Bool_t | GetOrigGlobalMatrix(const char* symname, TGeoHMatrix& m) |
static Bool_t | GetOrigRotation(Int_t index, Double_t* r) |
static Bool_t | GetOrigTranslation(Int_t index, Double_t* t) |
static Bool_t | GetRotation(Int_t index, Double_t* r) |
virtual const char* | TObject::GetTitle() const |
static const TGeoHMatrix* | GetTracking2LocalMatrix(Int_t index) |
static Bool_t | GetTrackingMatrix(Int_t index, TGeoHMatrix& m) |
static Bool_t | GetTranslation(Int_t index, Double_t* t) |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | TObject::IsZombie() const |
static const char* | LayerName(Int_t layerId) |
static Int_t | LayerSize(Int_t layerId) |
static UShort_t | LayerToVolUID(AliGeomManager::ELayerID layerId, Int_t modId) |
static UShort_t | LayerToVolUID(Int_t layerId, Int_t modId) |
static UShort_t | LayerToVolUIDSafe(AliGeomManager::ELayerID layerId, Int_t modId) |
static UShort_t | LayerToVolUIDSafe(Int_t layerId, Int_t modId) |
static Bool_t | LoadAlignObjsFromCDBSingleDet(const char* detName, TObjArray& alignObjArray) |
static void | LoadGeometry(const char* geomFileName = NULL) |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::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 void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | TObject::Print(Option_t* option = "") const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
static void | SetGeometry(TGeoManager *const geom) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
static const char* | SymName(UShort_t voluid) |
static const char* | SymName(AliGeomManager::ELayerID layerId, Int_t modId) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
static AliGeomManager::ELayerID | VolUIDToLayer(UShort_t voluid) |
static AliGeomManager::ELayerID | VolUIDToLayer(UShort_t voluid, Int_t& modId) |
static AliGeomManager::ELayerID | VolUIDToLayerSafe(UShort_t voluid) |
static AliGeomManager::ELayerID | VolUIDToLayerSafe(UShort_t voluid, Int_t& modId) |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
AliGeomManager() | |
AliGeomManager(const AliGeomManager&) | |
static TGeoHMatrix* | GetMatrix(TGeoPNEntry *const pne) |
static TGeoHMatrix* | GetOrigGlobalMatrix(TGeoPNEntry *const pne) |
static Bool_t | GetOrigGlobalMatrixFromPath(const char* path, TGeoHMatrix& m) |
static TGeoPNEntry* | GetPNEntry(Int_t index) |
static TGeoPNEntry* | GetPNEntry(AliGeomManager::ELayerID layerId, Int_t modId) |
static void | InitAlignObjFromGeometry() |
static void | InitNalignable() |
static void | InitPNEntriesLUT() |
AliGeomManager& | operator=(const AliGeomManager&) |
static void | ResetPNEntriesLUT() |
enum ELayerID { | kInvalidLayer | |
kFirstLayer | ||
kSPD1 | ||
kSPD2 | ||
kSDD1 | ||
kSDD2 | ||
kSSD1 | ||
kSSD2 | ||
kTPC1 | ||
kTPC2 | ||
kTRD1 | ||
kTRD2 | ||
kTRD3 | ||
kTRD4 | ||
kTRD5 | ||
kTRD6 | ||
kTOF | ||
kPHOS1 | ||
kPHOS2 | ||
kHMPID | ||
kMUON | ||
kEMCAL | ||
kLastLayer | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
static AliAlignObj** | fgAlignObjs[20] | Alignment objects |
static TGeoManager* | fgGeometry | |
static const char* | fgLayerName[20] | Name of layers |
static Int_t | fgLayerSize[20] | Size of layers |
static Int_t | fgNalignable[18] | |
static TGeoPNEntry** | fgPNEntry[20] | TGeoPNEntries |
static const char* | fgkDetectorName[18] | name of detectors |
static const Int_t | fgkNDetectors | number of detectors + AD |
Inheritance Chart: | ||||||||
|
initialization Load geometry either from a file or from the corresponding CDB entry
Get the layer size for layer corresponding to layerId. Implemented only for ITS,TPC,TRD,TOF and HMPID
Get the layer name corresponding to layerId. Implemented only for ITS,TPC,TRD,TOF and HMPID
From detector (layer) name and module number (according to detector internal numbering) build the unique numerical identity of that volume inside ALICE fVolUID is 16 bits, first 5 reserved for layerID (32 possible values), remaining 11 for module ID inside det (2048 possible values). NO check for validity of given modId inside the layer for speed's sake.
From detector (layer) name and module number (according to detector internal numbering) build the unique numerical identity of that volume inside ALICE fVolUID is 16 bits, first 5 reserved for layerID (32 possible values), remaining 11 for module ID inside det (2048 possible values). NO check for validity of given modId inside the layer for speed's sake.
From detector (layer) name and module number (according to detector internal numbering) build the unique numerical identity of that volume inside ALICE fVolUID is 16 bits, first 5 reserved for layerID (32 possible values), remaining 11 for module ID inside det (2048 possible values). Check validity of given modId inside the layer.
From detector (layer) name and module number (according to detector internal numbering) build the unique numerical identity of that volume inside ALICE fVolUID is 16 bits, first 5 reserved for layerID (32 possible values), remaining 11 for module ID inside det (2048 possible values). Check validity of given modId inside the layer.
Get the alignment object which corresponds to the symbolic volume name symname (in case equal to the TGeo volume path) The method is extremely slow due to the searching by string, therefore it should be used with great care!! This method returns FALSE if the symname of the object was not valid neither to get a TGeoPEntry nor as a volume path, or if the path associated to the TGeoPNEntry was not valid.
Loop over all alignable volumes and extract the corresponding alignment objects from the TGeo geometry
Returns pointer to alignment object given its layer and module ID
Returns the symbolic volume name given for a given layer and module ID
Check the look-up table which associates the unique numerical identity of each alignable volume to the corresponding symbolic volume name. The LUT is now held inside the geometry and handled by TGeo. The method is meant to be launched when loading a geometry to verify that no changes in the symbolic names have been introduced, which would prevent backward compatibility with alignment objects. To accept both complete and partial geometry, this method skips the check for TRD and TOF volumes which are missing in the partial geometry.
Initialize the look-up table which associates the unique numerical identity of each alignable volume to the corresponding TGeoPNEntry. The LUTs are static; they are created at the creation of the AliGeomManager instance and recreated if the geometry has changed
Get the global transformation matrix for a given PNEntry by quering the TGeoManager
Get the global transformation matrix for a given alignable volume identified by its unique ID 'index' by quering the TGeoManager
Get the global transformation matrix for a given alignable volume identified by its symbolic name 'symname' by quering the TGeoManager
Get the translation vector for a given module 'index' by quering the TGeoManager
Get the rotation matrix for a given module 'index' by quering the TGeoManager
The method sets the matrix passed as argument as the global delta (for the volume referred by the unique index) including the displacements of all parent volumes in the branch.
The method sets the matrix passed as argument as the global delta (for the volume referred by the alignment object) including the displacements of all parent volumes in the brach.
Get the global transformation matrix (ideal geometry) for a given alignable volume The alignable volume is identified by 'symname' which has to be either a valid symbolic name, the query being performed after alignment, or a valid volume path if the query is performed before alignment.
The method returns the global matrix for the volume identified by 'path' in the ideal detector geometry. The output global matrix is stored in 'm'. Returns kFALSE in case TGeo has not been initialized or the volume path is not valid.
The method returns global matrix for the ideal detector geometry using the corresponding TGeoPNEntry as an input. The returned pointer should be copied by the user, since its content could be overwritten by a following call to the method. In case of missing TGeoManager the method returns NULL.
The method returns global matrix from the ideal detector geometry for the volume identified by its index. The returned pointer should be copied by the user, since its content could be overwritten by a following call to the method. In case of missing TGeoManager the method returns NULL. If possible, the method uses the LUT of original ideal matrices for fast access. The LUT is reset in case a new geometry is loaded.
Get the original translation vector (ideal geometry) for a given module 'index' by quering the TGeoManager
Get the original rotation matrix (ideal geometry) for a given module 'index' by quering the TGeoManager
Get the matrix which transforms from the tracking to the local RS The method queries directly the TGeoPNEntry
Get the matrix which transforms from the tracking r.s. to the global one. Returns kFALSE in case of error.
Returns the TGeoPNEntry for the given global volume ID "voluid"
Returns the TGeoPNEntry for a given layer and module ID
Check for overlaps/extrusions on physical nodes only; this overlap-checker is meant to be used to check overlaps/extrusions originated by the application of alignment objects.
Get number of declared alignable volumes in current geometry
for the given detector "module" passed as a vaild detector name
if the detector name is invalid return -1
Set number of declared alignable volumes for given detector in current geometry by looping on the list of PNEntries
Calls AddAlignObjsFromCDBSingleDet for the detectors appearing in the list passed as argument (called by AliSimulation and AliReconstruction) Read the alignment objects from CDB. Each detector is supposed to have the alignment objects in DET/Align/Data CDB path. All the detector objects are then collected, sorted by geometry level (starting from ALIC) and then applied to the TGeo geometry. Finally an overlaps check is performed.
Adds the alignable objects found in the CDBEntry for the detector passed as argument to the array of all alignment objects to be applyed to geometry Fills array of single detector's alignable objects from CDB
Read collection of alignment objects (AliAlignObj derived) saved in the TClonesArray alObjArray and apply them to gGeoManager
read collection of alignment objects (AliAlignObj derived) saved in the TClonesArray ClArrayName in the file fileName and apply them to the geometry
read collection of alignment objects (AliAlignObj derived) saved in the TClonesArray ClArrayName in the AliCDBEntry identified by param (to get the AliCDBStorage) and Id; apply the alignment objects to the geometry
read collection of alignment objects (AliAlignObj derived) saved in the TClonesArray ClArrayName in the AliCDBEntry identified by param (to get the AliCDBStorage) and Id; apply the alignment objects to the geometry
cleans static arrays containing the information on currently loaded geometry