AliRoot Core  3dc7879 (3dc7879)
AliGeomManager Class Reference

#include <AliGeomManager.h>

Inheritance diagram for AliGeomManager:

Public Types

enum  ELayerID {
  kInvalidLayer =0, kFirstLayer =1, kSPD1 =1, kSPD2 =2,
  kSDD1 =3, kSDD2 =4, kSSD1 =5, kSSD2 =6,
  kTPC1 =7, kTPC2 =8, kTRD1 =9, kTRD2 =10,
  kTRD3 =11, kTRD4 =12, kTRD5 =13, kTRD6 =14,
  kTOF =15, kPHOS1 =16, kPHOS2 =17, kHMPID =18,
  kMUON =19, kEMCAL =20, kLastLayer =21
}
 

Public Member Functions

 ~AliGeomManager ()
 

Static Public Member Functions

static TGeoManager * GetGeometry ()
 
static void Destroy ()
 
static Int_t LayerSize (Int_t layerId)
 
static const char * LayerName (Int_t layerId)
 
static UShort_t LayerToVolUID (ELayerID layerId, Int_t modId)
 
static UShort_t LayerToVolUID (Int_t layerId, Int_t modId)
 
static ELayerID VolUIDToLayer (UShort_t voluid, Int_t &modId)
 
static ELayerID VolUIDToLayer (UShort_t voluid)
 
static UShort_t LayerToVolUIDSafe (ELayerID layerId, Int_t modId)
 
static UShort_t LayerToVolUIDSafe (Int_t layerId, Int_t modId)
 
static ELayerID VolUIDToLayerSafe (UShort_t voluid, Int_t &modId)
 
static ELayerID VolUIDToLayerSafe (UShort_t voluid)
 
static const char * SymName (UShort_t voluid)
 
static const char * SymName (ELayerID layerId, Int_t modId)
 
static Bool_t GetFromGeometry (const char *symname, AliAlignObj &alobj)
 
static AliAlignObjGetAlignObj (UShort_t voluid)
 
static AliAlignObjGetAlignObj (ELayerID layerId, Int_t modId)
 
static TGeoHMatrix * GetMatrix (Int_t index)
 
static TGeoHMatrix * GetMatrix (const char *symname)
 
static Bool_t GetTranslation (Int_t index, Double_t t[3])
 
static Bool_t GetRotation (Int_t index, Double_t r[9])
 
static Bool_t GetDeltaForBranch (AliAlignObj &aao, TGeoHMatrix &inclusiveD)
 
static Bool_t GetDeltaForBranch (Int_t index, TGeoHMatrix &inclusiveD)
 
static TGeoHMatrix * GetOrigGlobalMatrix (Int_t index)
 
static Bool_t GetOrigGlobalMatrix (const char *symname, TGeoHMatrix &m)
 
static Bool_t GetOrigTranslation (Int_t index, Double_t t[3])
 
static Bool_t GetOrigRotation (Int_t index, Double_t r[9])
 
static const TGeoHMatrix * GetTracking2LocalMatrix (Int_t index)
 
static Bool_t GetTrackingMatrix (Int_t index, TGeoHMatrix &m)
 
static void LoadGeometry (const char *geomFileName=NULL)
 
static void SetGeometry (TGeoManager *const geom)
 
static void CheckOverlapsOverPNs (Double_t threshold)
 
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 *uri, const char *path, Int_t runnum, Int_t version, Int_t sversion)
 
static Bool_t ApplyAlignObjsToGeom (const char *detName, Int_t runnum, Int_t version, Int_t sversion)
 
static Bool_t ApplyAlignObjsFromCDB (const char *AlDetsList)
 
static Bool_t LoadAlignObjsFromCDBSingleDet (const char *detName, TObjArray &alignObjArray)
 
static Bool_t CheckSymNamesLUT (const char *detsToBeChecked)
 
static Int_t GetNalignable (const char *module)
 

Private Member Functions

 AliGeomManager ()
 
 AliGeomManager (const AliGeomManager &)
 
AliGeomManageroperator= (const AliGeomManager &)
 

Static Private Member Functions

