GamR  0.0.0
GammaROOT
Loading...
Searching...
No Matches
IO.cc File Reference
#include <fstream>
#include <iostream>
#include <sstream>
#include "IO.hh"
+ Include dependency graph for IO.cc:

Go to the source code of this file.

Namespaces

namespace  GamR
 
namespace  GamR::Spect
 

Macros

#define W(a, b)
 

Functions

std::string GamR::Spect::ToText (const TH1 *h, std::string outfile, std::string delimiter)
 
std::string GamR::Spect::ToText (const TH2 *h, std::string outfile, std::string delimiter, int binx_lo, int binx_hi, int biny_lo, int biny_hi)
 
std::string GamR::Spect::ToText (const TGraphErrors *g, std::string outfile, std::string delimiter)
 
std::string GamR::Spect::ToText (const TGraphAsymmErrors *g, std::string outfile, std::string delimiter)
 
std::string GamR::Spect::ToText (const TGraph *g, std::string outfile, std::string delimiter)
 
std::string GamR::Spect::ToText (const TGraph *g, int ID, std::string outfile, std::string delimiter)
 
std::string GamR::Spect::ToText (const TF1 *f, std::string outfile, std::string delimiter)
 
void GamR::Spect::ToBin (const TH2 *h, std::string outfile, int padx, int pady)
 
void GamR::Spect::ToBin (const TH1 *h, std::string outfile)
 
void GamR::Spect::ToSPE (const TH1 *h, std::string outfile)
 
TH1D * GamR::Spect::FromText (std::string s, std::string name, bool fill)
 
TH1D * GamR::Spect::FromBin (std::string s, std::string name, std::string title, int nx, double low, double high, int size)
 
TH2D * GamR::Spect::FromBin (std::string s, std::string name, std::string title, int nx, double xlow, double xhigh, int ny, double ylow, double yhigh, int size)
 
TCutG * GamR::Spect::CutFromText (std::string s, std::string name)
 

Macro Definition Documentation

◆ W

#define W ( a,
b )
Value:
{ memcpy(buf + rl, a, b); rl += b; }

Referenced by GamR::Spect::ToSPE().