2323
2424#include < TApplication.h>
2525#include < boost/program_options.hpp>
26- #include < boost/version .hpp>
26+ #include < boost/timer/progress_display .hpp>
2727#include < nlohmann/json.hpp>
2828
2929#define BOOST_AVAILABLE 1
30- #if BOOST_VERSION < 107200
31- // Boost <=1.71 and lower do not have progress_display.hpp as a replacement yet
32- #include < boost/progress.hpp>
33-
34- using progress_display = boost::progress_display;
35- #else
36- // Boost >=1.72 can use this as a replacement
37- #include < boost/timer/progress_display.hpp>
3830
3931using progress_display = boost::timer::progress_display;
40- #endif
4132
4233#define NLOHMANN_AVAILABLE 1
4334#include " trackSummaryAnalysis.C"
@@ -47,7 +38,7 @@ using namespace boost::program_options;
4738using Interval = ActsExamples::Options::Interval;
4839using VariableReals = ActsExamples::Options::VariableReals;
4940
50- int main (int argc, char ** argv) {
41+ int main (int argc, char ** argv) {
5142 std::cout << " *** ACTS Perigee parameters and Track summary plotting "
5243 << std::endl;
5344
@@ -95,14 +86,14 @@ int main(int argc, char** argv) {
9586 // Define the parameters for the residual/pull analysis
9687 std::vector<std::string> resPullPars = {" d0" , " z0" , " phi0" , " theta0" ,
9788 " qop" , " time" , " pt" };
98- for (const auto & rp : resPullPars) {
89+ for (const auto & rp : resPullPars) {
9990 ao (rp.c_str (), bool_switch (),
10091 (std::string (" Residual/pulls for " ) + rp).c_str ());
10192 }
10293 // Define the auxiliary track information
10394 std::vector<std::string> auxPars = {" chi2ndf" , " measurements" , " holes" ,
10495 " outliers" , " shared" };
105- for (const auto & aux : auxPars) {
96+ for (const auto & aux : auxPars) {
10697 ao (aux.c_str (), bool_switch (),
10798 (std::string (" Auxiliary information for " ) + aux).c_str ());
10899 }
@@ -151,7 +142,7 @@ int main(int argc, char** argv) {
151142 ptBorders = {0 ., std::numeric_limits<double >::infinity ()};
152143 }
153144
154- TApplication* tApp =
145+ TApplication * tApp =
155146 vm[" silent" ].as <bool >()
156147 ? nullptr
157148 : new TApplication (" TrackSummary" , nullptr , nullptr );
@@ -198,7 +189,7 @@ int main(int argc, char** argv) {
198189 tApp->Run ();
199190 }
200191
201- } catch (std::exception& e) {
192+ } catch (std::exception & e) {
202193 std::cerr << e.what () << " \n " ;
203194 }
204195
0 commit comments