1 #ifndef SEGMENTATIONSTRIPYALG_H 2 #define SEGMENTATIONSTRIPYALG_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;
49 const double&
layerDimX()
const {
return _layer_dim_X; }
51 const double&
layerDimY()
const {
return _layer_dim_Y; }
61 const unsigned int&
nLayers()
const override {
return _nLayers; }
73 void setLayerDimXY(
const double& dimX,
const double& dimY)
const override { _layer_dim_X = dimX; _layer_dim_Y = dimY; }
76 void setVariables(
const double& ,
const double & )
const override { }
80 void PrintParameters()
const override;
const std::string & fieldNameX() const
double _frac
fraction of tiles to remove at the edge
void setFieldNameX(const std::string &fieldName)
void setFieldNameY(const std::string &fieldName)
Description of geometry of one entire detector.
double _layer_dim_X
layer dimension in X
void setVariables(const double &, const double &) const override
const std::string & fieldNameY() const
const unsigned int & nLayers() const override
double _layer_dim_Y
layer dimension in Y
static QFile::DecoderFn decoder
const double & layerDimY() const
virtual void reconfigure(fhicl::ParameterSet const &pset)
Helper class for decoding and encoding a bit field of 64bits for convenient declaration.
const std::string & fieldNameLayer() const
unsigned int _nLayers
number of layers
void setFieldNameSlice(const std::string &fieldName)
double _stripSizeY
the strip size in Y
General GArSoft Utilities.
std::string _sliceId
the field name used for slice
std::string _yId
the field name used for Y
const std::string & fieldNameSlice() const
void setLayerDimXY(const double &dimX, const double &dimY) const override
void setStripSizeY(double stripSize)
std::string _encoding
the encoding string
const double & stripSizeY() const
LArSoft geometry interface.
const double & layerDimX() const
std::string _xId
the field name used for X
std::string _layerId
the field name used for layer
void setFieldNameLayer(const std::string &fieldName)