Simple test on a recob::Hit object. More...
#include <numeric>
#include "boost/test/unit_test.hpp"
#include "larcoreobj/SimpleTypesAndConstants/RawTypes.h"
#include "larcoreobj/SimpleTypesAndConstants/geo_types.h"
#include "lardataobj/RecoBase/Hit.h"
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE ( hit_test ) |
Functions | |
void | CheckHit (recob::Hit const &hit, raw::ChannelID_t channel, raw::TDCtick_t start_tick, raw::TDCtick_t end_tick, float peak_time, float sigma_peak_time, float rms, float peak_amplitude, float sigma_peak_amplitude, float summedADC, float hit_integral, float hit_sigma_integral, short int multiplicity, short int local_index, float goodness_of_fit, int dof, geo::View_t view, geo::SigType_t signal_type, geo::WireID wireID) |
void | HitTestDefaultConstructor () |
void | HitTestCustomConstructors () |
BOOST_AUTO_TEST_CASE (HitDefaultConstructor) | |
BOOST_AUTO_TEST_CASE (HitCustomConstructors) | |
Simple test on a recob::Hit object.
This test simply creates recob::Hit objects and verifies that the values it can access are the right ones.
See http://www.boost.org/libs/test for the Boost test library home page.
Timing: version 1.0: ~1.5" (debug mode)
Definition in file Hit_test.cc.
#define BOOST_TEST_MODULE ( hit_test ) |
Definition at line 30 of file Hit_test.cc.
BOOST_AUTO_TEST_CASE | ( | HitDefaultConstructor | ) |
Definition at line 300 of file Hit_test.cc.
BOOST_AUTO_TEST_CASE | ( | HitCustomConstructors | ) |
Definition at line 304 of file Hit_test.cc.
void CheckHit | ( | recob::Hit const & | hit, |
raw::ChannelID_t | channel, | ||
raw::TDCtick_t | start_tick, | ||
raw::TDCtick_t | end_tick, | ||
float | peak_time, | ||
float | sigma_peak_time, | ||
float | rms, | ||
float | peak_amplitude, | ||
float | sigma_peak_amplitude, | ||
float | summedADC, | ||
float | hit_integral, | ||
float | hit_sigma_integral, | ||
short int | multiplicity, | ||
short int | local_index, | ||
float | goodness_of_fit, | ||
int | dof, | ||
geo::View_t | view, | ||
geo::SigType_t | signal_type, | ||
geo::WireID | wireID | ||
) |
Definition at line 46 of file Hit_test.cc.
void HitTestCustomConstructors | ( | ) |
Definition at line 208 of file Hit_test.cc.
void HitTestDefaultConstructor | ( | ) |
Definition at line 152 of file Hit_test.cc.