Derivation of the class Cut to impose Cross Validation cut.
More...
#include <Trainingcut.h>
Derivation of the class Cut to impose Cross Validation cut.
◆ TrainingCut() [1/2]
NangaParbat::TrainingCut::TrainingCut |
( |
DataHandler const & |
dataset, |
|
|
std::vector< std::shared_ptr< NangaParbat::Cut > > const & |
kincuts, |
|
|
double const & |
TrainingFrac, |
|
|
gsl_rng * |
rng, |
|
|
int const & |
NMin = 10 |
|
) |
| |
The "Trainingcut" constructor.
- Parameters
-
dataset | the DataHandler object subject to the cuts |
kincuts | the vector kinematic cuts |
TrainingFrac | Training fraction |
rng | GSL random number object |
NMin | Minimum number of points below which all points will be included in the training (default: 5) |
◆ TrainingCut() [2/2]
NangaParbat::TrainingCut::TrainingCut |
( |
TrainingCut const & |
cut, |
|
|
bool const & |
invert = false , |
|
|
std::vector< std::shared_ptr< NangaParbat::Cut > > const & |
kincuts = {} |
|
) |
| |
The "TrainingCut" copy constructor.
- Parameters
-
cut | objects to be copied |
invert | whether to invert the map (default: false) |
kincuts | vector of possible kinematic cuts to enforce (default: empty) |
◆ EnforceCut()
void NangaParbat::TrainingCut::EnforceCut |
( |
| ) |
|
|
virtual |
Purely virtual function to be used implemented in the derived class to eforce the cut.
Implements NangaParbat::Cut.
◆ _NMin
int const NangaParbat::TrainingCut::_NMin |
|
private |
◆ _rng
gsl_rng* const NangaParbat::TrainingCut::_rng |
|
private |
The documentation for this class was generated from the following file:
- /Users/vb262523/Codes/NangaParbat-Beta/inc/NangaParbat/Trainingcut.h