LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Producer algorithm for PixelMap, input to CVN neural net. More...
#include "PixelMapProducer.h"
Public Member Functions | |
PixelMapProducer (unsigned int nWire, unsigned int nTdc, double tRes, double threshold=0.) | |
PixelMapProducer () | |
PixelMapProducer (const fhicl::ParameterSet &pset) | |
void | SetMultipleDrifts () |
unsigned int | NROI () |
virtual Boundary | DefineBoundary (detinfo::DetectorPropertiesData const &detProp, const std::vector< const T * > &cluster) |
Get boundaries for pixel map representation of cluster. More... | |
virtual void | ConvertLocaltoGlobal (geo::WireID wireid, unsigned int &globalWire, unsigned int &globalPlane) const |
virtual void | ConvertLocaltoGlobalTDC (geo::WireID wireid, double localTDC, unsigned int &globalWire, unsigned int &globalPlane, double &globalTDC) const |
unsigned int | NWire () const |
unsigned int | NTdc () const |
double | TRes () const |
virtual PixelMap | CreateMap (detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< T >> &cluster) |
virtual PixelMap | CreateMap (detinfo::DetectorPropertiesData const &detProp, const std::vector< const T * > &cluster) |
virtual PixelMap | CreateMapGivenBoundary (detinfo::DetectorPropertiesData const &detProp, const std::vector< const T * > &cluster, const Boundary &bound) |
Protected Attributes | |
unsigned int | fNWire |
Number of wires, length for pixel maps. More... | |
unsigned int | fNTdc |
Number of tdcs, width of pixel map. More... | |
double | fTRes |
Timing resolution for pixel map. More... | |
unsigned int | fTotHits |
Total hits in the pixel map. More... | |
double | fThreshold |
Charge threshold to consider for hits/waveforms etc. More... | |
bool | fMultipleDrifts |
True if making the pixel map requires handling for multiple drift regions. More... | |
geo::GeometryCore const * | fGeometry |
Producer algorithm for PixelMap, input to CVN neural net.
Definition at line 86 of file PixelMapProducer.h.
lcvn::PixelMapProducer< T, U >::PixelMapProducer | ( | unsigned int | nWire, |
unsigned int | nTdc, | ||
double | tRes, | ||
double | threshold = 0. |
||
) |
Definition at line 107 of file PixelMapProducer.cxx.
References lcvn::PixelMapProducer< T, U >::fGeometry.
lcvn::PixelMapProducer< T, U >::PixelMapProducer | ( | ) |
Definition at line 118 of file PixelMapProducer.cxx.
References lcvn::PixelMapProducer< T, U >::fGeometry.
lcvn::PixelMapProducer< T, U >::PixelMapProducer | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 124 of file PixelMapProducer.cxx.
References lcvn::PixelMapProducer< T, U >::fGeometry.
|
virtual |
Definition at line 302 of file PixelMapProducer.cxx.
References geo::PlaneID::Plane, and geo::WireID::Wire.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
virtual |
Definition at line 311 of file PixelMapProducer.cxx.
References geo::PlaneID::Plane, and geo::WireID::Wire.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
virtual |
Definition at line 135 of file PixelMapProducer.cxx.
|
virtual |
Definition at line 146 of file PixelMapProducer.cxx.
References lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
virtual |
Definition at line 154 of file PixelMapProducer.cxx.
References lcvn::PixelMap::Add(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobal(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobalTDC(), lcvn::PixelMapProducer< T, U >::fMultipleDrifts, lcvn::PixelMapProducer< T, U >::fNTdc, lcvn::PixelMapProducer< T, U >::fNWire, lcvn::PixelMapProducer< T, U >::fThreshold, lcvn::PixelMapProducer< T, U >::fTotHits, geo::PlaneID::Plane, lcvn::PixelMap::SetTotHits(), and geo::WireID::Wire.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMap().
|
virtual |
Get boundaries for pixel map representation of cluster.
Definition at line 201 of file PixelMapProducer.cxx.
References util::abs(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobal(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobalTDC(), lcvn::PixelMapProducer< T, U >::fMultipleDrifts, lcvn::PixelMapProducer< T, U >::fNWire, lcvn::PixelMapProducer< T, U >::fThreshold, lcvn::PixelMapProducer< T, U >::fTotHits, lcvn::PixelMapProducer< T, U >::fTRes, geo::PlaneID::Plane, and geo::WireID::Wire.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMap().
|
inline |
Definition at line 95 of file PixelMapProducer.h.
|
inline |
Definition at line 112 of file PixelMapProducer.h.
|
inline |
Definition at line 111 of file PixelMapProducer.h.
|
inline |
Definition at line 94 of file PixelMapProducer.h.
|
inline |
Definition at line 113 of file PixelMapProducer.h.
References lar::dump::vector().
|
protected |
Definition at line 133 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::PixelMapProducer().
|
protected |
True if making the pixel map requires handling for multiple drift regions.
Definition at line 131 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
protected |
Number of tdcs, width of pixel map.
Definition at line 126 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary().
|
protected |
Number of wires, length for pixel maps.
Definition at line 125 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
protected |
Charge threshold to consider for hits/waveforms etc.
Definition at line 129 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
protected |
Total hits in the pixel map.
Definition at line 128 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
protected |
Timing resolution for pixel map.
Definition at line 127 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::DefineBoundary().