![]() |
DAS
3.0
Das Analysis System
|
Facility to loop over a n-tuple, including parallelisation and printing.
#include <Looper.h>
Public Member Functions | |
| template<typename TTreePtr > | |
| Looper (const TTreePtr &t) | |
| Looper (long long nEvents) | |
| ~Looper () | |
| void | operator++ () |
| bool | operator() () |
| long long | operator* () const |
| template<typename TTreePtr > | |
| Looper (const TTreePtr &t) | |
| Looper (long long nEvents) | |
| ~Looper () | |
| void | operator++ () |
| bool | operator() () |
| long long | operator* () const |
Static Public Attributes | |
| static long long | division = 10 |
Private Member Functions | |
| Looper (TTree *t, long long nEvents) | |
| Looper (TTree *t, long long nEvents) | |
Private Attributes | |
| TTree * | tree |
| long long | nEv |
| long long | iEv |
| long long | percent |
| std::chrono::time_point< std::chrono::system_clock > | start_t |
|
inlineprivate |
| t | n-tuple |
| nEvents | total number of events to generate |
|
inline |
Constructor for existing tree with raw pointer.
| t | n-tuple |
|
inline |
Constructor for simple counter.
| nEvents | total number of events to generate |
|
inline |
|
inlineprivate |
| t | n-tuple |
| nEvents | total number of events to generate |
|
inline |
Constructor for existing tree with raw pointer.
| t | n-tuple |
|
inline |
Constructor for simple counter.
| nEvents | total number of events to generate |
|
inline |
|
inline |
Check that the counter is still in the range and prints percentage.
|
inline |
Check that the counter is still in the range and prints percentage.
|
inline |
Pointer-like operator to return the value of the entry.
|
inline |
Pointer-like operator to return the value of the entry.
|
inline |
|
inline |
|
static |
steps at which progress is printed (100%/division)
|
private |
|
private |
|
private |
|
private |
starting time
|
private |
tree