Skip to content

Commit

Permalink
loadtxt true unpack for example
Browse files Browse the repository at this point in the history
  • Loading branch information
martinunland committed Jul 5, 2024
1 parent 00b6ca7 commit 8122a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion effective_area/OMSim_effective_area.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void runEffectiveAreaSimulation()
// If angle file is provided, run over all angle pairs in file
if (lArgs.keyExists("angles_file"))
{
std::vector<G4PV2DDataVector> data = InputDataManager::loadtxt(lArgs.get<std::string>("angles_file"), false);
std::vector<G4PV2DDataVector> data = InputDataManager::loadtxt(lArgs.get<std::string>("angles_file"), true);
std::vector<G4double> lThetas = data.at(0);
std::vector<G4double> lPhis = data.at(1);

Expand Down

0 comments on commit 8122a73

Please sign in to comment.