Skip to content

Commit

Permalink
Adapt new class to displacement in xy of whole geo
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Feb 12, 2024
1 parent 56fe968 commit 284c481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/geometries/Honeycomb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ namespace nexus {
do {
vertex = gen_->GenerateVertex("VOLUME");
G4ThreeVector glob_vtx(vertex);
glob_vtx = glob_vtx + G4ThreeVector(0, 0, -GetELzCoord());
glob_vtx = glob_vtx - GetCoordOrigin();
VertexVolume = geom_navigator_->LocateGlobalPointAndSetup(glob_vtx, 0, false);
} while (VertexVolume->GetName() != region);
}
Expand Down
2 changes: 1 addition & 1 deletion source/geometries/Next100InnerElements.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ namespace nexus {

// Honeycomb support structure for EP
honeycomb_->SetMotherLogicalVolume(mother_logic_);
honeycomb_->SetELzCoord(gate_zpos);
honeycomb_->SetCoordOrigin(coord_origin);
honeycomb_->SetEndOfCopperPlateZ(energy_plane_->GetCopperPlateEndZ());
honeycomb_->Construct();

Expand Down

0 comments on commit 284c481

Please sign in to comment.