All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
ROOTutils.h File Reference

A bunch of diverse utilities and futilities related to ROOT. More...

#include "larcorealg/CoreUtils/enumerate.h"
#include "TStyle.h"
#include "TDirectory.h"
#include "TAxis.h"
#include <utility>
#include <vector>
#include <string>
#include <cassert>
#include "icarusalg/Utilities/ROOTutils.tcc"

Go to the source code of this file.

Classes

class  util::ROOT::TDirectoryChanger
 A class restoring the previous TDirectory on destruction. More...
 
class  util::ROOT::TStyleChanger
 A class restoring the previous TStyle on destruction. More...
 

Namespaces

 util::ROOT
 

Functions

void util::ROOT::applyAxisLabels (TAxis *pAxis, std::vector< std::string > const &labels, int first=1)
 Sets all the labels starting with the bin first (1 by default). More...
 
template<typename Coll >
std::pair< std::vector< double >
, std::vector< std::string > > 
util::ROOT::makeVariableBinningAndLabels (Coll const &centralPoints)
 Returns a variable size binning for the points. More...
 

Detailed Description

A bunch of diverse utilities and futilities related to ROOT.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
April 1, 2019
See Also
icarusalg/Utilities/ROOTutils.tcc

Definition in file ROOTutils.h.