1 #ifndef MINERVASEGMENTATIONALG_H 2 #define MINERVASEGMENTATIONALG_H 36 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;
38 const double&
stripSizeX()
const override {
return _stripSizeX; }
42 const double&
layerDimX()
const {
return _layer_dim_X; }
44 const double&
layerDimY()
const {
return _layer_dim_Y; }
56 const unsigned int&
nPlanes()
const override {
return _nPlanes; }
74 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 { }
78 void AddHitsMinerva(std::map<
gar::raw::CellID_t, std::vector<gar::sdp::CaloDeposit> > &m_Deposits, std::vector<gar::sdp::CaloDeposit> &fDeposits)
const;
84 void PrintParameters()
const override;
double _stripSizeX
the strip size in X
double _layer_dim_X
layer dimension in X
std::string _sliceId
the field name used for slice
const std::string & fieldNameLayer() const
std::string _encoding
the encoding string
void setStripSizeX(double stripSize)
void setStripSizeY(double stripSize)
std::string _yId
the field name used for Y
double _frac
fraction of tiles to remove at the edge
void setFieldNameY(const std::string &fieldName)
const std::string & fieldNameZ() const
const double & stripSizeX() const override
Description of geometry of one entire detector.
void setVariables(const double &, const double &) const override
const double & layerDimX() const
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 setLayerDimXY(const double &dimX, const double &dimY) const override
const std::string & fieldNameX() const
const double & stripSizeY() const
Definition of basic calo raw digits.
bool isTile(const gar::raw::CellID_t &) const override
const unsigned int & nPlanes() const override
const std::string & fieldNameSlice() const
double _layer_dim_Y
layer dimension in Y
const double & layerDimY() const
double _stripSizeY
the strip size in Y
std::string _zId
the field name used for Z
General GArSoft Utilities.
void setFieldNameLayer(const std::string &fieldName)
bool isBarrel(const gar::raw::CellID_t &) const override
std::string _xId
the field name used for X
void setFieldNameSlice(const std::string &fieldName)
const std::string & fieldNameY() const
LArSoft geometry interface.
std::string _layerId
the field name used for layer
void setFieldNameX(const std::string &fieldName)
unsigned int _nPlanes
number of planes