|
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
|
#include <Rtypes.h>#include <TString.h>Go to the source code of this file.
Namespaces | |
| Smear | |
Functions | |
| int | SmearTree (const Smear::Detector &, const TString &inFileName, const TString &outFileName="", Long64_t nEvents=-1) |
| Smear nEvents events from the TTree named EICTree in the named input file, using the smearing definitions in the Detector. More... | |
Declaration of smearing global functions.
Definition in file smear/functions.h.
| int SmearTree | ( | const Smear::Detector & | detector, |
| const TString & | inFileName, | ||
| const TString & | outFileName, | ||
| Long64_t | nEvents | ||
| ) |
Smear nEvents events from the TTree named EICTree in the named input file, using the smearing definitions in the Detector.
Write the resulting Smeared TTree to a file named outFileName. If nEvents <= 0 smear all events in the tree. Returns 0 upon success, 1 upon failure.
Definition at line 44 of file SmearTree.cxx.