![]() |
MaCh3 2.2.1
Reference Guide
|
#include <set>
#include <list>
#include <unordered_map>
#include "Manager/MaCh3Exception.h"
#include "Manager/MaCh3Logger.h"
#include "Manager/Core.h"
#include "TSpline.h"
#include "TObjString.h"
#include "TFile.h"
#include "TF1.h"
#include "TH2Poly.h"
#include "TH1.h"
Go to the source code of this file.
Classes | |
struct | TypeParameterBase |
Base class storing info for parameters types, helping unify codebase. More... | |
struct | NormParameter |
ETA - Normalisations for cross-section parameters Carrier for whether you want to apply a systematic to an event or not. More... | |
struct | FunctionalParameter |
HH - Functional parameters Carrier for whether you want to apply a systematic to an event or not. More... | |
struct | SplineParameter |
KS: Struct holding info about Spline Systematics. More... | |
struct | OscillationParameter |
KS: Struct holding info about oscillation Systematics. More... | |
Typedefs | |
using | FuncParFuncType = std::function< void(const double *, std::size_t)> |
Enumerations | |
enum | RespFuncType { kTSpline3_red , kTF1_red , kRespFuncTypes } |
Make an enum of the spline interpolation type. More... | |
enum | SplineInterpolation { kTSpline3 , kLinear , kMonotonic , kAkima , kLinearFunc , kSplineInterpolations } |
Make an enum of the spline interpolation type. More... | |
enum | SystType { kNorm , kSpline , kFunc , kOsc , kSystTypes } |
Functions | |
template<typename T , size_t N> | |
std::vector< T > | MakeVector (const T(&data)[N]) |
Template to make vector out of an array of any length. | |
template<typename T > | |
void | CleanVector (std::vector< T > &vec) |
Generic cleanup function. | |
template<typename T > | |
void | CleanVector (std::vector< std::vector< T > > &vec) |
Generic cleanup function. | |
template<typename T > | |
void | CleanVector (std::vector< std::vector< std::vector< T > > > &vec) |
Generic cleanup function. | |
template<typename T > | |
void | CleanVector (std::vector< std::vector< std::vector< std::vector< std::vector< std::vector< std::vector< T > > > > > > > &vec) |
Generic cleanup function. | |
template<typename T > | |
void | CleanContainer (std::vector< T * > &container) |
Generic cleanup function. | |
template<typename T > | |
void | CleanContainer (std::vector< std::vector< std::vector< T * > > > &container) |
Generic cleanup function. | |
std::string | GetTF1 (const SplineInterpolation i) |
Get function for TF1_red. | |
RespFuncType | SplineInterpolation_ToRespFuncType (const SplineInterpolation i) |
Convert a RespFuncType type to a SplineInterpolation. | |
std::string | SplineInterpolation_ToString (const SplineInterpolation i) |
Convert a LLH type to a string. | |
std::string | SystType_ToString (const SystType i) |
Convert a Syst type type to a string. | |
Definition in file ParameterStructs.h.
using FuncParFuncType = std::function<void (const double*, std::size_t)> |
Definition at line 184 of file ParameterStructs.h.
enum RespFuncType |
Make an enum of the spline interpolation type.
Enumerator | |
---|---|
kTSpline3_red | Uses TSpline3_red for interpolation. |
kTF1_red | Uses TF1_red for interpolation. |
kRespFuncTypes | This only enumerates. |
Definition at line 220 of file ParameterStructs.h.
enum SplineInterpolation |
Make an enum of the spline interpolation type.
Definition at line 227 of file ParameterStructs.h.
enum SystType |
Make an enum of systematic type recognised by covariance class
Enumerator | |
---|---|
kNorm | For normalisation parameters. |
kSpline | For splined parameters (1D) |
kFunc | For functional parameters. |
kOsc | For oscillation parameters. |
kSystTypes | This only enumerates. |
Definition at line 324 of file ParameterStructs.h.
void CleanContainer | ( | std::vector< std::vector< std::vector< T * > > > & | container | ) |
Generic cleanup function.
Definition at line 128 of file ParameterStructs.h.
void CleanContainer | ( | std::vector< T * > & | container | ) |
Generic cleanup function.
Definition at line 115 of file ParameterStructs.h.
void CleanVector | ( | std::vector< std::vector< std::vector< std::vector< std::vector< std::vector< std::vector< T > > > > > > > & | vec | ) |
Generic cleanup function.
Definition at line 82 of file ParameterStructs.h.
void CleanVector | ( | std::vector< std::vector< std::vector< T > > > & | vec | ) |
Generic cleanup function.
Definition at line 64 of file ParameterStructs.h.
void CleanVector | ( | std::vector< std::vector< T > > & | vec | ) |
Generic cleanup function.
Definition at line 51 of file ParameterStructs.h.
void CleanVector | ( | std::vector< T > & | vec | ) |
Generic cleanup function.
Definition at line 42 of file ParameterStructs.h.
|
inline |
Get function for TF1_red.
i | Interpolation type |
Definition at line 239 of file ParameterStructs.h.
std::vector< T > MakeVector | ( | const T(&) | data[N] | ) |
Template to make vector out of an array of any length.
Definition at line 34 of file ParameterStructs.h.
|
inline |
Convert a RespFuncType type to a SplineInterpolation.
i | Interpolation type |
Definition at line 264 of file ParameterStructs.h.
|
inline |
Convert a LLH type to a string.
Definition at line 290 of file ParameterStructs.h.
|
inline |
Convert a Syst type type to a string.
Definition at line 350 of file ParameterStructs.h.