20 #include "fhiclcpp/ParameterSet.h"
28 : m_voxelSize{pset.get<
double>(
"VoxelSizeX"),
29 pset.get<
double>(
"VoxelSizeY"),
30 pset.get<
double>(
"VoxelSizeZ"),
31 pset.get<
double>(
"VoxelSizeT")}
32 , m_voxelOffset{pset.get<
double>(
"VoxelOffsetX"),
33 pset.get<
double>(
"VoxelOffsetY"),
34 pset.get<
double>(
"VoxelOffsetZ"),
35 pset.get<
double>(
"VoxelOffsetT")}
36 , m_energyCut{pset.get<
double>(
"VoxelEnergyCut")}
52 const double coord )
const
vector_type const m_voxelOffset
vector_type const m_voxelSize
The sizes of the voxels in (x,y,z,t). Units are (mm,ns).
Encapsulates calculation of LArVoxelID and LArVoxel parameters.
auto coord(Vector &v, unsigned int n) noexcept
Returns an object to manage the coordinate n of a vector.
constexpr details::BinObj< T > bin(T value)
Returns a wrapper to print the specified data in binary format.
double SuggestedStepSize() const
int AxisToBin(const int, const double) const
double BinToAxis(const int, const int) const
LArVoxelCalculator(fhicl::ParameterSet const &pset)