ROOT 6.08/07 Reference Guide |
#include "TSimpleAnalysis.h"
#include "TFile.h"
#include "TChain.h"
#include "TChainElement.h"
#include "TH1.h"
#include "TError.h"
#include "TKey.h"
#include "TROOT.h"
#include <string>
#include <fstream>
#include <vector>
#include <map>
#include <iostream>
Functions | |
static bool | CheckChainLoadResult (TChain *chain) |
Returns true if there are no errors in TChain::LoadTree() More... | |
static void | DeleteCommentsAndSpaces (std::string &line) |
Delete comments, leading and trailing white spaces in a string. More... | |
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. More... | |
bool | RunSimpleAnalysis (const char *configurationFile) |
Function that allows to create the TSimpleAnalysis object and execute its Configure and Analyze functions. More... | |
|
static |
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.