CombineHarvester
TFileIO.h File Reference
#include <memory>
#include <string>
#include <vector>
#include "boost/algorithm/string.hpp"
#include "TFile.h"
#include "TH1.h"
#include "TDirectory.h"
#include "CombineHarvester/CombineTools/interface/Logging.h"

Go to the source code of this file.

Namespaces

 ch
 

Functions

std::unique_ptr< TH1 > ch::GetClonedTH1 (TFile *file, std::string const &path)
 
template<class T >
void ch::WriteToTFile (T *ptr, TFile *file, std::string const &path)
 
template<class T >
ch::OpenFromTFile (std::string const &fullpath)
 
template<class T >
ch::OpenFromTFile (TFile *file, std::string const &path)