Skip to content
Open
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
6 changes: 3 additions & 3 deletions test/MainEvent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@
//
////////////////////////////////////////////////////////////////////////

#include <cstdlib>

#include "Riostream.h"
#include "TROOT.h"
#include "TFile.h"
#include "TRandom.h"
Expand All @@ -105,6 +102,9 @@

#include "Event.h"

#include <cstdlib>
#include <iostream>

constexpr int defaultComp = 1;

////////////////////////////////////////////////////////////////////////////////
Expand Down
6 changes: 3 additions & 3 deletions test/QpRandomDriver.cxx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include <cstdlib>
#include "Riostream.h"

#include "TQpDataDens.h"
#include "TQpVar.h"
#include "TQpProbDens.h"
#include "TGondzioSolver.h"

#include <cstdlib>
#include <iostream>

Bool_t SolutionMatches(TQpVar *vars,TQpVar *soln,TQpVar *temp,Double_t tol);

int main(int argc,char *argv[])
Expand Down
3 changes: 2 additions & 1 deletion test/TBench.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#include "TClass.h"
//the next include must be the last one on systems like Windows/NT
#include "TBench.h"
#include "Riostream.h"

#include <iostream>

THit s_hit;
#ifdef R__HPUX
Expand Down
2 changes: 1 addition & 1 deletion test/TestVectors.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// Author: Peter Malzacher 19/06/99

#ifndef __CLING__
#include <Riostream.h>
#include <TMath.h>
#include <TVector3.h>
#include <TLorentzVector.h>
#include <TRotation.h>
#include <TLorentzRotation.h>

#include <cassert>
#endif

Expand Down
5 changes: 2 additions & 3 deletions test/dt_RunDrawTest.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
#include "TKey.h"
#include "TChain.h"
#include "TSystem.h"

#include "TBranchElement.h"

#include "Riostream.h"

#include "dt_DrawTest.C"

#include <iostream>

Bool_t gInteractiveTest = kTRUE;
Int_t gQuietLevel = 0;

Expand Down
1 change: 0 additions & 1 deletion test/guiviewer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "TRandom.h"
#include "TGDoubleSlider.h"
#include "TGaxis.h"
#include "Riostream.h"


Viewer::Viewer(const TGWindow *win) : TGMainFrame(win,500,500)
Expand Down
5 changes: 3 additions & 2 deletions test/stressFit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,11 @@
// //
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*_*//

#include <cstdlib>
#include "TSystem.h"
#include "TROOT.h"
#include "TBenchmark.h"
#include "TMath.h"
#include "TStopwatch.h"
#include "Riostream.h"
#include "TVectorD.h"
#include "TMatrixD.h"
#include "snprintf.h"
Expand All @@ -70,6 +68,9 @@
#include "Math/MinimizerOptions.h"
#include "Math/Minimizer.h"

#include <cstdlib>
#include <iostream>