static TGeoHMatrix * GetMatrix (TGeoPNEntry *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 (ELayerID layerId, Int_t modId)
 
static void ResetPNEntriesLUT ()
 
static void InitAlignObjFromGeometry ()
 
static void InitPNEntriesLUT ()
 
static void InitNalignable ()
 

Static Private Attributes

static TGeoManager * fgGeometry = 0x0
 
static Int_t fgLayerSize [kLastLayer-kFirstLayer]
 
static const char * fgLayerName [kLastLayer-kFirstLayer]
 
static TGeoPNEntry ** fgPNEntry [kLastLayer-kFirstLayer]
 
static AliAlignObj ** fgAlignObjs [kLastLayer-kFirstLayer]
 
static const Int_t fgkNDetectors = 18
 
static const char * fgkDetectorName [fgkNDetectors]
 
static Int_t fgNalignable [fgkNDetectors] = {0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
 

Detailed Description

Definition at line 28 of file AliGeomManager.h.

Member Enumeration Documentation

Enumerator
kInvalidLayer 
kFirstLayer 
kSPD1 
kSPD2 
kSDD1 
kSDD2 
kSSD1 
kSSD2 
kTPC1 
kTPC2 
kTRD1 
kTRD2 
kTRD3 
kTRD4 
kTRD5 
kTRD6 
kTOF 
kPHOS1 
kPHOS2 
kHMPID 
kMUON 
kEMCAL 
kLastLayer 

Definition at line 31 of file AliGeomManager.h.

Constructor & Destructor Documentation

AliGeomManager::~AliGeomManager ( )

Definition at line 173 of file AliGeomManager.cxx.

Referenced by GetGeometry().

AliGeomManager::AliGeomManager ( )
private

Definition at line 166 of file AliGeomManager.cxx.

Referenced by GetGeometry().

AliGeomManager::AliGeomManager ( const AliGeomManager )
private

Member Function Documentation

Bool_t AliGeomManager::ApplyAlignObjsToGeom ( TObjArray alObjArray,
Bool_t  ovlpcheck = kFALSE 
)
static
Bool_t AliGeomManager::ApplyAlignObjsToGeom ( const char *  fileName,
const char *  clArrayName 
)
static

Definition at line 1733 of file AliGeomManager.cxx.

Bool_t AliGeomManager::ApplyAlignObjsToGeom ( const char *  uri,
const char *  path,
Int_t  runnum,
Int_t  version,
Int_t  sversion 
)
static

Definition at line 1758 of file AliGeomManager.cxx.

Bool_t AliGeomManager::ApplyAlignObjsToGeom ( const char *  detName,
Int_t  runnum,
Int_t  version,
Int_t  sversion 
)
static

Definition at line 1776 of file AliGeomManager.cxx.

void AliGeomManager::CheckOverlapsOverPNs ( Double_t  threshold)
static

Definition at line 1498 of file AliGeomManager.cxx.

Referenced by GetGeometry().

Bool_t AliGeomManager::CheckSymNamesLUT ( const char *  detsToBeChecked)
static

! 6 layers with index increasing in outwards direction

Definition at line 486 of file AliGeomManager.cxx.

Referenced by AliReconstruction::Begin(), GetGeometry(), AliMC::MisalignGeometry(), AliSimulation::Run(), and AliSimulation::RunSimulation().

void AliGeomManager::Destroy ( )
static

Definition at line 108 of file AliGeomManager.cxx.

Referenced by AliReconstruction::AliReconstruction(), and GetGeometry().

AliAlignObj * AliGeomManager::GetAlignObj ( UShort_t  voluid)
static

Definition at line 427 of file AliGeomManager.cxx.

Referenced by AliAlignObj::GetAlignObj(), and GetGeometry().

AliAlignObj * AliGeomManager::GetAlignObj ( ELayerID  layerId,
Int_t  modId 
)
static

Definition at line 437 of file AliGeomManager.cxx.

Bool_t AliGeomManager::GetDeltaForBranch ( AliAlignObj aao,
TGeoHMatrix &  inclusiveD 
)
static

Definition at line 1273 of file AliGeomManager.cxx.

Referenced by GetGeometry().

Bool_t AliGeomManager::GetDeltaForBranch ( Int_t  index,
TGeoHMatrix &  inclusiveD 
)
static

Definition at line 1256 of file AliGeomManager.cxx.

Bool_t AliGeomManager::GetFromGeometry ( const char *  symname,
AliAlignObj alobj 
)
static
TGeoHMatrix * AliGeomManager::GetMatrix ( Int_t  index)
static
TGeoHMatrix * AliGeomManager::GetMatrix ( const char *  symname)
static

Definition at line 1209 of file AliGeomManager.cxx.

TGeoHMatrix * AliGeomManager::GetMatrix ( TGeoPNEntry *  pne)
staticprivate

Definition at line 1177 of file AliGeomManager.cxx.

Int_t AliGeomManager::GetNalignable ( const char *  module)
static
TGeoHMatrix * AliGeomManager::GetOrigGlobalMatrix ( Int_t  index)
static
Bool_t AliGeomManager::GetOrigGlobalMatrix ( const char *  symname,
TGeoHMatrix &  m 
)
static

Definition at line 1288 of file AliGeomManager.cxx.

TGeoHMatrix * AliGeomManager::GetOrigGlobalMatrix ( TGeoPNEntry *const  pne)
staticprivate

Definition at line 1374 of file AliGeomManager.cxx.

Bool_t AliGeomManager::GetOrigGlobalMatrixFromPath ( const char *  path,
TGeoHMatrix &  m 
)
staticprivate

Definition at line 1327 of file AliGeomManager.cxx.

Referenced by GetGeometry(), and GetOrigGlobalMatrix().

Bool_t AliGeomManager::GetOrigRotation ( Int_t  index,
Double_t  r[9] 
)
static
Bool_t AliGeomManager::GetOrigTranslation ( Int_t  index,
Double_t  t[3] 
)
static

Definition at line 1407 of file AliGeomManager.cxx.

Referenced by GetGeometry().

TGeoPNEntry * AliGeomManager::GetPNEntry ( Int_t  index)
staticprivate
TGeoPNEntry * AliGeomManager::GetPNEntry ( ELayerID  layerId,
Int_t  modId 
)
staticprivate

Definition at line 1483 of file AliGeomManager.cxx.

Bool_t AliGeomManager::GetRotation ( Int_t  index,
Double_t  r[9] 
)
static

Definition at line 1241 of file AliGeomManager.cxx.

Referenced by GetGeometry().

const TGeoHMatrix * AliGeomManager::GetTracking2LocalMatrix ( Int_t  index)
static
Bool_t AliGeomManager::GetTrackingMatrix ( Int_t  index,
TGeoHMatrix &  m 
)
static

Definition at line 1453 of file AliGeomManager.cxx.

Referenced by GetGeometry().

Bool_t AliGeomManager::GetTranslation ( Int_t  index,
Double_t  t[3] 
)
static

Definition at line 1226 of file AliGeomManager.cxx.

Referenced by GetGeometry().

void AliGeomManager::InitAlignObjFromGeometry ( )
staticprivate

Definition at line 405 of file AliGeomManager.cxx.

Referenced by GetAlignObj(), and GetGeometry().

void AliGeomManager::InitNalignable ( )
staticprivate

Definition at line 1565 of file AliGeomManager.cxx.

Referenced by GetGeometry(), LoadGeometry(), and SetGeometry().

void AliGeomManager::InitPNEntriesLUT ( )
staticprivate

Definition at line 1155 of file AliGeomManager.cxx.

Referenced by GetGeometry(), LoadGeometry(), and SetGeometry().

const char * AliGeomManager::LayerName ( Int_t  layerId)
static
UShort_t AliGeomManager::LayerToVolUID ( Int_t  layerId,
Int_t  modId 
)
static

Definition at line 222 of file AliGeomManager.cxx.

UShort_t AliGeomManager::LayerToVolUIDSafe ( ELayerID  layerId,
Int_t  modId 
)
static

Definition at line 235 of file AliGeomManager.cxx.

Referenced by GetGeometry(), and AliAlignObj::LayerToVolUIDSafe().

UShort_t AliGeomManager::LayerToVolUIDSafe ( Int_t  layerId,
Int_t  modId 
)
static

Definition at line 252 of file AliGeomManager.cxx.

Bool_t AliGeomManager::LoadAlignObjsFromCDBSingleDet ( const char *  detName,
TObjArray alignObjArray 
)
static

Definition at line 1651 of file AliGeomManager.cxx.

Referenced by ApplyAlignObjsFromCDB(), and GetGeometry().

AliGeomManager& AliGeomManager::operator= ( const AliGeomManager )
private

Referenced by GetGeometry().

void AliGeomManager::ResetPNEntriesLUT ( )
staticprivate

Definition at line 1794 of file AliGeomManager.cxx.

Referenced by Destroy(), GetGeometry(), LoadGeometry(), and SetGeometry().

const char * AliGeomManager::SymName ( ELayerID  layerId,
Int_t  modId 
)
static

Definition at line 461 of file AliGeomManager.cxx.

AliGeomManager::ELayerID AliGeomManager::VolUIDToLayer ( UShort_t  voluid)
static

Definition at line 284 of file AliGeomManager.cxx.

AliGeomManager::ELayerID AliGeomManager::VolUIDToLayerSafe ( UShort_t  voluid,
Int_t &  modId 
)
static

Definition at line 296 of file AliGeomManager.cxx.

Referenced by GetGeometry(), and AliAlignObj::VolUIDToLayerSafe().

AliGeomManager::ELayerID AliGeomManager::VolUIDToLayerSafe ( UShort_t  voluid)
static

Definition at line 321 of file AliGeomManager.cxx.

Member Data Documentation

AliAlignObj ** AliGeomManager::fgAlignObjs
staticprivate
Initial value:
= {
0x0,0x0,
0x0,0x0,
0x0,0x0,
0x0,0x0,
0x0,0x0,0x0,
0x0,0x0,0x0,
0x0,
0x0,0x0,
0x0,
0x0,
0x0
}

Definition at line 124 of file AliGeomManager.h.

Referenced by GetAlignObj(), and InitAlignObjFromGeometry().

const char * AliGeomManager::fgkDetectorName
staticprivate
Initial value:
=
{"GRP","ITS","TPC","TRD","TOF","PHOS","HMPID","EMCAL","MUON","FMD","ZDC","PMD","T0","VZERO","ACORDE","AD","MFT","FIT"}

Definition at line 126 of file AliGeomManager.h.

Referenced by GetNalignable(), and InitNalignable().

const Int_t AliGeomManager::fgkNDetectors = 18
staticprivate

Definition at line 125 of file AliGeomManager.h.

Referenced by GetNalignable(), and InitNalignable().

const char * AliGeomManager::fgLayerName
staticprivate
Initial value:
= {
"ITS inner pixels layer", "ITS outer pixels layer",
"ITS inner drifts layer", "ITS outer drifts layer",
"ITS inner strips layer", "ITS outer strips layer",
"TPC inner chambers layer", "TPC outer chambers layer",
"TRD chambers layer 1", "TRD chambers layer 2", "TRD chambers layer 3",
"TRD chambers layer 4", "TRD chambers layer 5", "TRD chambers layer 6",
"TOF layer",
"PHOS EMC layer","PHOS CPV layer",
"HMPID layer",
"MUON ?",
"EMCAL layer"
}

Definition at line 122 of file AliGeomManager.h.

Referenced by LayerName().

Int_t AliGeomManager::fgLayerSize
staticprivate
Initial value:
= {
80, 160,
84, 176,
748, 950,
36, 36,
90, 90, 90, 90, 90, 90,
1638,
5, 5,
7,
1,
22
}

Definition at line 121 of file AliGeomManager.h.

Referenced by GetAlignObj(), GetPNEntry(), InitPNEntriesLUT(), LayerSize(), ResetPNEntriesLUT(), and SymName().

Int_t AliGeomManager::fgNalignable = {0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
staticprivate

Definition at line 127 of file AliGeomManager.h.

Referenced by GetNalignable(), and InitNalignable().

TGeoPNEntry ** AliGeomManager::fgPNEntry
staticprivate
Initial value:
= {
0x0,0x0,
0x0,0x0,
0x0,0x0,
0x0,0x0,
0x0,0x0,0x0,
0x0,0x0,0x0,
0x0,
0x0,0x0,
0x0,
0x0,
0x0
}

Definition at line 123 of file AliGeomManager.h.

Referenced by GetPNEntry(), InitPNEntriesLUT(), ResetPNEntriesLUT(), and SymName().


The documentation for this class was generated from the following files: