DESY Hbb Analysis Framework
|
#include <sys/stat.h>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <cctype>
#include <algorithm>
#include "TFile.h"
#include "TTree.h"
#include "RooFit.h"
#include "RooWorkspace.h"
#include <boost/filesystem.hpp>
Go to the source code of this file.
Classes | |
struct | great_second< T1, T2 > |
struct | less_second< T1, T2 > |
Functions | |
void | CheckOutputDir (const std::string &oDir) |
void | CheckZombie (const TFile &name) |
void | CheckZombieObjectInTFile (const TFile &file, const std::string &name) |
bool | file_exists (const std::string &name) |
bool | findStrings (const std::string &input, const std::string &needful) |
template<typename T > | |
T * | GetFromTFile (TFile &file, const std::string &obj_name) |
template<typename T > | |
T * | GetFromTFile (const std::string &file_name, const std::string &obj_name) |
RooWorkspace * | GetRooWorkspace (const std::string &path_to_file, const std::string &workspace_name="workspace") |
int | returnMassPoint (const std::string &name) |
template<typename T > | |
std::string | to_string_with_precision (const T a_value, const int n=6) |
void CheckOutputDir | ( | const std::string & | oDir | ) |
Referenced by to_string_with_precision().
void CheckZombie | ( | const TFile & | name | ) |
Referenced by GetFromTFile(), and to_string_with_precision().
void CheckZombieObjectInTFile | ( | const TFile & | file, |
const std::string & | name | ||
) |
Referenced by to_string_with_precision().
|
inline |
bool findStrings | ( | const std::string & | input, |
const std::string & | needful | ||
) |
Referenced by to_string_with_precision().
T* GetFromTFile | ( | TFile & | file, |
const std::string & | obj_name | ||
) |
T* GetFromTFile | ( | const std::string & | file_name, |
const std::string & | obj_name | ||
) |
Definition at line 74 of file utilLib.h.
References CheckZombie(), and f.
RooWorkspace* GetRooWorkspace | ( | const std::string & | path_to_file, |
const std::string & | workspace_name = "workspace" |
||
) |
Referenced by to_string_with_precision().
int returnMassPoint | ( | const std::string & | name | ) |
Definition at line 129 of file mHatGenFilter.cc.
References DEFINE_FWK_MODULE().
Referenced by mHatGenFilter::filter(), and to_string_with_precision().
std::string to_string_with_precision | ( | const T | a_value, |
const int | n = 6 |
||
) |
Definition at line 40 of file utilLib.h.
References CheckOutputDir(), CheckZombie(), CheckZombieObjectInTFile(), file_exists(), findStrings(), GetRooWorkspace(), ConfFile_cfg::input, nano_94X_2017_rereco31Mar18-v1::name, and returnMassPoint().