Int_t stressFit(const char *type = "Minuit", const char *algo = "Migrad", Int_t N = 2000);
Int_t gVerbose = -1;
Double_t gToleranceMult = 1.e-3;
Expand Down
5 changes: 4 additions & 1 deletion test/stressHistoFit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ extern "C" {
#endif
#endif

#include "Riostream.h"
#include <iostream>
#include <string>
#include <vector>

using std::string, std::vector, std::cout, std::endl;
Comment thread
ferdymercury marked this conversation as resolved.


Expand Down
12 changes: 6 additions & 6 deletions test/stressHistogram.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*//


#include <sstream>
#include <cmath>

#include "TH2.h"
#include "TH3.h"
#include "TH2.h"
Expand All @@ -85,17 +82,20 @@

#include "TApplication.h"
#include "TBenchmark.h"
#include "Riostream.h"
#include "TMath.h"
#include "TRandom2.h"
#include "TFile.h"
#include "TClass.h"
#include "THashList.h"

#include "TROOT.h"

#include <algorithm>
#include <random>
#include <cassert>
#include <cmath>
#include <iostream>
#include <random>
#include <sstream>
#include <string>
Comment thread
ferdymercury marked this conversation as resolved.

#ifdef __CLING__
const auto tmp_root_file_name = "tmp_hist_interpreted.root";
Expand Down
4 changes: 1 addition & 3 deletions test/tcollex.cxx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// @(#)root/test:$Id$
// Author: Fons Rademakers 19/08/96

#include <cstdlib>

#include "Riostream.h"
#include "TString.h"
#include "TObjString.h"
#include "TSortedList.h"
Expand All @@ -13,6 +10,7 @@
#include "TBtree.h"
#include "TStopwatch.h"

#include <cstdlib>

// To focus on basic collection protocol, this sample program uses
// simple classes inheriting from TObject. One class, TObjString, is a
Expand Down
2 changes: 1 addition & 1 deletion test/vlazy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include "TStopwatch.h"
#include "TMatrix.h"
#include "TMatrixFLazy.h"
#include "Riostream.h"

#include <iostream>

class do_downsample : public TElementPosActionF {
private:
Expand Down
5 changes: 3 additions & 2 deletions tutorials/io/hadd.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
/// \author Sven A. Schmidt, sven.schmidt@cern.ch, 13.2.2001


#include <cstring>
#include "TChain.h"
#include "TFile.h"
#include "TH1.h"
#include "TTree.h"
#include "TKey.h"
#include "Riostream.h"

#include <cstring>
#include <iostream>

TList *FileList;
TFile *Target;
Expand Down
3 changes: 2 additions & 1 deletion tutorials/io/tree/clones_event.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "TTree.h"
#include "Riostream.h"

#include <iostream>

class TUsrHit:public TObject {
public:
Expand Down
3 changes: 2 additions & 1 deletion tutorials/io/tree/printSizes.C
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@

#include "TTree.h"
#include "TBranch.h"
#include "Riostream.h"
#include "TMemFile.h"
#include "TKey.h"
#include "TBranchRef.h"

#include <iostream>

Long64_t GetTotalSize(TBranch * b, bool ondisk, bool inclusive);
Long64_t GetBasketSize(TBranch * b, bool ondisk, bool inclusive);

Expand Down
2 changes: 1 addition & 1 deletion tutorials/io/tree/tree101_basic.C
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
///
/// \author Rene Brun

#include "Riostream.h"
#include <iostream>

void tree101_basic()
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/io/tree/tree103_tree.C
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <TCanvas.h>
#include <TStyle.h>

#include <Riostream.h>
#include <iostream>

//class Det : public TObject {
class Det { // each detector gives an energy and time signal
Expand Down
2 changes: 1 addition & 1 deletion tutorials/io/tree/tree130_jets.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "TROOT.h"
#include "TSystem.h"
#include "JetEvent.h"
#include "Riostream.h"

#include <iostream>

void write(Int_t nev=100)
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/io/xml/DOMParsePerson.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
/// \author Sergey Linev


#include <Riostream.h>
#include <TDOMParser.h>
#include <TXMLAttr.h>
#include <TXMLNode.h>
#include <TList.h>

#include <iostream>

class Date {
public:
Expand Down
2 changes: 1 addition & 1 deletion tutorials/io/xml/DOMRecursive.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
///
/// \author Sergey Linev

#include <Riostream.h>
#include <TDOMParser.h>
#include <TXMLNode.h>
#include <TXMLAttr.h>
#include <TList.h>

#include <iostream>

void ParseContext(TXMLNode *node)
{
Expand Down
2 changes: 1 addition & 1 deletion tutorials/io/xml/SAXHandler.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
///
/// \author Sergey Linev

#include <Riostream.h>
#include <TList.h>
#include <TSAXParser.h>
#include <TXMLAttr.h>

#include <iostream>

class SaxHandler {
public:
Expand Down
3 changes: 2 additions & 1 deletion tutorials/legacy/math/Rolke.C
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
#include "TROOT.h"
#include "TSystem.h"
#include "TRolke.h"
#include "Riostream.h"

#include <iostream>

void Rolke()
{
Expand Down
3 changes: 1 addition & 2 deletions tutorials/legacy/regexp/regexp.C
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@
///
/// \author Eddy Offermann

#include "Riostream.h"
#include "TString.h"
#include "TPRegexp.h"
#include "TClonesArray.h"
#include "TObjString.h"


#include <iostream>

void regexp()
{
Expand Down
3 changes: 2 additions & 1 deletion tutorials/legacy/splot/TestSPlot.C
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
#include "TPaveLabel.h"
#include "TPad.h"
#include "TPaveText.h"
#include "Riostream.h"

#include <iostream>

void TestSPlot()
{
Expand Down
3 changes: 2 additions & 1 deletion tutorials/legacy/thread/threads.C
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
/// \author Victor Perevovchikov

#include "TThread.h"
#include <Riostream.h>

#include <iostream>

void *handle(void *ptr)
{
Expand Down
3 changes: 2 additions & 1 deletion tutorials/machine_learning/createData.C
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
#include "TStyle.h"
#include "TFile.h"
#include "TRandom.h"
#include "Riostream.h"
#include "TCanvas.h"
#include "TMatrixD.h"
#include "TH2F.h"
#include "TLegend.h"
#include "TBranch.h"

#include <iostream>
#include <vector>

void plot( TString fname = "data.root", TString var0="var0", TString var1="var1" )
Expand Down
3 changes: 1 addition & 2 deletions tutorials/math/Legendre.C
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
#include "TF1.h"
#include "TCanvas.h"

#include <Riostream.h>
#include "TLegend.h"
#include "TLegendEntry.h"

#include "Math/IFunction.h"
#include <cmath>
#include "TSystem.h"

#include <cmath>

void Legendre()
{
Expand Down
5 changes: 3 additions & 2 deletions tutorials/math/LegendreAssoc.C
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
#include "TF1.h"
#include "TCanvas.h"

#include <Riostream.h>
#include "TLegend.h"
#include "TLegendEntry.h"

#include "Math/IFunction.h"
#include <cmath>
#include "TSystem.h"

#include <cmath>
#include <iostream>

void LegendreAssoc()
{
std::cout <<"Drawing associate Legendre Polynomials.." << std::endl;
Expand Down
3 changes: 2 additions & 1 deletion tutorials/math/fit/fitpanel_playback.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
#include "TSystem.h"
#include "TSystemFile.h"
#include "TRecorder.h"
#include "Riostream.h"

#include <iostream>

int file_size(const char *filename)
{
Expand Down
Loading
Loading