sipm-characterisation 0.1.0
SiPM characterisation for ePIC — IV/DCR/gain, laser, readout, irradiation
Loading...
Searching...
No Matches
utility.h File Reference
#include "general_utility.h"
Include dependency graph for utility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TObjects
 

Functions

void write_all (TObjects target)
 
template<bool logx = true, bool logy = true>
TCanvasstandard_canvas (std::string name, std::string title, float nXpixels=1000, float nYpixels=1000)
 
template<bool logx = true, bool logy = true>
TCanvasstandard_canvas_2D (std::string name, std::string title, float nXpixels=1145, float nYpixels=1000)
 
std::time_t s_ts (const std::string &datetime)
 
template<typename th1_type = TH1F>
th1_typemake_log_th1 (int n_bins, double min_x, double max_x)
 
std::array< std::array< float, 2 >, 2 > get_intercept (TF1 *pol1, TF1 *pol2)
 

Function Documentation

◆ get_intercept()

std::array< std::array< float, 2 >, 2 > get_intercept ( TF1 pol1,
TF1 pol2 
)

◆ make_log_th1()

template<typename th1_type = TH1F>
th1_type * make_log_th1 ( int  n_bins,
double  min_x,
double  max_x 
)

◆ s_ts()

std::time_t s_ts ( const std::string datetime)

◆ standard_canvas()

template<bool logx = true, bool logy = true>
TCanvas * standard_canvas ( std::string  name,
std::string  title,
float  nXpixels = 1000,
float  nYpixels = 1000 
)

◆ standard_canvas_2D()

template<bool logx = true, bool logy = true>
TCanvas * standard_canvas_2D ( std::string  name,
std::string  title,
float  nXpixels = 1145,
float  nYpixels = 1000 
)

◆ write_all()

void write_all ( TObjects  target)