Skip to content

Commit

Permalink
Itrodcue PDF handler which is aiming to deal with all LLH and plottin…
Browse files Browse the repository at this point in the history
…g, for now only a struct
  • Loading branch information
KSkwarczynski committed Jan 28, 2025
1 parent aa2a1e9 commit 2e187af
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 193 deletions.
22 changes: 22 additions & 0 deletions samplePDF/FarDetectorCoreInfoStruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@
#include <string>
#include "samplePDF/Structs.h"


// ********************************************
/// @brief Struct for making predictions and LLH
struct PDFHandler {
// ********************************************
PDFHandler(){}
~PDFHandler(){}

/// DB Vectors to hold bin edges for X axis
std::vector<double> XBinEdges;
/// DB Vectors to hold bin edges for Y axis
std::vector<double> YBinEdges;

/// DB Array to be filled after reweighting
std::vector<std::vector<double>> samplePDFFD_array;
/// KS Array used for MC stat
std::vector<std::vector<double>> samplePDFFD_array_w2;
/// DB Array to be filled in AddData
std::vector<std::vector<double>> samplePDFFD_data;
};


/// @brief constructors are same for all three so put in here
struct FarDetectorCoreInfo {
FarDetectorCoreInfo() : isNC{nullptr} {}
Expand Down
Loading

0 comments on commit 2e187af

Please sign in to comment.