Commit a29fd107 authored by Administrator's avatar Administrator
Browse files

Fix compiler errors with newer FairSoft/FairRoot versions

Add missing include statements.
With FairSoft apr21 and/or FairRoot v18.6.2 some implicitly included
header files aren't found any longer. Add include statements for these
header files explicitly.
parent 83df62de
Pipeline #9384 failed with stages
in 1 minute
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
#include <TCollection.h> #include <TCollection.h>
#include <TDatime.h>
#include <TList.h> #include <TList.h>
#include <TPad.h> #include <TPad.h>
#include <TROOT.h> #include <TROOT.h>
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#include <TGraphErrors.h> #include <TGraphErrors.h>
#include <TH1.h> #include <TH1.h>
#include <TList.h> #include <TList.h>
#include <TObjString.h>
#include <TPad.h> #include <TPad.h>
#include <TPaveText.h> #include <TPaveText.h>
#include <TProfile.h> #include <TProfile.h>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <iostream> #include <iostream>
#include <map> #include <map>
#include <regex> #include <regex>
#include <set>
namespace pt = boost::property_tree; namespace pt = boost::property_tree;
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "FairRunOnline.h" #include "FairRunOnline.h"
#include "TClonesArray.h" #include "TClonesArray.h"
#include "TFile.h"
#include "TH1.h" #include "TH1.h"
#include "TH2.h" #include "TH2.h"
#include "TH3.h" #include "TH3.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <cmath> #include <cmath>
#include <cstdlib> #include <cstdlib>
#include <iostream>
CbmLitCheckBrem::CbmLitCheckBrem() : fMat("iron") { CbmLitCheckBrem::CbmLitCheckBrem() : fMat("iron") {
fNofMom = 10; fNofMom = 10;
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "TClonesArray.h" #include "TClonesArray.h"
#include "TGeoManager.h" #include "TGeoManager.h"
#include "TObjString.h"
#include "TROOT.h" #include "TROOT.h"
#include <cassert> #include <cassert>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment