STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_pt_smoothing.cpp File Reference
#include <cmath>
#include <iostream>
#include <limits>
#include <string>
#include "calibration/PtSmoothing.hpp"
Include dependency graph for test_pt_smoothing.cpp:

Go to the source code of this file.

Classes

class  PtSmoother
 PtSmoother: calibrated PT output smoothing. More...

Functions

static void check (bool ok, const std::string &what)
static bool near (double a, double b)
int main ()

Variables

static int g_failures = 0

Function Documentation

◆ check()

void check ( bool ok,
const std::string & what )
static

Definition at line 15 of file test_pt_smoothing.cpp.

References g_failures, and ok.

Referenced by main().

◆ main()

◆ near()

bool near ( double a,
double b )
static

Definition at line 20 of file test_pt_smoothing.cpp.

References a, and b.

Referenced by main().

Variable Documentation

◆ g_failures

int g_failures = 0
static

Definition at line 14 of file test_pt_smoothing.cpp.