#include <SegmentationStripYAlg.h>
Public Member Functions | |
SegmentationStripYAlg (fhicl::ParameterSet const &pset) | |
Default constructor used by derived classes passing the encoding string. More... | |
SegmentationStripYAlg (const BitFieldCoder *decoder, fhicl::ParameterSet const &pset) | |
Default constructor used by derived classes passing an existing decoder. More... | |
~SegmentationStripYAlg () | |
void | reconfigure (fhicl::ParameterSet const &pset) override |
void | Initialize (const gar::geo::GeometryCore &geo) override |
std::array< double, 3 > | GetPosition (const gar::geo::GeometryCore &geo, const gar::raw::CellID_t &cID) const override |
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 |
determine the cell ID based on the position More... | |
bool | isTile (const gar::raw::CellID_t &cID) const override |
bool | isBarrel (const gar::raw::CellID_t &cID) const override |
double | getStripLength (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const gar::raw::CellID_t &cID) const override |
std::pair< TVector3, TVector3 > | getStripEnds (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const gar::raw::CellID_t &cID) const override |
std::pair< float, float > | CalculateLightPropagation (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const gar::raw::CellID_t &cID) const override |
std::array< double, 3 > | ReconstructStripHitPosition (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const float &xlocal, const gar::raw::CellID_t &cID) const override |
const double & | stripSizeY () const |
const double & | layerDimX () const |
const double & | layerDimY () const |
const std::string & | fieldNameX () const |
const std::string & | fieldNameY () const |
const std::string & | fieldNameLayer () const |
const std::string & | fieldNameSlice () const |
const unsigned int & | nLayers () const override |
void | setStripSizeY (double stripSize) |
void | setFieldNameX (const std::string &fieldName) |
void | setFieldNameY (const std::string &fieldName) |
void | setFieldNameLayer (const std::string &fieldName) |
void | setFieldNameSlice (const std::string &fieldName) |
void | setLayerDimXY (const double &dimX, const double &dimY) const override |
void | setVariables (const double &, const double &) const override |
Public Member Functions inherited from gar::geo::seg::SegmentationAlg | |
virtual | ~SegmentationAlg () |
virtual const std::string & | name () const |
virtual void | setName (const std::string &value) |
virtual const std::string & | type () const |
virtual const std::string & | description () const |
virtual const BitFieldCoder * | decoder () const |
virtual const double & | gridSizeX () const |
virtual const double & | stripSizeX () const |
virtual const unsigned int & | nPlanes () const |
virtual const std::string & | cellEncoding () const |
virtual void | setDecoder (const BitFieldCoder *decoder) |
Protected Member Functions | |
void | PrintParameters () const override |
Protected Member Functions inherited from gar::geo::seg::SegmentationAlg | |
SegmentationAlg (fhicl::ParameterSet const &pset) | |
SegmentationAlg (const BitFieldCoder *decoder, fhicl::ParameterSet const &pset) | |
Protected Attributes | |
std::string | _xId |
the field name used for X More... | |
std::string | _yId |
the field name used for Y More... | |
std::string | _layerId |
the field name used for layer More... | |
std::string | _sliceId |
the field name used for slice More... | |
std::string | _encoding |
the encoding string More... | |
double | _stripSizeY |
the strip size in Y More... | |
double | _frac |
fraction of tiles to remove at the edge More... | |
unsigned int | _nLayers |
number of layers More... | |
double | _layer_dim_X |
layer dimension in X More... | |
double | _layer_dim_Y |
layer dimension in Y More... | |
Protected Attributes inherited from gar::geo::seg::SegmentationAlg | |
std::string | _name |
std::string | _type |
std::string | _description |
std::string | _encoding |
double | _gridSizeX |
double | _stripSizeX |
unsigned int | _nLayers |
unsigned int | _nPlanes |
const BitFieldCoder * | _decoder = 0 |
Additional Inherited Members | |
Static Protected Member Functions inherited from gar::geo::seg::SegmentationAlg | |
static double | binToPosition (gar::raw::CellID_t bin, double cellSize, double offset=0) |
static int | positionToBin (double position, double cellSize, double offset=0) |
Definition at line 18 of file SegmentationStripYAlg.h.
gar::geo::seg::SegmentationStripYAlg::SegmentationStripYAlg | ( | fhicl::ParameterSet const & | pset | ) |
Default constructor used by derived classes passing the encoding string.
Definition at line 20 of file SegmentationStripYAlg.cxx.
gar::geo::seg::SegmentationStripYAlg::SegmentationStripYAlg | ( | const BitFieldCoder * | decoder, |
fhicl::ParameterSet const & | pset | ||
) |
Default constructor used by derived classes passing an existing decoder.
Definition at line 33 of file SegmentationStripYAlg.cxx.
gar::geo::seg::SegmentationStripYAlg::~SegmentationStripYAlg | ( | ) |
Definition at line 45 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 169 of file SegmentationStripYAlg.cxx.
|
inline |
Definition at line 57 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 59 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 53 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 55 of file SegmentationStripYAlg.h.
|
overridevirtual |
determine the cell ID based on the position
Implements gar::geo::seg::SegmentationAlg.
Definition at line 96 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 76 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 153 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 147 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 70 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 141 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 135 of file SegmentationStripYAlg.cxx.
|
inline |
Definition at line 49 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 51 of file SegmentationStripYAlg.h.
|
inlineoverridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 61 of file SegmentationStripYAlg.h.
|
overrideprotectedvirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 123 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 50 of file SegmentationStripYAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 184 of file SegmentationStripYAlg.cxx.
|
inline |
Definition at line 69 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 71 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 65 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 67 of file SegmentationStripYAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 73 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 63 of file SegmentationStripYAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 76 of file SegmentationStripYAlg.h.
|
inline |
Definition at line 47 of file SegmentationStripYAlg.h.
|
protected |
the encoding string
Definition at line 91 of file SegmentationStripYAlg.h.
|
protected |
fraction of tiles to remove at the edge
Definition at line 95 of file SegmentationStripYAlg.h.
|
mutableprotected |
layer dimension in X
Definition at line 99 of file SegmentationStripYAlg.h.
|
mutableprotected |
layer dimension in Y
Definition at line 101 of file SegmentationStripYAlg.h.
|
protected |
the field name used for layer
Definition at line 87 of file SegmentationStripYAlg.h.
|
protected |
number of layers
Definition at line 97 of file SegmentationStripYAlg.h.
|
protected |
the field name used for slice
Definition at line 89 of file SegmentationStripYAlg.h.
|
protected |
the strip size in Y
Definition at line 93 of file SegmentationStripYAlg.h.
|
protected |
the field name used for X
Definition at line 83 of file SegmentationStripYAlg.h.
|
protected |
the field name used for Y
Definition at line 85 of file SegmentationStripYAlg.h.