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