Simple test on a recob::Cluster object. More...
#include <utility>
#include "boost/test/unit_test.hpp"
#include "larcoreobj/SimpleTypesAndConstants/geo_types.h"
#include "lardataobj/RecoBase/Cluster.h"
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE ( cluster_test ) |
Functions | |
void | CheckCluster (recob::Cluster const &cluster, float start_wire, float sigma_start_wire, float start_tick, float sigma_start_tick, float start_charge, float start_angle, float start_opening, float end_wire, float sigma_end_wire, float end_tick, float sigma_end_tick, float end_charge, float end_angle, float end_opening, float integral, float integral_stddev, float summedADC, float summedADC_stddev, unsigned int n_hits, float multiple_hit_density, float width, recob::Cluster::ID_t ID, geo::View_t view, geo::PlaneID const &plane) |
void | ClusterTestDefaultConstructor () |
void | ClusterTestCustomConstructor () |
void | ClusterTestCopyMoveOperations () |
BOOST_AUTO_TEST_CASE (ClusterDefaultConstructor) | |
BOOST_AUTO_TEST_CASE (ClusterCustomConstructors) | |
BOOST_AUTO_TEST_CASE (ClusterCopyMoveOperations) | |
Simple test on a recob::Cluster object.
This test simply creates recob::Cluster 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 Cluster_test.cc.
#define BOOST_TEST_MODULE ( cluster_test ) |
Definition at line 31 of file Cluster_test.cc.
BOOST_AUTO_TEST_CASE | ( | ClusterDefaultConstructor | ) |
Definition at line 765 of file Cluster_test.cc.
BOOST_AUTO_TEST_CASE | ( | ClusterCustomConstructors | ) |
Definition at line 769 of file Cluster_test.cc.
BOOST_AUTO_TEST_CASE | ( | ClusterCopyMoveOperations | ) |
Definition at line 773 of file Cluster_test.cc.
void CheckCluster | ( | recob::Cluster const & | cluster, |
float | start_wire, | ||
float | sigma_start_wire, | ||
float | start_tick, | ||
float | sigma_start_tick, | ||
float | start_charge, | ||
float | start_angle, | ||
float | start_opening, | ||
float | end_wire, | ||
float | sigma_end_wire, | ||
float | end_tick, | ||
float | sigma_end_tick, | ||
float | end_charge, | ||
float | end_angle, | ||
float | end_opening, | ||
float | integral, | ||
float | integral_stddev, | ||
float | summedADC, | ||
float | summedADC_stddev, | ||
unsigned int | n_hits, | ||
float | multiple_hit_density, | ||
float | width, | ||
recob::Cluster::ID_t | ID, | ||
geo::View_t | view, | ||
geo::PlaneID const & | plane | ||
) |
Definition at line 45 of file Cluster_test.cc.
void ClusterTestCopyMoveOperations | ( | ) |
Definition at line 402 of file Cluster_test.cc.
void ClusterTestCustomConstructor | ( | ) |
Definition at line 306 of file Cluster_test.cc.
void ClusterTestDefaultConstructor | ( | ) |
Definition at line 237 of file Cluster_test.cc.