Skip to content

Commit

Permalink
Revert "torch: save parameters"
Browse files Browse the repository at this point in the history
This reverts commit 253e1ca.
  • Loading branch information
plexoos committed Nov 7, 2024
1 parent 13d814f commit cd746df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/simtox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ int main(int argc, char **argv)
torch.numphoton = n_photons;

// Assign default values for position, time, momentum, and other attributes
torch.pos = {0.0f, 0.0f, -500.0f};
torch.pos = {-10.0f, -30.0f, -90.0f};
torch.time = 0.0f;

torch.mom = {0.0f, -1.0f, +0.8f};
torch.mom = {0.0f, 0.3f, 1.0f};
torch.mom = normalize(torch.mom);
torch.weight = 0.0f;

Expand All @@ -37,7 +37,7 @@ int main(int argc, char **argv)
torch.zenith = {0.0f, 1.0f};
torch.azimuth = {0.0f, 1.0f};

torch.radius = 100.0f;
torch.radius = 15.0f;
torch.distance = 0.0f;
torch.mode = 255;
torch.type = T_DISC;
Expand Down

0 comments on commit cd746df

Please sign in to comment.