![]() |
MaCh3
2.4.2
Reference Guide
|
#include <set>#include <list>#include <unordered_map>#include "Manager/MaCh3Exception.h"#include "Manager/MaCh3Logger.h"#include "Manager/Core.h"#include "Parameters/ParameterStructs.h"#include "TSpline.h"#include "TObjString.h"#include "TFile.h"#include "TF1.h"#include "TH2Poly.h"#include "TH1.h"#include "Constants/OscillatorConstants.h"Go to the source code of this file.
Classes | |
| struct | KinematicCut |
| KS: Small struct used for applying kinematic cuts. More... | |
| struct | FunctionalShifter |
| Small struct used for applying shifts due to functional params. More... | |
| struct | BinShiftLookup |
| KS: Store bin lookups allowing to quickly find bin after migration. More... | |
| struct | BinInfo |
| KS: This hold bin extents in N-Dimensions allowing to check if Bin falls into. More... | |
| struct | SampleBinningInfo |
| KS: Struct storing all information required for sample binning. More... | |
Namespaces | |
| MaCh3Utils | |
Enumerations | |
| enum | TargetMat { kTarget_H = 1 , kTarget_C = 12 , kTarget_N = 14 , kTarget_O = 16 , kTarget_Al = 27 , kTarget_Ar = 40 , kTarget_Ti = 48 , kTarget_Fe = 56 , kTarget_Pb = 207 } |
| Enum to track the target material. More... | |
| enum | NuPDG { kNue = 12 , kNumu = 14 , kNutau = 16 , kNueBar = -12 , kNumuBar = -14 , kNutauBar = -16 } |
| Enum to track the incoming neutrino species. More... | |
| enum | TestStatistic { kPoisson , kBarlowBeeston , kIceCube , kPearson , kDembinskiAbdelmotteleb , kNTestStatistics } |
| Make an enum of the test statistic that we're using. More... | |
Functions | |
| std::string | TargetMat_ToString (const TargetMat i) |
| Converted the Target Mat to a string. More... | |
| std::string | TestStatistic_ToString (const TestStatistic TestStat) |
| Convert a LLH type to a string. More... | |
| int | GetSampleFromGlobalBin (const std::vector< SampleBinningInfo > &BinningInfo, const int GlobalBin) |
| Get the sample index corresponding to a global bin number. More... | |
| int | GetLocalBinFromGlobalBin (const std::vector< SampleBinningInfo > &BinningInfo, const int GlobalBin) |
| Get the local (sample) bin index from a global bin number. More... | |
| double | MaCh3Utils::GetMassFromPDG (const int PDG) |
| Return mass for given PDG. More... | |
| int | MaCh3Utils::PDGToNuOscillatorFlavour (const int NuPdg) |
| Convert from PDG flavour to NuOscillator type beware that in the case of anti-neutrinos the NuOscillator type simply gets multiplied by -1. More... | |
| std::string | MaCh3Utils::FormatDouble (const double value, const int precision) |
| Convert double into string for precision, useful for playing with yaml if you don't want to have in config floating point precision... More... | |
Definition in file SampleStructs.h.
| enum NuPDG |
Enum to track the incoming neutrino species.
| Enumerator | |
|---|---|
| kNue | Electron neutrino. |
| kNumu | Muon neutrino. |
| kNutau | Tau neutrino. |
| kNueBar | Electron antineutrino. |
| kNumuBar | Muon antineutrino. |
| kNutauBar | Tau antineutrino. |
Definition at line 94 of file SampleStructs.h.
| enum TargetMat |
Enum to track the target material.
Definition at line 37 of file SampleStructs.h.
| enum TestStatistic |
Make an enum of the test statistic that we're using.
| Enumerator | |
|---|---|
| kPoisson | Standard Poisson likelihood [2]. |
| kBarlowBeeston | |
| kIceCube | Based on [1]. |
| kPearson | Standard Pearson likelihood [25]. |
| kDembinskiAbdelmotteleb | Based on [6]. |
| kNTestStatistics | Number of test statistics. |
Definition at line 105 of file SampleStructs.h.
|
inline |
Get the local (sample) bin index from a global bin number.
| BinningInfo | Vector of SampleBinningInfo structs. |
| GlobalBin | The global bin number. |
Definition at line 699 of file SampleStructs.h.
|
inline |
Get the sample index corresponding to a global bin number.
| BinningInfo | Vector of SampleBinningInfo structs. |
| GlobalBin | The global bin number. |
Definition at line 680 of file SampleStructs.h.
|
inline |
|
inline |