gMC->Gspos("PBE1", isup, "PCA1", x, 0.0, 0.0, 0, "ONLY") ;
}
- z = -warmthermo[2] + cbox[2] - 0.1 ;
+ z = -warmthermo[2] + cbox[2];
gMC->Gspos("PCA1", 1, "PWTI", 0.0, 0.0, z, 0, "ONLY") ;
gMC->Gsvolu("PCA2", "BOX ", idtmed[718], emcg->GetTCables2HalfSize(), 3) ;
gMC->Gspos("PBE2", isup, "PCA2", x, 0.0, 0.0, 0, "ONLY") ;
}
- z = -warmthermo[2] + 2*cbox[2] + cbox2[2] - 0.1 ;
+ z = -warmthermo[2] + 2*cbox[2] + cbox2[2];
gMC->Gspos("PCA2", 1, "PWTI", 0.0, 0.0, z, 0, "ONLY") ;
gMC->Gspos("PFG1", 2, "PWTI", posit[0], -posit[1], posit[2], 0, "ONLY") ;
gMC->Gsvolu("PFG2", "BOX ", idtmed[717], emcg->GetFGupZHalfSize(), 3) ;
- posit = emcg->GetFGupZPosition() ;
+ posit = emcg->GetFGupZPosition();
gMC->Gspos("PFG2", 1, "PWTI", posit[0], posit[1], posit[2], 0, "ONLY") ;
gMC->Gspos("PFG2", 2, "PWTI", -posit[0], posit[1], posit[2], 0, "ONLY") ;
char im[5] ;
for(Int_t iModule=1; iModule<=nModules; iModule++){
sprintf(im,"%d",iModule) ;
+ modUID = AliGeomManager::LayerToVolUID(idPHOS1,modnum++);
if(strstr(GetTitle(),im)==0 && strcmp(GetTitle(),"IHEP")!=0 && strcmp(GetTitle(),"noCPV")!=0)
continue ;
- modUID = AliGeomManager::LayerToVolUID(idPHOS1,modnum++);
volpath = physModulePath;
volpath += iModule;
// volpath += "/PEMC_1/PCOL_1/PTIO_1/PCOR_1/PAGA_1/PTII_1";
if(strstr(GetTitle(),"noCPV"))
continue ;
sprintf(im,"%d",iModule) ;
+ modUID = AliGeomManager::LayerToVolUID(idPHOS2,modnum++);
if(strstr(GetTitle(),im)==0 && strcmp(GetTitle(),"IHEP")!=0)
continue ;
- modUID = AliGeomManager::LayerToVolUID(idPHOS2,modnum++);
volpath = physModulePath;
volpath += iModule;
volpath += "/PCPV_1";