Berkeley Nuclear Data Software
Public Member Functions | List of all members
PolyRangeCut Class Reference

#include <CutClasses.h>

Inheritance diagram for PolyRangeCut:
Inheritance graph
[legend]
Collaboration diagram for PolyRangeCut:
Collaboration graph
[legend]

Public Member Functions

 PolyRangeCut ()
 
void setLowerBoundCoeffs (std::vector< double > a_coeffs)
 
void setUpperBoundCoeffs (std::vector< double > a_coeffs)
 
std::vector< double > getLowerBoundCoeffs () const
 
std::vector< double > getUpperBoundCoeffs () 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)
 
PolyRangeCutclone ()
 
- Public Member Functions inherited from CutBase
 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from CutBase
std::string m_varXName
 
std::string m_varYName
 
double m_rMin
 
double m_rMax
 
bool m_hasRange
 

Detailed Description

this class is used to define a region of accenptance between two polynomial boundaries.

Constructor & Destructor Documentation

◆ PolyRangeCut()

PolyRangeCut::PolyRangeCut ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ clone()

PolyRangeCut * PolyRangeCut::clone ( )
virtual

Implements CutBase.

Here is the call graph for this function:

◆ getLowerBoundCoeffs()

std::vector< double > PolyRangeCut::getLowerBoundCoeffs ( ) const
Here is the call graph for this function:

◆ getNPoints()

std::vector< std::pair< double, double > > PolyRangeCut::getNPoints ( int  a_N,
double  a_minX,
double  a_maxX 
)
virtual

make the first point the last point

Reimplemented from CutBase.

Here is the call graph for this function:

◆ getUpperBoundCoeffs()

std::vector< double > PolyRangeCut::getUpperBoundCoeffs ( ) const
Here is the call graph for this function:

◆ passesCut()

bool PolyRangeCut::passesCut ( double  a_X,
const std::vector< double > &  a_Ys = {} 
) const
virtual

pure virtual function enforces implementation by inheriting base class a_X is used as value to test for single dimensional cuts a_Y allows extension in multi dimension by adding values to test

Implements CutBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLowerBoundCoeffs()

void PolyRangeCut::setLowerBoundCoeffs ( std::vector< double >  a_coeffs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUpperBoundCoeffs()

void PolyRangeCut::setUpperBoundCoeffs ( std::vector< double >  a_coeffs)
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: