48 double voxelSizeT = pset.
get<
double>(
"VoxelSizeT");
49 double voxelOffsetX = pset.
get<
double>(
"VoxelOffsetX");
50 double voxelOffsetY = pset.
get<
double>(
"VoxelOffsetY");
51 double voxelOffsetZ = pset.
get<
double>(
"VoxelOffsetZ");
52 double voxelOffsetT = pset.
get<
double>(
"VoxelOffsetT");
81 const double coord )
const
Encapsulates calculation of LArVoxelID and LArVoxel parameters.
#define DEFINE_ART_SERVICE(svc)
auto coord(Vector &v, unsigned int n) noexcept
Returns an object to manage the coordinate n of a vector.
void reconfigure(fhicl::ParameterSet const &pset)
~LArVoxelCalculator()
Destructor.
T get(std::string const &key) const
vector_type m_voxelSize
The sizes of the voxels in (x,y,z,t). Units are (mm,ns).
LArVoxelCalculator(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
vector_type m_voxelOffset
double SuggestedStepSize() const
int AxisToBin(const int, const double) const
double BinToAxis(const int, const int) const