@@ -70,10 +70,6 @@ Detector::Detector(bool active)
7070 mExtra = baseParam.modules_extra ;
7171
7272 mDzScint = baseParam.dzscint / 2 ;
73- mDzPlate = baseParam.dzplate ;
74-
75- mPlateBehindA = baseParam.plateBehindA ;
76- mFullContainer = baseParam.fullContainer ;
7773
7874 mZAC = baseParam.zmodAC ;
7975 mZAC_extra = baseParam.zmodAC_extra ;
@@ -89,7 +85,6 @@ Detector::Detector(bool active)
8985 float r = ringSize (mZAC_extra , eta);
9086 mRingSizes_extra .emplace_back (r);
9187 }
92-
9388}
9489
9590Detector::Detector (const Detector& rhs)
@@ -323,20 +318,6 @@ TGeoVolumeAssembly* Detector::buildModuleA()
323318 mod->AddNode (ring, ir + 1 );
324319 }
325320
326- // Aluminium plates on one or both sides of the A side module
327- if (mPlateBehindA || mFullContainer ) {
328- LOG (info) << " adding container on A side" ;
329- auto pmed = (TGeoMedium*)gGeoManager ->GetMedium (" FD3_Aluminium" );
330- auto pvol = new TGeoTube (" pvol_fd3a" , mRingSizes [0 ], mRingSizes [mNumberOfRings ], mDzPlate );
331- auto pnod1 = new TGeoVolume (" pnod1_FD3A" , pvol, pmed);
332- double dpz = 2 . + mDzPlate / 2 ;
333- mod->AddNode (pnod1, 1 , new TGeoTranslation (0 , 0 , dpz));
334-
335- if (mFullContainer ) {
336- auto pnod2 = new TGeoVolume (" pnod2_FD3A" , pvol, pmed);
337- mod->AddNode (pnod2, 1 , new TGeoTranslation (0 , 0 , -dpz));
338- }
339- }
340321 return mod;
341322}
342323
@@ -371,19 +352,6 @@ TGeoVolumeAssembly* Detector::buildModuleC()
371352 mod->AddNode (ring, ir + 1 );
372353 }
373354
374- // Aluminium plates on both sides of the C side module
375- if (mFullContainer ) {
376- LOG (info) << " adding container on C side" ;
377- auto pmed = (TGeoMedium*)gGeoManager ->GetMedium (" FD3_Aluminium" );
378- auto pvol = new TGeoTube (" pvol_fd3c" , mRingSizes [0 ], mRingSizes [mNumberOfRings ], mDzPlate );
379- auto pnod1 = new TGeoVolume (" pnod1_FD3C" , pvol, pmed);
380- auto pnod2 = new TGeoVolume (" pnod2_FD3C" , pvol, pmed);
381- double dpz = mDzScint / 2 + mDzPlate / 2 ;
382-
383- mod->AddNode (pnod1, 1 , new TGeoTranslation (0 , 0 , dpz));
384- mod->AddNode (pnod2, 2 , new TGeoTranslation (0 , 0 , -dpz));
385- }
386-
387355 return mod;
388356}
389357
0 commit comments