Public Member Functions | |
PointIdAlgSonicTriton (fhicl::Table< Config > const &table) | |
std::vector< float > | Run (std::vector< std::vector< float >> const &inp2d) const override |
std::vector< std::vector< float > > | Run (std::vector< std::vector< std::vector< float >>> const &inps, int samples=-1) const override |
Public Member Functions inherited from PointIdAlgTools::IPointIdAlg | |
virtual | ~IPointIdAlg () noexcept=default |
float | predictIdValue (unsigned int wire, float drift, size_t outIdx=0) |
std::vector< float > | predictIdVector (unsigned int wire, float drift) |
std::vector< std::vector< float > > | predictIdVectors (const std::vector< std::pair< unsigned int, float >> &points) |
std::vector< std::string > const & | outputLabels (void) const |
bool | isInsideFiducialRegion (unsigned int wire, float drift) const |
Public Member Functions inherited from img::DataProviderAlg | |
DataProviderAlg (const fhicl::ParameterSet &pset) | |
DataProviderAlg (const Config &config) | |
virtual | ~DataProviderAlg () |
bool | setWireDriftData (const detinfo::DetectorClocksData &clock_data, const detinfo::DetectorPropertiesData &det_prop, const std::vector< recob::Wire > &wires, unsigned int plane, unsigned int tpc, unsigned int cryo) |
std::vector< float > const & | wireData (size_t widx) const |
std::vector< std::vector< float > > | getPatch (size_t wire, float drift, size_t patchSizeW, size_t patchSizeD) const |
float | getPixelOrZero (int wire, int drift) const |
double | getAdcSum () const |
size_t | getAdcArea () const |
float | poolMax (int wire, int drift, size_t r=0) const |
Pool max value in a patch around the wire/drift pixel. More... | |
unsigned int | Cryo () const |
Pool sum of pixels in a patch around the wire/drift pixel. More... | |
unsigned int | TPC () const |
unsigned int | Plane () const |
unsigned int | NWires () const |
unsigned int | NScaledDrifts () const |
unsigned int | NCachedDrifts () const |
unsigned int | DriftWindow () const |
float | ZeroLevel () const |
Level of zero ADC after scaling. More... | |
double | LifetimeCorrection (detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, double tick) const |
Private Attributes | |
std::string | fTritonModelName |
std::string | fTritonURL |
bool | fTritonVerbose |
std::string | fTritonModelVersion |
unsigned | fTritonTimeout |
unsigned | fTritonAllowedTries |
std::unique_ptr< lartriton::TritonClient > | triton_client |
Additional Inherited Members | |
Public Types inherited from img::DataProviderAlg | |
enum | EDownscaleMode { kMax = 1, kMaxMean = 2, kMean = 3 } |
Protected Member Functions inherited from PointIdAlgTools::IPointIdAlg | |
bool | bufferPatch (size_t wire, float drift, std::vector< std::vector< float >> &patch) |
bool | bufferPatch (size_t wire, float drift) |
void | resizePatch (void) |
Protected Member Functions inherited from img::DataProviderAlg | |
std::vector< float > | downscaleMax (std::size_t dst_size, std::vector< float > const &adc, size_t tick0) const |
std::vector< float > | downscaleMaxMean (std::size_t dst_size, std::vector< float > const &adc, size_t tick0) const |
std::vector< float > | downscaleMean (std::size_t dst_size, std::vector< float > const &adc, size_t tick0) const |
std::vector< float > | downscale (std::size_t dst_size, std::vector< float > const &adc, size_t tick0) const |
size_t | getDriftIndex (float drift) const |
std::optional< std::vector< float > > | setWireData (std::vector< float > const &adc, size_t wireIdx) const |
bool | patchFromDownsampledView (size_t wire, float drift, size_t size_w, size_t size_d, std::vector< std::vector< float >> &patch) const |
bool | patchFromOriginalView (size_t wire, float drift, size_t size_w, size_t size_d, std::vector< std::vector< float >> &patch) const |
virtual DataProviderAlgView | resizeView (detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, size_t wires, size_t drifts) |
Protected Attributes inherited from PointIdAlgTools::IPointIdAlg | |
std::vector< std::string > | fNNetOutputs |
size_t | fPatchSizeW |
size_t | fPatchSizeD |
std::vector< std::vector< float > > | fWireDriftPatch |
size_t | fCurrentWireIdx |
size_t | fCurrentScaledDrift |
Protected Attributes inherited from img::DataProviderAlg | |
DataProviderAlgView | fAlgView |
EDownscaleMode | fDownscaleMode |
size_t | fDriftWindow |
bool | fDownscaleFullView |
float | fDriftWindowInv |
calo::CalorimetryAlg | fCalorimetryAlg |
geo::GeometryCore const * | fGeometry |
Definition at line 12 of file PointIdAlgSonicTriton_tool.cc.
|
explicit |
Definition at line 32 of file PointIdAlgSonicTriton_tool.cc.
|
overridevirtual |
Implements PointIdAlgTools::IPointIdAlg.
Definition at line 74 of file PointIdAlgSonicTriton_tool.cc.
|
overridevirtual |
Implements PointIdAlgTools::IPointIdAlg.
Definition at line 119 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 26 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 21 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 24 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 25 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 22 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 23 of file PointIdAlgSonicTriton_tool.cc.
|
private |
Definition at line 28 of file PointIdAlgSonicTriton_tool.cc.