diff --git a/include/Dir.h b/include/Dir.h index d2afaf7..1156075 100644 --- a/include/Dir.h +++ b/include/Dir.h @@ -5,6 +5,7 @@ #include "Histo.h" #include #include +#include #include #include //this module can be improved by adding the time information to the first dir. diff --git a/include/Histo.h b/include/Histo.h index 591d655..6f7df2e 100644 --- a/include/Histo.h +++ b/include/Histo.h @@ -10,6 +10,7 @@ Author: OS #include #include #include +#include /*Purpose of this class is to arrange histogram containers for the plotting tool The Histo base class is inherited to variety of different classes among the tool, thus, a basic understanding of this class is necessary to do modifications on the diff --git a/include/Properties.h b/include/Properties.h index 506b7f8..c129c50 100644 --- a/include/Properties.h +++ b/include/Properties.h @@ -12,6 +12,7 @@ ozgur[no_spam].sahin[spam_not]@cern.ch #include #include #include +#include #include #include #include "Histo.h" diff --git a/include/Ratio.h b/include/Ratio.h index 1fed26b..a43e121 100644 --- a/include/Ratio.h +++ b/include/Ratio.h @@ -25,7 +25,7 @@ namespace plotting{ template TPad* plotting::Ratio::DrawPlot(dat_type* data,bkg_type* background, sig_type* signal) { - TPad* pad1= AllocPad(data->GetName(),background->GetName()); + TPad* pad1= this->AllocPad(data->GetName(),background->GetName()); pad1->Draw(); diff --git a/src/Dir.cpp b/src/Dir.cpp index 393d5f6..92a2333 100644 --- a/src/Dir.cpp +++ b/src/Dir.cpp @@ -9,6 +9,7 @@ ozgur[no_spam].sahin[spam_not]@cern.ch #include #include #include +#include #include #include using std::cout; diff --git a/src/Draw.cpp b/src/Draw.cpp index 314b920..6f54458 100644 --- a/src/Draw.cpp +++ b/src/Draw.cpp @@ -17,6 +17,7 @@ ozgur[no_spam].sahin[spam_not]@cern.ch #include #include #include +#include #include "Pad.h" #include "Ratio.h" #include "Control.h" @@ -32,7 +33,7 @@ using namespace plotting; void plotting::Draw::arrange_hists(const TString& config_path) { TH1::SetDefaultSumw2(true); - gErrorIgnoreLevel = kWarning; + gErrorIgnoreLevel = kBreak; properties property(config_path); std::vector::iterator path_it; //Don't worry we are not moving the objects, just put their addresses together. diff --git a/src/Histo.cpp b/src/Histo.cpp index a4e702b..a5cfa73 100644 --- a/src/Histo.cpp +++ b/src/Histo.cpp @@ -9,7 +9,7 @@ Author:OS #include #include #include - +#include using namespace std; //simple method that sets the integral for the given value to Hist container void plotting::Histo::Set_integral(Hist* hist_it,int min, int max) { diff --git a/src/MakeUp.cpp b/src/MakeUp.cpp index 10e98e1..0e1a60c 100644 --- a/src/MakeUp.cpp +++ b/src/MakeUp.cpp @@ -5,6 +5,7 @@ #include #include "THStack.h" #include +#include #include "TObject.h" #include "TCollection.h" #include "TLatex.h" diff --git a/src/Pad.cpp b/src/Pad.cpp deleted file mode 100644 index f6d5e7b..0000000 --- a/src/Pad.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "Pad.h" -#include - -using std::cout; -using std::endl; - -int plotting::Pad::Print() const { - cout<<"Hello world!"<