Bug in Alignble entry fixed
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2007 08:29:58 +0000 (08:29 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2007 08:29:58 +0000 (08:29 +0000)
HMPID/AliHMPIDParam.cxx

index e0cf73f700a6551e52053039531134b5152af6bd..4e4eacdeb879bb503afdb42aec791e672e6eb4c1 100644 (file)
@@ -28,7 +28,7 @@ ClassImp(AliHMPIDParam)
 
 AliHMPIDParam* AliHMPIDParam::fgInstance=0x0;        //singleton pointer               
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-AliHMPIDParam::AliHMPIDParam():TNamed("RichParam","default version") 
+AliHMPIDParam::AliHMPIDParam():TNamed("HmpidParam","default version") 
 {
 // Here all the intitializition is taken place when AliHMPIDParam::Instance() is invoked for the first time.
 // In particulare, matrices to be used for LORS<->MARS trasnformations are initialized from TGeo structure.    
@@ -38,7 +38,7 @@ AliHMPIDParam::AliHMPIDParam():TNamed("RichParam","default version")
   for(Int_t i=AliHMPIDDigit::kMinCh;i<=AliHMPIDDigit::kMaxCh;i++) 
     if(gGeoManager && gGeoManager->IsClosed()) {
 //      fM[i]=(TGeoHMatrix*)gGeoManager->GetVolume("ALIC")->GetNode(Form("HMPID_%i",i))->GetMatrix(); // previous style
-      TGeoPNEntry* pne = gGeoManager->GetAlignableEntry(i);
+      TGeoPNEntry* pne = gGeoManager->GetAlignableEntry(Form("/HMPID/Chamber%i",i));
       if (!pne) {
         AliErrorClass(Form("The symbolic volume %s does not correspond to any physical entry!",Form("HMPID_%i",i)));
         fM[i]=new TGeoHMatrix;