pflib v3.9.5-8-gf71a60f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
inv_vref_lund.h
1#pragma once
2
3#include "pflib/Target.h"
4
9namespace pflib::algorithm {
10
20 public:
21 DataFitter();
22
23 // Member functions
24
25 void sort_and_append(std::vector<int>& inv_vrefs, std::vector<int>& pedestals,
26 std::vector<double>& stds, int& step);
27 int fit(int target);
28
29 // Member variables
30
31 struct Point {
32 int x_;
33 int y_;
34 double LH_;
35 double RH_;
36 };
37 std::vector<Point> linear_;
38 std::vector<Point> nonlinear_;
39 int LH_median_;
40 double LH_std_median_;
41 int RH_median_;
42};
43
53 Target* tgt, ROC& roc);
54
55} // namespace pflib::algorithm
Definition ROC.h:18
encapulating a given setup's access rules
Definition Target.h:24
Data class that stores information about each point in a 1d space.
Definition inv_vref_lund.h:19
housing of higher-level methods for repeatable tasks
Definition get_calibs.cxx:10
std::map< std::string, std::map< std::string, uint64_t > > inv_vref_lund(Target *tgt, ROC &roc)
Find the inv_vref parameters.
Definition inv_vref_lund.cxx:114
static void roc(const std::string &cmd, Target *pft)
ROC menu commands.
Definition roc.cxx:121
Definition inv_vref_lund.h:31