@@ -3490,7 +3490,7 @@ TGeoVolume* V3Layer::createModuleOuterB(const TGeoManager* mgr)
34903490 Double_t ysig = (static_cast <TGeoBBox*>(cuSignalCableVol->GetShape ()))->GetDY ();
34913491
34923492 xlen = (static_cast <TGeoBBox*>(cuGndCableVol->GetShape ()))->GetDX ();
3493- // ylen = glueCP->GetDY() + ychip + glueFPC->GetDY() + ysig + flexKap->GetDY() + ygnd;
3493+ // ylen = glueCP->GetDY() + ychip + glueFPC->GetDY() + ysig + flexKap->GetDY() + ygnd;
34943494 ylen = glueCP->GetDY () + ychip + glueFPC->GetDY () + ysig + flexKap->GetDY () + ygnd + sOBFPCCapacitorYHi / 2 ;
34953495 TGeoBBox* module = new TGeoBBox (" OBModule" , xlen, ylen, zlen);
34963496
@@ -3690,29 +3690,28 @@ void V3Layer::createOBFPCCapacitors(TGeoVolume* modvol, Double_t xmodlen, Double
36903690 // will be translated to TGeo Z,X with respect center of module)
36913691 const Int_t nGroups = 10 ;
36923692 const Double_t xyCapacitors[nGroups][2 ] = {
3693- {26.34 * sMm , 14.02 * sMm }, {7.16 * sMm , 18.96 * sMm },
3694- {26.04 * sMm , 10.34 * sMm }, {7.91 * sMm , 22.67 * sMm },
3695- {41.36 * sMm , 18.78 * sMm }, {41.56 * sMm , 14.23 * sMm },
3696- {64.35 * sMm , 13.54 * sMm }, {25.95 * sMm , 19.38 * sMm },
3697- {64.39 * sMm , 10.45 * sMm }, {22.21 * sMm , 22.63 * sMm }
3698- };
3693+ {26.34 * sMm , 14.02 * sMm }, {7.16 * sMm , 18.96 * sMm }, {26.04 * sMm , 10.34 * sMm }, {7.91 * sMm , 22.67 * sMm }, {41.36 * sMm , 18.78 * sMm }, {41.56 * sMm , 14.23 * sMm }, {64.35 * sMm , 13.54 * sMm }, {25.95 * sMm , 19.38 * sMm }, {64.39 * sMm , 10.45 * sMm }, {22.21 * sMm , 22.63 * sMm }};
36993694
37003695 const Double_t deltaYCapacitors = 30 * sMm ;
37013696
37023697 const Int_t nCapacitors[nGroups] = {7 , 7 , 7 , 7 , 5 , 5 , 5 , 7 , 5 , 7 };
37033698
37043699 const Double_t xyCapacitorSingle[8 ][2 ] = {
3705- {14.91 * sMm , 18.78 * sMm }, {195.81 * sMm , 18.78 * sMm },
3706- {15.11 * sMm , 14.23 * sMm }, {196.01 * sMm , 14.23 * sMm },
3707- {34.20 * sMm , 13.54 * sMm }, {36.59 * sMm , 10.33 * sMm },
3708- {7.73 * sMm , 13.54 * sMm }, {11.44 * sMm , 12.13 * sMm },
3700+ {14.91 * sMm , 18.78 * sMm },
3701+ {195.81 * sMm , 18.78 * sMm },
3702+ {15.11 * sMm , 14.23 * sMm },
3703+ {196.01 * sMm , 14.23 * sMm },
3704+ {34.20 * sMm , 13.54 * sMm },
3705+ {36.59 * sMm , 10.33 * sMm },
3706+ {7.73 * sMm , 13.54 * sMm },
3707+ {11.44 * sMm , 12.13 * sMm },
37093708 };
37103709
37113710 // Local variables
37123711 Double_t xpos, ypos, zpos;
37133712 Int_t idCapacitor;
37143713
3715- TGeoVolume * capacitorOB;
3714+ TGeoVolume* capacitorOB;
37163715
37173716 // Check whether we already have the volumes, otherwise create them
37183717 // (so as to avoid creating multiple copies of the very same volumes
@@ -3732,7 +3731,7 @@ void V3Layer::createOBFPCCapacitors(TGeoVolume* modvol, Double_t xmodlen, Double
37323731 // Place all the capacitors (they are really a lot...)
37333732 ypos = yzero + sOBFPCCapacitorYHi / 2 ;
37343733 idCapacitor = 0 ;
3735-
3734+
37363735 for (Int_t jgrp = 0 ; jgrp < nGroups; jgrp++) { // Loop on the groups of cap's
37373736 xpos = xyCapacitors[jgrp][1 ] - xmodlen;
37383737 for (Int_t jcap = 0 ; jcap < nCapacitors[jgrp]; jcap++) { // Loop on cap's
@@ -3748,7 +3747,7 @@ void V3Layer::createOBFPCCapacitors(TGeoVolume* modvol, Double_t xmodlen, Double
37483747 zpos = xyCapacitorSingle[jcap][0 ] - zmodlen;
37493748 idCapacitor++;
37503749 modvol->AddNode (capacitorOB, idCapacitor, new TGeoTranslation (xpos, ypos, zpos));
3751- }
3750+ }
37523751
37533752 // We've done
37543753}
0 commit comments