MD::Formula Class Reference
List of all members.
Constructor & Destructor Documentation
effects: standard default constructor guarantee: no-fail
MD::Formula::Formula |
( |
const std::string & |
name, |
|
|
const std::string & |
formula, |
|
|
TTree * |
tree | |
|
) |
| | |
effects: standard constructor guarantee: strong failures: out of memory II
MD::Formula::~Formula |
( |
|
) |
|
effects: standard destructor guarantee: no-fail
Member Function Documentation
const std::string & MD::Formula::formula |
( |
|
) |
const |
description: the formula used guarantee: no-fail
std::size_t MD::Formula::ndata |
( |
|
) |
const |
returns: the number of data entries for the formula with the given index guarantee: strong failures: TTreeFormula errors requires: valid()
int MD::Formula::ndim |
( |
|
) |
const |
returns: the number of unspecified array dimensions for the given formula guarantee: no-fail requires: valid()
void MD::Formula::reset |
( |
TTree * |
tree |
) |
|
effects: reset this formula to a new tree guarantee: strong failures: out of memory II failures: TTreeFormula error requires: !formula().empty()
void MD::Formula::testInvariant |
( |
|
) |
const |
effects: test the invariant of this object guarantee: no-fail
bool MD::Formula::valid |
( |
|
) |
const |
returns: whether the formula is valid guarantee: no-fail
Double_t MD::Formula::value |
( |
std::size_t |
data |
) |
const |
returns: the result of evaluating the formula with the given index for the given data entry guarantee: strong failures: TTreeFormula errors requires: valid() requires: data < getNData()
The documentation for this class was generated from the following files:
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/MultiDraw/MultiDraw/Formula.h
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/MultiDraw/Root/Formula.cxx