![]() |
LArSoft
v10_04_05
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 ()=default | |
PixelMapProducer (const fhicl::ParameterSet &pset) | |
unsigned int | NWire () const |
unsigned int | NTdc () const |
double | TRes () const |
unsigned int | TotHits () const |
double | Threshold () const |
bool | MultipleDrifts () const |
void | SetTotHits (unsigned int tothits) |
void | SetMultipleDrifts (bool multipledrifts=true) |
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 |
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) |
Private 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... | |
Producer algorithm for PixelMap, input to CVN neural net.
Definition at line 81 of file PixelMapProducer.h.
lcvn::PixelMapProducer< T, U >::PixelMapProducer | ( | unsigned int | nWire, |
unsigned int | nTdc, | ||
double | tRes, | ||
double | threshold = 0. |
||
) |
Definition at line 102 of file PixelMapProducer.cxx.
|
default |
lcvn::PixelMapProducer< T, U >::PixelMapProducer | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 110 of file PixelMapProducer.cxx.
|
virtual |
Definition at line 282 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 291 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 119 of file PixelMapProducer.cxx.
|
virtual |
Definition at line 130 of file PixelMapProducer.cxx.
References lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
virtual |
Definition at line 138 of file PixelMapProducer.cxx.
References lcvn::PixelMap::Add(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobal(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobalTDC(), geo::WireID::first(), 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 184 of file PixelMapProducer.cxx.
References util::abs(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobal(), lcvn::PixelMapProducer< T, U >::ConvertLocaltoGlobalTDC(), geo::WireID::first(), 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 94 of file PixelMapProducer.h.
|
inline |
Definition at line 90 of file PixelMapProducer.h.
|
inline |
Definition at line 89 of file PixelMapProducer.h.
|
inline |
Definition at line 97 of file PixelMapProducer.h.
References lar::dump::vector().
|
inline |
Definition at line 96 of file PixelMapProducer.h.
|
inline |
Definition at line 93 of file PixelMapProducer.h.
References lcvn::HitHelper::fThreshold.
|
inline |
Definition at line 92 of file PixelMapProducer.h.
|
inline |
Definition at line 91 of file PixelMapProducer.h.
|
private |
True if making the pixel map requires handling for multiple drift regions.
Definition at line 129 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
private |
Number of tdcs, width of pixel map.
Definition at line 124 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary().
|
private |
Number of wires, length for pixel maps.
Definition at line 123 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
private |
Charge threshold to consider for hits/waveforms etc.
Definition at line 127 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
private |
Total hits in the pixel map.
Definition at line 126 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::CreateMapGivenBoundary(), and lcvn::PixelMapProducer< T, U >::DefineBoundary().
|
private |
Timing resolution for pixel map.
Definition at line 125 of file PixelMapProducer.h.
Referenced by lcvn::PixelMapProducer< T, U >::DefineBoundary().