Skip to content

Commit

Permalink
Fixing 09.Pb210_Shield/Validate.C
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalan committed May 9, 2021
1 parent a52ab66 commit 8e6c7ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/09.Pb210_Shield/Validate.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Int_t Validate(string fname) {

TRestRun* run = new TRestRun(fname);

if (run->GetEntries() != 10) {
cout << "There was a problem simulation Pb210. The number of entries should be 22" << endl;
if (run->GetEntries() != 26) {
cout << "Entries: " << run->GetEntries() << endl;
cout << "There was a problem simulation Pb210. The number of entries should be 26" << endl;
return 10;
}

Expand Down

0 comments on commit 8e6c7ef

Please sign in to comment.