#include "TSimpleAnalysis.h"
#include "TFile.h"
#include "TChain.h"
#include "TChainElement.h"
#include "TH1.h"
#include "TError.h"
#include "TKey.h"
#include "ROOT/TThreadExecutor.hxx"
#include "TROOT.h"
#include <string>
#include <vector>
#include <map>
Functions | |
static bool | CheckChainLoadResult (TChain *chain) |
Returns true if there are no errors in TChain::LoadTree() | |
static void | DeleteCommentsAndSpaces (std::string &line) |
Delete comments, leading and trailing white spaces in a string. | |
static std::string | ExtractTreeName (std::string &firstInputFile) |
Extract the name of the tree from the first input file when the tree name isn't in the configuration file. | |
bool | RunSimpleAnalysis (const char *configurationFile) |
Function that allows to create the TSimpleAnalysis object and execute its Configure and Analyze functions. | |
Returns true if there are no errors in TChain::LoadTree()
Definition at line 205 of file TSimpleAnalysis.cxx.
|
static |
Delete comments, leading and trailing white spaces in a string.
param[in] line - line read from the input file
Definition at line 72 of file TSimpleAnalysis.cxx.
|
static |
Extract the name of the tree from the first input file when the tree name isn't in the configuration file.
Returns the name of the tree.
Definition at line 171 of file TSimpleAnalysis.cxx.
bool RunSimpleAnalysis | ( | const char * | configurationFile | ) |
Function that allows to create the TSimpleAnalysis object and execute its Configure and Analyze functions.
param[in] configurationFile - name of the input file used to create the TSimpleAnalysis object
Definition at line 478 of file TSimpleAnalysis.cxx.