|
| | PolyBoundCut () |
| | default constructor makes this a linear cut above 0. More...
|
| |
| void | setCoeffs (std::vector< double > a_coeffs) |
| |
| void | setUpper (bool a_log) |
| |
| std::vector< double > | getCoeffs () const |
| |
| bool | isUpper () const |
| |
| bool | passesCut (double a_X, const std::vector< double > &a_Ys={}) const |
| |
| std::vector< std::pair< double, double > > | getNPoints (int a_N, double a_minX, double a_maxX) |
| |
| std::vector< std::pair< double, double > > | getLine (int a_N, double a_minX, double a_maxX) |
| |
| PolyBoundCut * | clone () |
| |
| | CutBase () |
| |
| std::string | getVarXName () const |
| |
| std::string | getVarYName () const |
| |
| void | setVarXName (std::string a_varXName) |
| |
| void | setVarYName (std::string a_varYName) |
| |
| void | setRange (double a_min, double a_max) |
| |
| TCutG * | getTCut (int a_N=10, double a_minX=0, double a_maxX=0, std::string a_name="CUTG") |
| |
| virtual | ~CutBase () |
| |
this implimentation of the of cut base is used to provide either a lower or upper boundary cut defined by an Nth order polynomial.The polynomial is ordered by exponent power and needs to include all powers present For example to obtain 2x^2 + 4 you would need to set the coefficients to {2,0,4}