FCCAnalyses
Loading...
Searching...
No Matches
FCCAnalyses::Algorithms::minimize_sphericity Struct Reference

Calculates the sphericity axis based on a list of px, py, pz. More...

#include <analyzers/dataframe/FCCAnalyses/Algorithms.h>

Public Member Functions

 minimize_sphericity (std::string arg_minname="Minuit2", std::string arg_algoname="Migrad", int arg_maxcalls=100000, float arg_tolerance=0.001)
 
ROOT::VecOps::RVec< float > operator() (const ROOT::VecOps::RVec< float > &px, const ROOT::VecOps::RVec< float > &py, const ROOT::VecOps::RVec< float > &pz)
 

Private Attributes

char const * _minname
 
char const * _algoname
 Minimizer to use, Minuit2 default.
 
int _maxcalls
 Optimisation algorithm, Migrad default.
 
float _tolerance
 Maximum call to minimization function, default=100000.
 
ROOT::Math::Minimizer * _min
 Tolerance for minimization, default=0.001.
 
double _step [3] ={0.001,0.001,0.001}
 internal ROOT minimizer
 
double _variable [3] ={1.0,1.0,1.0}
 

Detailed Description

Calculates the sphericity axis based on a list of px, py, pz.

Constructor & Destructor Documentation

◆ minimize_sphericity()

FCCAnalyses::Algorithms::minimize_sphericity::minimize_sphericity ( std::string arg_minname = "Minuit2",
std::string arg_algoname = "Migrad",
int arg_maxcalls = 100000,
float arg_tolerance = 0.001 )

Member Function Documentation

◆ operator()()

ROOT::VecOps::RVec< float > FCCAnalyses::Algorithms::minimize_sphericity::operator() ( const ROOT::VecOps::RVec< float > & px,
const ROOT::VecOps::RVec< float > & py,
const ROOT::VecOps::RVec< float > & pz )

Member Data Documentation

◆ _algoname

char const* FCCAnalyses::Algorithms::minimize_sphericity::_algoname
private

Minimizer to use, Minuit2 default.

◆ _maxcalls

int FCCAnalyses::Algorithms::minimize_sphericity::_maxcalls
private

Optimisation algorithm, Migrad default.

◆ _min

ROOT::Math::Minimizer* FCCAnalyses::Algorithms::minimize_sphericity::_min
private

Tolerance for minimization, default=0.001.

◆ _minname

char const* FCCAnalyses::Algorithms::minimize_sphericity::_minname
private

◆ _step

double FCCAnalyses::Algorithms::minimize_sphericity::_step[3] ={0.001,0.001,0.001}
private

internal ROOT minimizer

◆ _tolerance

float FCCAnalyses::Algorithms::minimize_sphericity::_tolerance
private

Maximum call to minimization function, default=100000.

◆ _variable

double FCCAnalyses::Algorithms::minimize_sphericity::_variable[3] ={1.0,1.0,1.0}
private

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