PAASS
Software suite to Acquire and Analyze Data from Pixie16
unittest_trace_variables Namespace Reference

Functions

static const std::vector< double > waveform (trace_sans_baseline.begin()+71, trace_sans_baseline.begin()+86)
 
static const std::pair< unsigned int, double > max_pair (max_position, maximum_value)
 This is the pair made from the expected maximum information. More...
 
static const std::pair< double, double > baseline_pair (baseline, standard_deviation)
 
static const std::pair< unsigned int, double > extrapolated_maximum_pair (max_position, extrapolated_maximum)
 

Variables

static const std::vector< unsigned int > trace
 
static const std::vector< double > trace_sans_baseline
 
static const std::vector< unsigned int > empty_vector_uint
 
static const std::vector< double > empty_vector_double
 
static const std::vector< unsigned int > const_vector_uint = {1000, 4}
 
static const double maximum_value = 3816
 This is the expected value of the maximum. More...
 
static const unsigned int max_position = 76
 This is the expected position of the maximum. More...
 
static const double baseline = 436.7428571
 
static const double standard_deviation = 1.976184739
 
static const unsigned int trace_delay = 80
 The trace delay in bins for the signal above. More...
 
static const double tail_ratio = 0.2960894762
 
static const std::vector< double > extrapolated_max_coeffs
 
static const double extrapolated_maximum = 3818.0718412264
 

Function Documentation

§ baseline_pair()

static const std::pair<double, double> unittest_trace_variables::baseline_pair ( baseline  ,
standard_deviation   
)
static
Here is the caller graph for this function:

§ extrapolated_maximum_pair()

static const std::pair<unsigned int, double> unittest_trace_variables::extrapolated_maximum_pair ( max_position  ,
extrapolated_maximum   
)
static
Here is the caller graph for this function:

§ max_pair()

static const std::pair<unsigned int, double> unittest_trace_variables::max_pair ( max_position  ,
maximum_value   
)
static

This is the pair made from the expected maximum information.

Here is the caller graph for this function:

§ waveform()

static const std::vector<double> unittest_trace_variables::waveform ( trace_sans_baseline.begin()+  71,
trace_sans_baseline.begin()+  86 
)
static
Here is the caller graph for this function:

Variable Documentation

§ baseline

const double unittest_trace_variables::baseline = 436.7428571
static

Definition at line 212 of file UnitTestSampleData.hpp.

§ const_vector_uint

const std::vector<unsigned int> unittest_trace_variables::const_vector_uint = {1000, 4}
static

Definition at line 197 of file UnitTestSampleData.hpp.

§ empty_vector_double

const std::vector<double> unittest_trace_variables::empty_vector_double
static

Definition at line 194 of file UnitTestSampleData.hpp.

§ empty_vector_uint

const std::vector<unsigned int> unittest_trace_variables::empty_vector_uint
static

Definition at line 193 of file UnitTestSampleData.hpp.

§ extrapolated_max_coeffs

const std::vector<double> unittest_trace_variables::extrapolated_max_coeffs
static
Initial value:
=
{-15641316.0007084, 592747.666694852, -7472.00000037373,
31.3333333349849}

Definition at line 229 of file UnitTestSampleData.hpp.

§ extrapolated_maximum

const double unittest_trace_variables::extrapolated_maximum = 3818.0718412264
static

Definition at line 234 of file UnitTestSampleData.hpp.

§ max_position

const unsigned int unittest_trace_variables::max_position = 76
static

This is the expected position of the maximum.

Definition at line 203 of file UnitTestSampleData.hpp.

§ maximum_value

const double unittest_trace_variables::maximum_value = 3816
static

This is the expected value of the maximum.

Definition at line 200 of file UnitTestSampleData.hpp.

§ standard_deviation

const double unittest_trace_variables::standard_deviation = 1.976184739
static

Definition at line 216 of file UnitTestSampleData.hpp.

§ tail_ratio

const double unittest_trace_variables::tail_ratio = 0.2960894762
static

Definition at line 226 of file UnitTestSampleData.hpp.

§ trace

const std::vector<unsigned int> unittest_trace_variables::trace
static
Initial value:
= {
437, 436, 434, 434, 437, 437, 438, 435, 434, 438, 439, 437, 438,
434, 435, 439, 438, 434, 434, 435, 437, 440, 439, 435, 437, 439,
438, 435, 436, 436, 437, 439, 435, 433, 434, 436, 439, 441, 436,
437, 439, 438, 438, 435, 434, 434, 438, 438, 434, 434, 437, 440,
439, 438, 434, 436, 439, 439, 437, 436, 434, 436, 438, 437, 436,
437, 440, 440, 439, 436, 435, 437, 501, 1122, 2358, 3509, 3816,
3467, 2921, 2376, 1914, 1538, 1252, 1043, 877, 750, 667, 619,
591, 563, 526, 458, 395, 403, 452, 478, 492, 498, 494, 477, 460,
459, 462, 461, 460, 456, 452, 452, 455, 453, 446, 441, 440, 444,
456, 459, 451, 450, 447, 445, 449, 456, 456, 455
}

Definition at line 151 of file UnitTestSampleData.hpp.

§ trace_delay

const unsigned int unittest_trace_variables::trace_delay = 80
static

The trace delay in bins for the signal above.

Definition at line 223 of file UnitTestSampleData.hpp.

§ trace_sans_baseline

const std::vector<double> unittest_trace_variables::trace_sans_baseline
static
Initial value:
= {
0.257143, -0.742857, -2.74286, -2.74286, 0.257143, 0.257143,
1.25714, -1.74286, -2.74286, 1.25714, 2.25714, 0.257143, 1.25714,
-2.74286, -1.74286, 2.25714, 1.25714, -2.74286, -2.74286, -1.74286,
0.257143, 3.25714, 2.25714, -1.74286, 0.257143, 2.25714, 1.25714,
-1.74286, -0.742857, -0.742857, 0.257143, 2.25714, -1.74286,
-3.74286, -2.74286, -0.742857, 2.25714, 4.25714, -0.742857,
0.257143, 2.25714, 1.25714, 1.25714, -1.74286, -2.74286, -2.74286,
1.25714, 1.25714, -2.74286, -2.74286, 0.257143, 3.25714, 2.25714,
1.25714, -2.74286, -0.742857, 2.25714, 2.25714, 0.257143, -0.742857,
-2.74286, -0.742857, 1.25714, 0.257143, -0.742857, 0.257143,
3.25714, 3.25714, 2.25714, -0.742857, -1.74286, 0.257143, 64.2571,
685.257, 1921.26, 3072.26, 3379.26, 3030.26, 2484.26, 1939.26,
1477.26, 1101.26, 815.257, 606.257, 440.257, 313.257, 230.257,
182.257, 154.257, 126.257, 89.2571, 21.2571, -41.7429, -33.7429,
15.2571, 41.2571, 55.2571, 61.2571, 57.2571, 40.2571, 23.2571,
22.2571, 25.2571, 24.2571, 23.2571, 19.2571, 15.2571, 15.2571,
18.2571, 16.2571, 9.25714, 4.25714, 3.25714, 7.25714, 19.2571,
22.2571, 14.2571, 13.2571, 10.2571, 8.25714, 12.2571, 19.2571,
19.2571, 18.2571
}

Definition at line 164 of file UnitTestSampleData.hpp.