From d646b8a7a16806febbd45c0795e0ab174579bf51 Mon Sep 17 00:00:00 2001
From: Maria Zurek <zurek@anl.gov>
Date: Fri, 17 Sep 2021 14:13:54 +0000
Subject: [PATCH] Include fstream in hcal analysis scripts

---
 .../barrel_hcal/scripts/hcal_barrel_energy_scan_analysis.cxx     | 1 +
 .../barrel_hcal/scripts/hcal_barrel_particles_analysis.cxx       | 1 +
 benchmarks/barrel_hcal/scripts/hcal_barrel_particles_gen.cxx     | 1 +
 benchmarks/barrel_hcal/scripts/hcal_barrel_particles_reader.cxx  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/benchmarks/barrel_hcal/scripts/hcal_barrel_energy_scan_analysis.cxx b/benchmarks/barrel_hcal/scripts/hcal_barrel_energy_scan_analysis.cxx
index 8ac13ba1..1d66a981 100644
--- a/benchmarks/barrel_hcal/scripts/hcal_barrel_energy_scan_analysis.cxx
+++ b/benchmarks/barrel_hcal/scripts/hcal_barrel_energy_scan_analysis.cxx
@@ -5,6 +5,7 @@
 
 #include "ROOT/RDataFrame.hxx"
 #include <iostream>
+#include <fstream>
 #include <fmt/core.h>
 
 #include "dd4pod/Geant4ParticleCollection.h"
diff --git a/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_analysis.cxx b/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_analysis.cxx
index 1ae105d3..fbe72c2a 100644
--- a/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_analysis.cxx
+++ b/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_analysis.cxx
@@ -5,6 +5,7 @@
 
 #include "ROOT/RDataFrame.hxx"
 #include <iostream>
+#include <fstream>
 #include <fmt/core.h>
 
 #include "dd4pod/Geant4ParticleCollection.h"
diff --git a/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_gen.cxx b/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_gen.cxx
index 5c9142e0..297a74f5 100644
--- a/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_gen.cxx
+++ b/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_gen.cxx
@@ -15,6 +15,7 @@
 
 #include <cmath>
 #include <iostream>
+#include <fstream>
 #include <math.h>
 #include <random>
 #include <fmt/core.h>
diff --git a/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_reader.cxx b/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_reader.cxx
index 6c16a91f..c21db831 100644
--- a/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_reader.cxx
+++ b/benchmarks/barrel_hcal/scripts/hcal_barrel_particles_reader.cxx
@@ -18,6 +18,7 @@
 #include "TMath.h"
 
 #include <iostream>
+#include <fstream>
 #include <fmt/core.h>
 
 #include "hcal_barrel_common_functions.h"
-- 
GitLab