GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ExportManager.cxx File Reference
#include "TGo4ExportManager.h"
#include <fstream>
#include <istream>
#include "TSystem.h"
#include "TFolder.h"
#include "TDirectory.h"
#include "TKey.h"
#include "TFile.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TGraph.h"
#include "Riostream.h"
#include "TGo4Log.h"

Go to the source code of this file.

Macros

#define GO4_EXMAN_CREATE_HISTOGRAM(X, Y)
 

Macro Definition Documentation

◆ GO4_EXMAN_CREATE_HISTOGRAM

#define GO4_EXMAN_CREATE_HISTOGRAM ( X,
Y )
Value:
switch(X){ \
case 1:\
theHisto = new TH1##Y(name.Data(), title.Data(), bins[0], axmin[0], axmax[0]);\
break;\
case 2:\
theHisto = new TH2##Y(name.Data(), title.Data(), bins[0], axmin[0], axmax[0], bins[1], axmin[1], axmax[1]);\
break;\
case 3:\
theHisto = new TH3##Y(name.Data(), title.Data(), bins[0], axmin[0], axmax[0], bins[1], axmin[1], axmax[1], bins[2], axmin[2], axmax[2]);\
break;\
}

Definition at line 34 of file TGo4ExportManager.cxx.

Referenced by TGo4ExportManager::ImportHistogramGo4Ascii().