@@ -76,7 +76,7 @@ Detector::Detector(bool active)
7676 mDzScint = baseParam.dzscint / 2 ;
7777 mDzPlate = baseParam.dzplate ;
7878
79- mPlateBehindA = baseParam.plateBehindA ;
79+ mPlateBehindA = baseParam.plateBehindA ;
8080 mFullContainer = baseParam.fullContainer ;
8181
8282 mZA = baseParam.zmodA ;
@@ -288,7 +288,6 @@ void Detector::createMaterials()
288288 o2::base::Detector::Material (++matId, " Aluminium" , aAlu, zAlu, dAlu, 8.9 , 999 );
289289 o2::base::Detector::Medium (Aluminium, " Aluminium" , matId, unsens, fieldType, maxField,
290290 tmaxfd, stemax, deemax, epsil, stmin);
291-
292291}
293292
294293void Detector::buildModules ()
@@ -343,11 +342,11 @@ TGeoVolumeAssembly* Detector::buildModuleA()
343342 auto pnod1 = new TGeoVolume (" pnod1_FDA" , pvol, pmed);
344343 double dpz = 2 . + mDzPlate / 2 ;
345344 mod->AddNode (pnod1, 1 , new TGeoTranslation (0 , 0 , dpz));
346-
345+
347346 if (mFullContainer ) {
348347 auto pnod2 = new TGeoVolume (" pnod2_FDA" , pvol, pmed);
349348 mod->AddNode (pnod2, 1 , new TGeoTranslation (0 , 0 , -dpz));
350- }
349+ }
351350 }
352351 return mod;
353352}
@@ -389,7 +388,7 @@ TGeoVolumeAssembly* Detector::buildModuleC()
389388 double dpz = mDzScint / 2 + mDzPlate / 2 ;
390389
391390 mod->AddNode (pnod1, 1 , new TGeoTranslation (0 , 0 , dpz));
392- mod->AddNode (pnod2, 1 , new TGeoTranslation (0 , 0 , - dpz));
391+ mod->AddNode (pnod2, 1 , new TGeoTranslation (0 , 0 , -dpz));
393392 }
394393
395394 return mod;
0 commit comments