#include <SegmentationAlg.h>
Public Member Functions | |
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 & | nLayers () const |
virtual const unsigned int & | nPlanes () const |
virtual const std::string & | cellEncoding () const |
virtual void | setDecoder (const BitFieldCoder *decoder) |
virtual void | reconfigure (fhicl::ParameterSet const &pset)=0 |
virtual void | Initialize (const gar::geo::GeometryCore &geo)=0 |
virtual std::array< double, 3 > | GetPosition (const gar::geo::GeometryCore &geo, const gar::raw::CellID_t &cID) const =0 |
virtual 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 =0 |
virtual void | PrintParameters () const =0 |
virtual bool | isTile (const gar::raw::CellID_t &cID) const =0 |
virtual bool | isBarrel (const gar::raw::CellID_t &cID) const =0 |
virtual void | setLayerDimXY (const double &dimX, const double &dimY) const =0 |
virtual void | setVariables (const double &innerangle, const double &endcapsidelength) const =0 |
virtual double | getStripLength (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const gar::raw::CellID_t &cID) const |
virtual std::pair< TVector3, TVector3 > | getStripEnds (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const gar::raw::CellID_t &cID) const |
virtual std::pair< float, float > | CalculateLightPropagation (const gar::geo::GeometryCore &geo, const std::array< double, 3 > &local, const gar::raw::CellID_t &cID) const |
virtual 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 |
Protected Member Functions | |
SegmentationAlg (fhicl::ParameterSet const &pset) | |
SegmentationAlg (const BitFieldCoder *decoder, fhicl::ParameterSet const &pset) | |
Static Protected Member Functions | |
static double | binToPosition (gar::raw::CellID_t bin, double cellSize, double offset=0) |
static int | positionToBin (double position, double cellSize, double offset=0) |
Protected Attributes | |
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 |
Private Member Functions | |
SegmentationAlg (const SegmentationAlg &) | |
Definition at line 25 of file SegmentationAlg.h.
|
virtual |
Definition at line 26 of file SegmentationAlg.cxx.
|
protected |
Definition at line 16 of file SegmentationAlg.cxx.
|
protected |
Definition at line 21 of file SegmentationAlg.cxx.
|
private |
|
staticprotected |
Definition at line 43 of file SegmentationAlg.cxx.
|
virtual |
Reimplemented in gar::geo::seg::SegmentationMuIDAlg, gar::geo::seg::SegmentationMultiGridStripXYAlg, gar::geo::seg::SegmentationStripXAlg, and gar::geo::seg::SegmentationStripYAlg.
Definition at line 63 of file SegmentationAlg.cxx.
|
inlinevirtual |
Definition at line 67 of file SegmentationAlg.h.
|
inlinevirtual |
Definition at line 46 of file SegmentationAlg.h.
|
inlinevirtual |
Definition at line 42 of file SegmentationAlg.h.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in gar::geo::seg::SegmentationMuIDAlg, gar::geo::seg::SegmentationMultiGridStripXYAlg, gar::geo::seg::SegmentationStripXAlg, and gar::geo::seg::SegmentationStripYAlg.
Definition at line 58 of file SegmentationAlg.cxx.
|
virtual |
Reimplemented in gar::geo::seg::SegmentationMuIDAlg, gar::geo::seg::SegmentationMultiGridStripXYAlg, gar::geo::seg::SegmentationStripXAlg, and gar::geo::seg::SegmentationStripYAlg.
Definition at line 53 of file SegmentationAlg.cxx.
|
inlinevirtual |
Reimplemented in gar::geo::seg::SegmentationMultiGridStripXYAlg, and gar::geo::seg::SegmentationGridXYAlg.
Definition at line 50 of file SegmentationAlg.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Definition at line 30 of file SegmentationAlg.h.
|
inlinevirtual |
Reimplemented in gar::geo::seg::SegmentationMultiGridStripXYAlg, gar::geo::seg::SegmentationMuIDAlg, gar::geo::seg::SegmentationStripXAlg, gar::geo::seg::SegmentationStripYAlg, and gar::geo::seg::SegmentationGridXYAlg.
Definition at line 59 of file SegmentationAlg.h.
|
inlinevirtual |
Reimplemented in gar::geo::seg::MinervaSegmentationAlg.
Definition at line 63 of file SegmentationAlg.h.
|
staticprotected |
Definition at line 48 of file SegmentationAlg.cxx.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in gar::geo::seg::SegmentationMuIDAlg, gar::geo::seg::SegmentationMultiGridStripXYAlg, gar::geo::seg::SegmentationStripXAlg, and gar::geo::seg::SegmentationStripYAlg.
Definition at line 68 of file SegmentationAlg.cxx.
|
virtual |
Definition at line 33 of file SegmentationAlg.cxx.
|
pure virtual |
|
inlinevirtual |
Definition at line 34 of file SegmentationAlg.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in gar::geo::seg::SegmentationMultiGridStripXYAlg, gar::geo::seg::SegmentationMuIDAlg, gar::geo::seg::SegmentationStripXAlg, and gar::geo::seg::MinervaSegmentationAlg.
Definition at line 54 of file SegmentationAlg.h.
|
inlinevirtual |
Definition at line 38 of file SegmentationAlg.h.
|
protected |
Definition at line 126 of file SegmentationAlg.h.
|
protected |
Definition at line 114 of file SegmentationAlg.h.
|
protected |
Definition at line 116 of file SegmentationAlg.h.
|
protected |
Definition at line 118 of file SegmentationAlg.h.
|
protected |
Definition at line 110 of file SegmentationAlg.h.
|
protected |
Definition at line 122 of file SegmentationAlg.h.
|
protected |
Definition at line 124 of file SegmentationAlg.h.
|
protected |
Definition at line 120 of file SegmentationAlg.h.
|
protected |
Definition at line 112 of file SegmentationAlg.h.