![]() |
MaCh3 2.2.1
Reference Guide
|
Contains structures and helper functions for handling spline representations of systematic parameters in the MaCh3. More...
#include "Parameters/ParameterHandlerGeneric.h"
#include "Parameters/ParameterStructs.h"
#include <cmath>
Go to the source code of this file.
Classes | |
struct | FastSplineInfo |
CW: Add a struct to hold info about the splinified xsec parameters and help with FindSplineSegment. More... | |
class | TResponseFunction_red |
KS: A reduced ResponseFunction Generic function used for evaluating weight. More... | |
class | TF1_red |
CW: A reduced TF1 class only. Only saves parameters for each TF1 and how many parameters each parameter set has. More... | |
class | TSpline3_red |
CW: Reduced TSpline3 class. More... | |
Functions | |
void | ApplyKnotWeightCap (TGraph *xsecgraph, const int splineParsIndex, ParameterHandlerGeneric *XsecCov) |
EM: Apply capping to knot weight for specified spline parameter. param graph needs to have been set in xsecgraph array first. | |
void | ApplyKnotWeightCapTSpline3 (TSpline3 *&Spline, const int splineParsIndex, ParameterHandlerGeneric *XsecCov) |
EM: Apply capping to knot weight for specified spline parameter. param graph needs to have been set in Spline array first. | |
bool | isFlat (TSpline3_red *&spl) |
CW: Helper function used in the constructor, tests to see if the spline is flat. | |
std::vector< std::vector< TSpline3_red * > > | ReduceTSpline3 (std::vector< std::vector< TSpline3 * > > &MasterSpline) |
CW: Reduced the TSpline3 to TSpline3_red. | |
std::vector< std::vector< TF1_red * > > | ReduceTF1 (std::vector< std::vector< TF1 * > > &MasterSpline) |
CW: Reduced the TF1 to TF1_red. | |
TResponseFunction_red * | CreateResponseFunction (TGraph *&graph, const RespFuncType SplineRespFuncType, const SplineInterpolation SplineInterpolationType, const std::string &Title) |
KS: Create Response Function using TGraph. | |
Contains structures and helper functions for handling spline representations of systematic parameters in the MaCh3.
Definition in file SplineStructs.h.
|
inline |
EM: Apply capping to knot weight for specified spline parameter. param graph needs to have been set in xsecgraph array first.
Definition at line 51 of file SplineStructs.h.
|
inline |
EM: Apply capping to knot weight for specified spline parameter. param graph needs to have been set in Spline array first.
Definition at line 100 of file SplineStructs.h.
|
inline |
KS: Create Response Function using TGraph.
graph | This holds weights for each "spline" knot |
SplineRespFuncType | Type of response function, whether we use Spline or TF1 |
SplineInterpolationType | Interpolation type for example Monotonic Akima etc. |
Title | title you want for ROOT object, isn't very useful as in MaCh3 we usually convert later to something light weight to not waste RAM. |
Definition at line 799 of file SplineStructs.h.
|
inline |
CW: Helper function used in the constructor, tests to see if the spline is flat.
spl | pointer to TSpline3_red that will be checked |
Definition at line 701 of file SplineStructs.h.
|
inline |
CW: Reduced the TF1 to TF1_red.
MasterSpline | Vector of TF1_red pointers which we strip back |
Definition at line 758 of file SplineStructs.h.
|
inline |
CW: Reduced the TSpline3 to TSpline3_red.
MasterSpline | Vector of TSpline3_red pointers which we strip back |
Definition at line 720 of file SplineStructs.h.