Skip to content

Commit fcdac64

Browse files
committed
Style changes to APEX.cc
1 parent 2a1faff commit fcdac64

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

source/geometries/APEX.cc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,11 @@ namespace nexus{
678678
);
679679

680680
G4LogicalVolume* board_logic =
681-
new G4LogicalVolume(board_solid, materials::FR4(), board_name);
681+
new G4LogicalVolume(
682+
board_solid,
683+
materials::FR4(),
684+
board_name
685+
);
682686

683687
G4VisAttributes board_col = nexus::White();
684688
//board_col.SetForceSolid(true);
@@ -687,10 +691,20 @@ namespace nexus{
687691
//VIKUITI coating for the board
688692
const G4String bc_name = "BOARD_COATING";
689693
G4OpticalSurface* board_coating =
690-
new G4OpticalSurface(bc_name, unified, ground, dielectric_metal, 1);
694+
new G4OpticalSurface(
695+
bc_name,
696+
unified,
697+
ground,
698+
dielectric_metal,
699+
1
700+
);
691701

692702
board_coating->SetMaterialPropertiesTable(opticalprops::Vikuiti());
693-
new G4LogicalSkinSurface(bc_name, board_logic, board_coating);
703+
new G4LogicalSkinSurface(
704+
bc_name,
705+
board_logic,
706+
board_coating
707+
);
694708

695709
G4RotationMatrix* board_rot = new G4RotationMatrix();
696710
G4ThreeVector board_pos;

0 commit comments

Comments
 (0)