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
3 changes: 2 additions & 1 deletion roottest/cling/TString/write.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <iostream.h>
#include <iostream>

void write(char *name) {
cout << name << endl;

Expand Down
5 changes: 3 additions & 2 deletions roottest/cling/function/staticfunc.C
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#ifndef __CLING__
#include "TString.h"
#include "Riostream.h"
#include <TLorentzVector.h>
#include "TH1F.h"

#include <iostream>
#endif

struct SelLambda {
Expand Down Expand Up @@ -34,7 +35,7 @@ class Top {
public:
void func(const TString &s) {
#ifndef ClingWorkAroundBrokenRecovery
cout << s.Data() << endl;
std::cout << s.Data() << std::endl;
#endif
}
void Run() {
Expand Down
5 changes: 3 additions & 2 deletions roottest/cling/parsing/semicolon.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "Riostream.h"
#include <iostream>

void semicolon(const char *string = "/star/simu/simu/jwebb/11-12-2010-pp500-pileup/rcf10100_1000_5evts_Wplus_enu.fzd; gfile b /star/simu/simu/jwebb/11-12-2010-pp500-pileup/rcf10000_1000_250evts_minb.fzd; mode TPCE back 4001400; gback 400 400 0.1 106.6") {
cout << string << endl;
std::cout << string << std::endl;
}

#if !defined(__CLING__)
Expand Down
4 changes: 2 additions & 2 deletions roottest/root/aclic/with space/runthetest.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "Riostream.h"
#include <iostream>

void runthetest() {
cout << "not much\n";
std::cout << "not much\n";
}
10 changes: 5 additions & 5 deletions roottest/root/collection/execHistArray.cxx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
// This test checks the I/O backward compatibility of classes TArray(C|S|I|L|L64|F|D)
// after the introduction of the template class TArrayT
#include <cassert>
#include <cmath>
#include <limits>
#include <cstring>
#include "Riostream.h"
#include "TClass.h"
#include "TFile.h"
#include "TH1F.h"
Expand All @@ -20,6 +15,11 @@
#include "TArrayL.h"
#include "TArrayL64.h"

#include <cassert>
#include <cmath>
#include <limits>
#include <cstring>

void write(const char *filename = "HistArray.root")
{
TFile* f = TFile::Open(filename, "RECREATE");
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/collection/runTExMap.C
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#ifndef __CLING__

#include "TExMap.h"
#include "Riostream.h"

#endif


#include "Rtypes.h"

#include <iostream>

Bool_t TestUpdate()
{
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/collection/runtbits.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "TBits.h"
#include "Riostream.h"
#include "TRandom.h"

#include <iostream>
#ifndef __CLING__
#include <bitset>
using namespace std;
Expand Down
5 changes: 3 additions & 2 deletions roottest/root/hist/misc/runownership.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include "TH1F.h"
#include "TFile.h"
#include "TCanvas.h"
#include "Riostream.h"

#include <iostream>

class TH1F_inst : public TH1F {
public:
Expand Down Expand Up @@ -44,7 +45,7 @@ bool read(const char *filename = "histo.root")
TFile * f = TFile::Open(filename,"READ");
TH1F *histo; f->GetObject("h1",histo);
if (histo==0) {
cout << "h1 is not found on the file\n";
std::cout << "h1 is not found on the file\n";
return false;
}
TCanvas *c1; f->GetObject("c1",c1);
Expand Down
5 changes: 3 additions & 2 deletions roottest/root/io/alloc/customConstructor.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include "Riostream.h"
#include "Rtypes.h"

using namespace std;
#include <iostream>

using std::cout;

class G4_ROOT_IO;

Expand Down
3 changes: 2 additions & 1 deletion roottest/root/io/datamodelevolution/00/DataModelV1.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Testing transient member setting
//

#include "Riostream.h"
#include "TObjArray.h"

#include <iostream>

class Unversioned {
public:
Unversioned(int seed = 4) : fCached(seed) {}
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/00/DataModelV2.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Testing transient member setting
//

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

class ACache {
protected:
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/00/DataModelV3.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Testing transient member setting
//

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

// This class used to be named ACache
class Axis {
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/datamodelevolution/stl/libcond.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class DetCondKeyTrans;
+ class Eigen {};

#include "Riostream.h"
#include <iostream>
#include <map>
#include "HepGeom__Transform3D.h"
#ifdef __ROOTCLING__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define DataHeaderElement_p5_h
class DataHeaderElement_p5;

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

class DataHeaderElement_p5 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define DataHeaderForm_p5_h
class DataHeaderForm_p5;

#include "Riostream.h"
#include <vector>
namespace std {} using namespace std;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#define DataHeader_p5_h
class DataHeader_p5;

#include "Riostream.h"
#include <vector>
#include "DataHeaderElement_p5.h"

#include <string>
#include <vector>

class DataHeader_p5 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class DetCondKeyTrans;
class Eigen {};

#include "Riostream.h"
#include <iostream>
#include <map>
#include "HepGeom__Transform3D.h"
#ifdef __ROOTCLING__
Expand Down
3 changes: 2 additions & 1 deletion roottest/root/io/directory/runcd.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "TFile.h"
#include "Riostream.h"

#include <iostream>

void printLoc() {
if (gFile) cout << "gFile is: " << gFile->GetName() << endl;
Expand Down
3 changes: 2 additions & 1 deletion roottest/root/io/double32/runtemplate32.C
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
#include "TStreamerInfo.h"
#include "TROOT.h"
#include "TRealData.h"
#include "Riostream.h"
#include "TDataMember.h"
#include "TFile.h"

#include <iostream>

int runtemplate32 ()
{
gROOT->ProcessLine(".L other.C+");
Expand Down
3 changes: 1 addition & 2 deletions roottest/root/io/evolution/array/MyClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
#endif

#include "MyClass.h"
#include <cstdlib>
#include <Riostream.h>
#include <TObject.h>

#include <cstdlib>

#if MYCLASS == 1
// old version, classdef = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

#include "TFile.h"
#include "TMath.h"
#include "Riostream.h"

#include <iostream>

class myclass {
public:
Expand Down
7 changes: 6 additions & 1 deletion roottest/root/io/evolution/skipRead.C
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#include <Riostream.h>
#include "TFile.h"
#include "TRef.h"
#include "TClass.h"
#include "TStreamerInfo.h"

#include <iostream>

using std::cout;
using std::endl;

class MyClass : public TObject {
public:
Int_t x;
Expand Down Expand Up @@ -32,6 +36,7 @@ void skipRead(bool withxml = 0)
if (withxml) {
TFile* f = TFile::Open("skiptestfile.xml");
if (f==0) return;

cout << "Reading .xml file\n";

MyClass *m; f->GetObject("abc",m);
Expand Down
4 changes: 2 additions & 2 deletions roottest/root/io/evolution/skipWrite.C
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include <Riostream.h>
#include <string>
#include "TFile.h"
#include "TNamed.h"
#include "TCut.h"
#include "TRef.h"
#include "TAttFill.h"

#include <string>

class MyClass : public TObject, public TAttFill {
public:
Int_t x;
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/evolution/stl_conversions/maptovector.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#define MAPTOVECTOR_H

#include "TFile.h"
#include "Riostream.h"
#include "TString.h"

#include <iostream>
#include <map>
#include <vector>
#include <list>
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/heritstl/SEIdAltLItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// not inheriting from TObject so we need an explicit Rtypes
#include "Rtypes.h"

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

class SEIdAltLItem {

Expand Down
6 changes: 5 additions & 1 deletion roottest/root/io/interface/Toplevel.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#include "ToplevelClass.C"
#include "TFile.h"
#include "TH1F.h"
#include <Riostream.h>

#include <iostream>

using std::cout;
using std::endl;

Bool_t ReadToplevel()
{
Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/issue-7754/mwe/src/TDetectorVEvent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// --------------------------------------------------------------
#include "TDetectorVEvent.hh"

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

TDetectorVEvent::TDetectorVEvent() : TVEvent(), fNHits(0), fHits(nullptr) {}

Expand Down
2 changes: 1 addition & 1 deletion roottest/root/io/issue-7754/mwe/src/TDetectorVHit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// --------------------------------------------------------------
#include "TDetectorVHit.hh"

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


TDetectorVHit::TDetectorVHit() :
Expand Down
3 changes: 2 additions & 1 deletion roottest/root/io/issue-7754/mwe/src/TVHit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
// --------------------------------------------------------------
#include "TVHit.hh"
#include "NA62Global.hh"
#include "Riostream.h"

#include <iostream>

TVHit::TVHit() : TObject(), fChannelID(-1),fMCTrackID(-1),
fDirectInteraction(kFALSE), fKinePartIndex(-1) {}
Expand Down
5 changes: 3 additions & 2 deletions roottest/root/io/newClassDef/featuretest/typeidtest.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ public:
class C : public B {};
class D : public A {};

#include "Riostream.h"
#include "TClass.h"

#include <iostream>
#include <map>
#include <string>
#include <typeinfo>
#include "TClass.h"

namespace std {}
using namespace std;
Expand Down
5 changes: 3 additions & 2 deletions roottest/root/io/newstl/MemberWise.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#include "Riostream.h"
#include "TString.h"
#include "TBuffer.h"
#include <vector>
#include "TClass.h"

#include <iostream>
#include <vector>

class Member {
public:
TString fName;
Expand Down
3 changes: 2 additions & 1 deletion roottest/root/io/newstl/withstd.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include "TFile.h"
#include "TROOT.h"

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

template <class T> class something {};

Expand Down
3 changes: 2 additions & 1 deletion roottest/root/io/perf/SergeiHardTest.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <iostream.h>
#include "TTree.h"
#include "TFile.h"
#include "TCanvas.h"
Expand All @@ -8,6 +7,8 @@
#include "TH1.h"
#include "TH2.h"

#include <iostream>

void MakeDelay(int time_in_sec) {
gSystem->Sleep(time_in_sec*1000);
}
Expand Down
Loading
Loading