Skip to content

Commit

Permalink
Merge pull request #54 from rest-for-physics/jgalan-add-validation-info
Browse files Browse the repository at this point in the history
pipeline/ray-tracing/axion-field/Validation.C adding extra info
  • Loading branch information
jgalan authored Apr 19, 2023
2 parents 16b64de + 71a094e commit 21e1bf1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipeline/ray-tracing/axion-field/Validate.C
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Int_t Validate(Double_t prob = 5.86614e-19, Double_t fieldAverage = 1.61288) {

run->GetAnalysisTree()->Draw("axionPhoton_probability", "axionPhoton_probability");

run->GetAnalysisTree()->Scan();

TH1D* h = (TH1D*)run->GetAnalysisTree()->GetHistogram();
if (h == nullptr) {
std::cout << "Problems generating probability histogram" << std::endl;
Expand Down

0 comments on commit 21e1bf1

Please sign in to comment.