1 #ifndef SEGMENTATIONMUIDALG_H 2 #define SEGMENTATIONMUIDALG_H 33 gar::raw::CellID_t GetCellID(
const gar::geo::GeometryCore& geo,
const unsigned int& det_id,
const unsigned int& stave,
const unsigned int& module,
const unsigned int& layer,
const unsigned int& slice,
const std::array<double, 3>& localPosition)
const override;
47 const double&
stripSizeX()
const override {
return _stripSizeX; }
51 const double&
layerDimX()
const {
return _layer_dim_X; }
53 const double&
layerDimY()
const {
return _layer_dim_Y; }
63 const unsigned int&
nLayers()
const override {
return _nLayers; }
65 void setStripSizeY(
double stripSize) { _stripSizeY = stripSize; _stripSizeX = stripSize; }
75 void setLayerDimXY(
const double& dimX,
const double& dimY)
const override { _layer_dim_X = dimX; _layer_dim_Y = dimY; }
78 void setVariables(
const double& ,
const double & )
const override { }
82 void PrintParameters()
const override;
void setLayerDimXY(const double &dimX, const double &dimY) const override
const std::string & fieldNameX() const
double _stripSizeY
the strip size in Y
void setFieldNameX(const std::string &fieldName)
double _layer_dim_Y
layer dimension in Y
const std::string & fieldNameY() const
double _stripSizeX
the strip size in X
const double & layerDimX() const
const std::string & fieldNameLayer() const
const double & stripSizeY() const
void setFieldNameLayer(const std::string &fieldName)
Description of geometry of one entire detector.
void setVariables(const double &, const double &) const override
std::string _yId
the field name used for Y
void setFieldNameSlice(const std::string &fieldName)
static QFile::DecoderFn decoder
std::string _sliceId
the field name used for slice
virtual void reconfigure(fhicl::ParameterSet const &pset)
Helper class for decoding and encoding a bit field of 64bits for convenient declaration.
std::string _layerId
the field name used for layer
void setStripSizeY(double stripSize)
std::string _xId
the field name used for X
const unsigned int & nLayers() const override
std::string _encoding
the encoding string
General GArSoft Utilities.
double _frac
fraction of tiles to remove at the edge
const double & stripSizeX() const override
const double & layerDimY() const
void setFieldNameY(const std::string &fieldName)
unsigned int _nLayers
number of layers
const std::string & fieldNameSlice() const
LArSoft geometry interface.
double _layer_dim_X
layer dimension in X