Skip to content

Commit

Permalink
update validation
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Apr 9, 2024
1 parent eedd787 commit 6f80300
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/12.Generators/ValidateIsotropicWithRange.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Int_t ValidateIsotropicWithRange(const char* filename) {
constexpr double tolerance = 0.1;

double thetaAverage = 0, thetaMin = TMath::Infinity(), thetaMax = 0;
constexpr double thetaAverageRef = 23.1283, thetaMinRef = 0.0, thetaMaxRef = 55.0;
constexpr double thetaAverageRef = 10.0, thetaMinRef = 0.0, thetaMaxRef = 15.0;

double energyPrimaryAverage = 0, energyPrimaryMin = TMath::Infinity(), energyPrimaryMax = 0;
constexpr double energyPrimaryAverageRef = 2915.84, energyPrimaryMinRef = 100,
energyPrimaryMaxRef = 15000.0;
constexpr double energyPrimaryAverageRef = 10000.0, energyPrimaryMinRef = 10000.0,
energyPrimaryMaxRef = 10000.0;

for (int i = 0; i < run.GetEntries(); i++) {
run.GetEntry(i);
Expand Down

0 comments on commit 6f80300

Please sign in to comment.