Purely virtual mother class that implements the main feautures of a cut function on a given dataset. Given a DataHandler object as an input, it returns a mask of bools that selects the points that pass the specific cut.
More...
#include <cut.h>
|
| Cut (Cut const &cut) |
| The "Cut" copy constructor. More...
|
|
| Cut (DataHandler const &dataset, double const &min, double const &max) |
| The "Cut" constructor. More...
|
|
virtual | ~Cut () |
| The "Cut" destructor. More...
|
|
virtual void | EnforceCut ()=0 |
| Purely virtual function to be used implemented in the derived class to eforce the cut. More...
|
|
std::valarray< bool > | GetMask () const |
| Function that returns the cut mask. More...
|
|
Purely virtual mother class that implements the main feautures of a cut function on a given dataset. Given a DataHandler object as an input, it returns a mask of bools that selects the points that pass the specific cut.
◆ Cut() [1/2]
NangaParbat::Cut::Cut |
( |
Cut const & |
cut | ) |
|
The "Cut" copy constructor.
- Parameters
-
◆ Cut() [2/2]
NangaParbat::Cut::Cut |
( |
DataHandler const & |
dataset, |
|
|
double const & |
min, |
|
|
double const & |
max |
|
) |
| |
The "Cut" constructor.
- Parameters
-
dataset | the DataHandler object subject to the cuts |
min | mininum value |
max | maximal value |
◆ ~Cut()
virtual NangaParbat::Cut::~Cut |
( |
| ) |
|
|
inlinevirtual |
◆ EnforceCut()
virtual void NangaParbat::Cut::EnforceCut |
( |
| ) |
|
|
pure virtual |
◆ GetMask()
std::valarray< bool > NangaParbat::Cut::GetMask |
( |
| ) |
const |
|
inline |
Function that returns the cut mask.
◆ _dataset
The dataset to be processed.
◆ _mask
std::valarray<bool> NangaParbat::Cut::_mask |
|
protected |
◆ _max
double const NangaParbat::Cut::_max |
|
protected |
◆ _min
double const NangaParbat::Cut::_min |
|
protected |
The documentation for this class was generated from the following file:
- /Users/vb262523/Codes/NangaParbat-Beta/inc/NangaParbat/cut.h