Skip to content

Commit

Permalink
Fix Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kvjmistry committed Dec 9, 2023
1 parent 4fae7dd commit 942ee91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/geometries/Next100FieldCage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Next100FieldCage::Next100FieldCage(G4double grid_thickn):
msg_->DeclareProperty("field_cage_vis", visibility_, "Field Cage Visibility");
msg_->DeclareProperty("grid_vis", grid_visibility_, "Grid Visibility");
msg_->DeclareProperty("field_cage_verbosity", verbosity_, "Field Cage Verbosity");

msg_->DeclareProperty("useDielectricGrid", useDielectricGrid_, "Switch on Fake Grids");

G4GenericMessenger::Command& drift_transv_diff_cmd =
Expand Down Expand Up @@ -438,7 +438,7 @@ void Next100FieldCage::BuildCathode()

}

if (!grid_visibility_)
if (!grid_visibility_ && !useDielectricGrid_)
cathode_hex_logic->SetVisAttributes(G4VisAttributes::GetInvisible());


Expand Down

0 comments on commit 942ee91

Please sign in to comment.