Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions hist/hist/src/TEfficiency.cxx
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#ifndef ROOT_TEfficiency_cxx
#define ROOT_TEfficiency_cxx

//standard header
#include <vector>
#include <string>
#include <cmath>
#include <cstdlib>
#include <cassert>

//ROOT headers
#include "Math/DistFuncMathCore.h"
#include "TBinomialEfficiencyFitter.h"
Expand All @@ -33,6 +26,14 @@
// file with extra class for FC method
#include "TEfficiencyHelper.h"

//standard header
#include <vector>
#include <string>
#include <cmath>
#include <cstdlib>
#include <cassert>
#include <ostream>

//default values
const Double_t kDefBetaAlpha = 1;
const Double_t kDefBetaBeta = 1;
Expand Down
1 change: 1 addition & 0 deletions hist/hist/src/TF12.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "TH1.h"
#include "TVirtualPad.h"

#include <ostream>

/** \class TF12
\ingroup Functions
Expand Down
1 change: 1 addition & 0 deletions hist/hist/test/test_tkde.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "TH1.h"
#include "Math/DistFuncMathCore.h"

#include <iostream>

struct TestKDE {

Expand Down
1 change: 1 addition & 0 deletions math/mathcore/test/fit/testGraphFit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "TStyle.h"

#include <vector>
#include <iostream>
#include <iterator>
#include <cassert>

Expand Down
3 changes: 3 additions & 0 deletions math/mathcore/test/testDistSampler.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include "TRandom.h"
#include "TError.h"
#include "TCanvas.h"

#include <iostream>

// double Pdf(double x) {
// }

Expand Down
4 changes: 3 additions & 1 deletion test/stress.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
//_____________________________batch only_____________________
#ifndef __CLING__

#include <cstdlib>
#include <TROOT.h>
#include <TSystem.h>
#include <TH1.h>
Expand Down Expand Up @@ -100,6 +99,9 @@
#include <snprintf.h>
#include "Event.h"

#include <cstdlib>
#include <iostream>

void stress(Int_t nevent, Int_t style, Int_t printSubBenchmark, UInt_t portion );
void stress1();
void stress2();
Expand Down
2 changes: 2 additions & 0 deletions tutorials/analysis/unfold/testUnfold2.C
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
#include <TGraph.h>
#include "TUnfold.h"

#include <iostream>


TRandom *rnd=nullptr;

Expand Down
2 changes: 2 additions & 0 deletions tutorials/hist/hist101_TH1_autobinning.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "TFile.h"
#include "TStyle.h"

#include <iostream>

TF1 *gam = new TF1("gam", "1/(1+0.1*x*0.1*x)", -100., 100.);
TF1 *gam1 = new TF1("gam", "1/(1+0.1*x*0.1*x)", -1., .25);
TF1 *iga = new TF1("inv gam", "1.-1/(1+0.1*x*0.1*x)", -100., 100.);
Expand Down
2 changes: 2 additions & 0 deletions tutorials/math/fit/FitHistoInFile.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "TFile.h"
#include "TStyle.h"

#include <iostream>

// Function parameters are passed as an array to TF1. Here, we
// define the position of each parameter in this array.
// Note: N_PAR will give us the total number of parameters. Make
Expand Down
4 changes: 3 additions & 1 deletion tutorials/math/goftest.C
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
///
/// \author Bartolomeu Rabacal

#include <cassert>
#include "TCanvas.h"
#include "TPaveText.h"
#include "TH1.h"
Expand All @@ -23,6 +22,9 @@
#include "TRandom3.h"
#include "Math/DistFunc.h"

#include <cassert>
#include <iostream>

// need to use Functor1D
double landau(double x) {
return ROOT::Math::landau_pdf(x);
Expand Down
Loading