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 <EventMC.h>
Public Member Functions | |
Reader (const std::string &treeName="EICTree") | |
virtual | ~Reader () |
EventMC * | Read (Long64_t number) |
EventMC * | operator() (Long64_t number) |
TTree * | GetTree () |
Public Attributes | |
EventMC * | mEvent |
The last event read. | |
TTree * | mTree |
The tree being read. | |
|
explicit |
Construct a Reader for the named TTree.
Definition at line 159 of file EventMC.cxx.
|
inlinevirtual |
|
inline |
|
inline |
EventMC * erhic::Reader::Read | ( | Long64_t | number | ) |
Read and return the numbered event from the tree.
The event number should lie in the range [0, numEvents).
Definition at line 166 of file EventMC.cxx.