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

Finds the thrust axis based on a list of px, py, pz. More...

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

Public Member Functions

 minimize_thrust (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

Finds the thrust axis based on a list of px, py, pz.

Constructor & Destructor Documentation

◆ minimize_thrust()

FCCAnalyses::Algorithms::minimize_thrust::minimize_thrust ( 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_thrust::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_thrust::_algoname
private

Minimizer to use, Minuit2 default.

◆ _maxcalls

int FCCAnalyses::Algorithms::minimize_thrust::_maxcalls
private

Optimisation algorithm, Migrad default.

◆ _min

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

Tolerance for minimization, default=0.001.

◆ _minname

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

◆ _step

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

internal ROOT minimizer

◆ _tolerance

float FCCAnalyses::Algorithms::minimize_thrust::_tolerance
private

Maximum call to minimization function, default=100000.

◆ _variable

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

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