|
RAPIDO
Repeatable Analysis Programming for Interpretability, Durability, and Organization
|
#include <cutflow.h>
Public Member Functions | |
| Cut (std::string new_name) | |
| virtual | ~Cut () |
| virtual Cut * | clone (std::string new_name) |
| void | print () |
| virtual bool | evaluate () |
| bool | getResult () |
| virtual double | weight () |
| double | getWeight () |
Public Attributes | |
| std::string | name |
| Cut * | parent |
| Cut * | right |
| Cut * | left |
| int | n_pass |
| int | n_fail |
| double | n_pass_weighted |
| double | n_fail_weighted |
| Utilities::RunningStat | runtimes |
Object that represents a single cut in an analysis
| Cut::Cut | ( | std::string | new_name | ) |
|
virtual |
Cut object destructor
|
virtual |
Create a copy of this cut object
| new_name | name of cut copy |
Reimplemented in LambdaCut.
|
virtual |
| bool Cut::getResult | ( | ) |
Get result for this cut (runs Cut::evaluate); catches exceptions and prints cut name
| double Cut::getWeight | ( | ) |
Get even weight for this cut (on top of previous cut weights); catches exceptions and prints cut name
| void Cut::print | ( | ) |
Print cut object properties
|
virtual |
| Cut* Cut::left |
Pointer to next cut to evaluate if this cut evaluates to false
| int Cut::n_fail |
Number of events that fail cut
| double Cut::n_fail_weighted |
Weighted number of events that fail cut
| int Cut::n_pass |
Number of events that pass cut
| double Cut::n_pass_weighted |
Weighted number of events that pass cut
| std::string Cut::name |
Unique name of cut
| Cut* Cut::parent |
Pointer to parent cut
| Cut* Cut::right |
Pointer to next cut to evaluate if this cut evaluates to true
| Utilities::RunningStat Cut::runtimes |
RunningStat object for cut runtimes