#include <SegmentationStripXAlg.h>
Public Member Functions | |
SegmentationStripXAlg (fhicl::ParameterSet const &pset) | |
Default constructor used by derived classes passing the encoding string. More... | |
SegmentationStripXAlg (const BitFieldCoder *decoder, fhicl::ParameterSet const &pset) | |
Default constructor used by derived classes passing an existing decoder. More... | |
~SegmentationStripXAlg () | |
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 & | stripSizeX () const override |
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 | setStripSizeX (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 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 | _stripSizeX |
the strip size in X 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 SegmentationStripXAlg.h.
gar::geo::seg::SegmentationStripXAlg::SegmentationStripXAlg | ( | fhicl::ParameterSet const & | pset | ) |
Default constructor used by derived classes passing the encoding string.
Definition at line 20 of file SegmentationStripXAlg.cxx.
gar::geo::seg::SegmentationStripXAlg::SegmentationStripXAlg | ( | const BitFieldCoder * | decoder, |
fhicl::ParameterSet const & | pset | ||
) |
Default constructor used by derived classes passing an existing decoder.
Definition at line 33 of file SegmentationStripXAlg.cxx.
gar::geo::seg::SegmentationStripXAlg::~SegmentationStripXAlg | ( | ) |
Definition at line 45 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 167 of file SegmentationStripXAlg.cxx.
|
inline |
Definition at line 57 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 59 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 53 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 55 of file SegmentationStripXAlg.h.
|
overridevirtual |
determine the cell ID based on the position
Implements gar::geo::seg::SegmentationAlg.
Definition at line 94 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 76 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 151 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 145 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 70 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 139 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 133 of file SegmentationStripXAlg.cxx.
|
inline |
Definition at line 49 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 51 of file SegmentationStripXAlg.h.
|
inlineoverridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 61 of file SegmentationStripXAlg.h.
|
overrideprotectedvirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 121 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 50 of file SegmentationStripXAlg.cxx.
|
overridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 182 of file SegmentationStripXAlg.cxx.
|
inline |
Definition at line 69 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 71 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 65 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 67 of file SegmentationStripXAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 73 of file SegmentationStripXAlg.h.
|
inline |
Definition at line 63 of file SegmentationStripXAlg.h.
|
inlineoverridevirtual |
Implements gar::geo::seg::SegmentationAlg.
Definition at line 75 of file SegmentationStripXAlg.h.
|
inlineoverridevirtual |
Reimplemented from gar::geo::seg::SegmentationAlg.
Definition at line 47 of file SegmentationStripXAlg.h.
|
protected |
the encoding string
Definition at line 90 of file SegmentationStripXAlg.h.
|
protected |
fraction of tiles to remove at the edge
Definition at line 94 of file SegmentationStripXAlg.h.
|
mutableprotected |
layer dimension in X
Definition at line 98 of file SegmentationStripXAlg.h.
|
mutableprotected |
layer dimension in Y
Definition at line 100 of file SegmentationStripXAlg.h.
|
protected |
the field name used for layer
Definition at line 86 of file SegmentationStripXAlg.h.
|
protected |
number of layers
Definition at line 96 of file SegmentationStripXAlg.h.
|
protected |
the field name used for slice
Definition at line 88 of file SegmentationStripXAlg.h.
|
protected |
the strip size in X
Definition at line 92 of file SegmentationStripXAlg.h.
|
protected |
the field name used for X
Definition at line 82 of file SegmentationStripXAlg.h.
|
protected |
the field name used for Y
Definition at line 84 of file SegmentationStripXAlg.h.