]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added some missing const to compy with coding rules
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 17:23:07 +0000 (17:23 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 17:23:07 +0000 (17:23 +0000)
STEER/AliGeomManager.cxx
STEER/AliGeomManager.h

index 893603c95a425c7ebea3a73cfe4b43eeef0f2f84..80a8332300a165f4aab760795aa775614e5d9c81 100644 (file)
@@ -136,7 +136,7 @@ void AliGeomManager::LoadGeometry(const char *geomFileName)
 }
 
 //_____________________________________________________________________________
-void AliGeomManager::SetGeometry(TGeoManager *geom)
+void AliGeomManager::SetGeometry(TGeoManager * const geom)
 {
   // Load already active geometry
   if (!geom) AliFatalClass("Pointer to the active geometry is 0x0!");
@@ -1131,7 +1131,7 @@ void AliGeomManager::InitPNEntriesLUT()
 }
 
 //______________________________________________________________________
-TGeoHMatrix* AliGeomManager::GetMatrix(TGeoPNEntry* pne) 
+TGeoHMatrix* AliGeomManager::GetMatrix(TGeoPNEntry * const pne) 
 {
   // Get the global transformation matrix for a given PNEntry
   // by quering the TGeoManager
@@ -1330,7 +1330,7 @@ Bool_t AliGeomManager::GetOrigGlobalMatrixFromPath(const char *path, TGeoHMatrix
 }
 
 //_____________________________________________________________________________
-TGeoHMatrix* AliGeomManager::GetOrigGlobalMatrix(TGeoPNEntry* pne)
+TGeoHMatrix* AliGeomManager::GetOrigGlobalMatrix(TGeoPNEntry * const pne)
 {
   // The method returns global matrix for the ideal detector geometry
   // using the corresponding TGeoPNEntry as an input.
index 42ae9a879707e5668e08fbc2019a11f1469a6217..a8aff5cf981d90f99918f745ff105e83627ad110 100644 (file)
@@ -79,7 +79,7 @@ public:
   static Bool_t GetTrackingMatrix(Int_t index, TGeoHMatrix &m);
 
   static void        LoadGeometry(const char *geomFileName = NULL);
-  static void        SetGeometry(TGeoManager *geom);
+  static void        SetGeometry(TGeoManager * const geom);
   static void        CheckOverlapsOverPNs(Double_t threshold);  
 
   static Bool_t         ApplyAlignObjsToGeom(TObjArray& alObjArray, Bool_t ovlpcheck=kFALSE);
@@ -105,8 +105,8 @@ public:
   AliGeomManager(const AliGeomManager&);
   AliGeomManager& operator=(const AliGeomManager&);
 
-  static TGeoHMatrix* GetMatrix(TGeoPNEntry* pne);
-  static TGeoHMatrix* GetOrigGlobalMatrix(TGeoPNEntry* pne);
+  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);