eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
BuildTree.cxx File Reference
#include <string>
#include <TString.h>
#include <TSystem.h>
#include "eicsmear/erhic/Forester.h"
#include "eicsmear/erhic/File.h"

Go to the source code of this file.

Functions

Long64_t BuildTree (const TString &inputFileName, const TString &outputDirName, const Long64_t maxEvent, const std::string &logFileName)
 

Detailed Description

Defines the main BuildTree function.

Author
Thomas Burton
Date
2011-06-24

Definition in file BuildTree.cxx.

Function Documentation

Long64_t BuildTree ( const TString &  inputFileName,
const TString &  outputDirName,
const Long64_t  maxEvent,
const std::string &  logFileName 
)

This is an example function to generate ROOT files. It can be used "out of the box". If more control over the output is desired, then the settings of the Forester can be tweaked to do so.

Definition at line 25 of file BuildTree.cxx.