Functions
larsim::Utils::SCE Namespace Reference

Functions

bool out_of_bounds (geo::Vector_t const &offset)
 

Function Documentation

bool larsim::Utils::SCE::out_of_bounds ( geo::Vector_t const &  offset)

Definition at line 14 of file SCEOffsetBounds.cxx.

15 {
16  constexpr double limit{1.e9};
17  return (std::abs(offset.X()) > limit ||
18  std::abs(offset.Y()) > limit ||
19  std::abs(offset.Z()) > limit);
20 }
T abs(T value)