LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SCEOffsetBounds.cxx
Go to the documentation of this file.
1 
11 // LArSoft
13 
15 {
16  constexpr double limit{1.e9};
17  return (std::abs(offset.X()) > limit || std::abs(offset.Y()) > limit ||
18  std::abs(offset.Z()) > limit);
19 }
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space.
Definition: geo_vectors.h:160
bool out_of_bounds(geo::Vector_t const &offset)
constexpr auto abs(T v)
Returns the absolute value of the argument.
Utility function for testing if Space Charge offsets are out of bounds.