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) | |
| PixelMapProducer () | |
| void | SetUnwrapped (unsigned short unwrap) |
| void | SetProtoDUNE () |
| Boundary | DefineBoundary (detinfo::DetectorPropertiesData const &detProp, const std::vector< const recob::Hit * > &cluster) |
| Get boundaries for pixel map representation of cluster. More... | |
| void | GetDUNEGlobalWire (unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const |
| Function to convert to a global unwrapped wire number. More... | |
| void | GetDUNEGlobalWireTDC (detinfo::DetectorPropertiesData const &detProp, unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane, double &globalTDC) const |
| void | GetDUNE10ktGlobalWireTDC (detinfo::DetectorPropertiesData const &detProp, unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane, double &globalTDC) const |
| void | GetProtoDUNEGlobalWire (unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const |
| void | GetProtoDUNEGlobalWireTDC (unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, double &globalTDC, unsigned int &globalPlane) const |
| void | GetDUNEVertDrift3ViewGlobalWire (unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const |
| unsigned int | NWire () const |
| unsigned int | NTdc () const |
| double | TRes () const |
| PixelMap | CreateMap (detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< recob::Hit > > &slice) |
| PixelMap | CreateMap (detinfo::DetectorPropertiesData const &detProp, const std::vector< const recob::Hit * > &slice) |
| PixelMap | CreateMapGivenBoundary (detinfo::DetectorPropertiesData const &detProp, const std::vector< const recob::Hit * > &cluster, const Boundary &bound) |
| void | GetHitTruth (detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > &hit, std::vector< int > &pdgs, std::vector< int > &tracks, std::vector< float > &energies, std::vector< std::string > &processes) |
| Create sparse pixel map for SCN applications. More... | |
| SparsePixelMap | CreateSparseMap2D (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > &cluster, bool usePixelTruth=false) |
| SparsePixelMap | CreateSparseMap3D (detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::SpacePoint > > &sp, std::vector< std::vector< art::Ptr< recob::Hit >>> &hit) |
Private Member Functions | |
| double | _getIntercept (geo::WireID wireid) const |
| void | _cacheIntercepts () |
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 short | fUnwrapped |
| Use unwrapped pixel maps? More... | |
| bool | fProtoDUNE |
| Do we want to use this for particle extraction from protoDUNE? More... | |
| geo::GeometryCore const * | fGeometry |
| std::vector< double > | fVDPlane0 |
| std::vector< double > | fVDPlane1 |
Producer algorithm for PixelMap, input to CVN neural net.
Definition at line 30 of file PixelMapProducer.h.
| cvn::PixelMapProducer::PixelMapProducer | ( | unsigned int | nWire, |
| unsigned int | nTdc, | ||
| double | tRes | ||
| ) |
Definition at line 32 of file PixelMapProducer.cxx.
| cvn::PixelMapProducer::PixelMapProducer | ( | ) |
Definition at line 45 of file PixelMapProducer.cxx.
|
private |
Definition at line 145 of file PixelMapProducer.cxx.
|
private |
Definition at line 132 of file PixelMapProducer.cxx.
| PixelMap cvn::PixelMapProducer::CreateMap | ( | detinfo::DetectorPropertiesData const & | detProp, |
| const std::vector< art::Ptr< recob::Hit > > & | slice | ||
| ) |
Definition at line 52 of file PixelMapProducer.cxx.
| PixelMap cvn::PixelMapProducer::CreateMap | ( | detinfo::DetectorPropertiesData const & | detProp, |
| const std::vector< const recob::Hit * > & | slice | ||
| ) |
Definition at line 62 of file PixelMapProducer.cxx.
| PixelMap cvn::PixelMapProducer::CreateMapGivenBoundary | ( | detinfo::DetectorPropertiesData const & | detProp, |
| const std::vector< const recob::Hit * > & | cluster, | ||
| const Boundary & | bound | ||
| ) |
Definition at line 75 of file PixelMapProducer.cxx.
| SparsePixelMap cvn::PixelMapProducer::CreateSparseMap2D | ( | detinfo::DetectorClocksData const & | clockData, |
| detinfo::DetectorPropertiesData const & | detProp, | ||
| std::vector< art::Ptr< recob::Hit > > & | cluster, | ||
| bool | usePixelTruth = false |
||
| ) |
Definition at line 583 of file PixelMapProducer.cxx.
| SparsePixelMap cvn::PixelMapProducer::CreateSparseMap3D | ( | detinfo::DetectorClocksData const & | clockData, |
| std::vector< art::Ptr< recob::SpacePoint > > & | sp, | ||
| std::vector< std::vector< art::Ptr< recob::Hit >>> & | hit | ||
| ) |
Definition at line 639 of file PixelMapProducer.cxx.
| Boundary cvn::PixelMapProducer::DefineBoundary | ( | detinfo::DetectorPropertiesData const & | detProp, |
| const std::vector< const recob::Hit * > & | cluster | ||
| ) |
Get boundaries for pixel map representation of cluster.
Definition at line 173 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetDUNE10ktGlobalWireTDC | ( | detinfo::DetectorPropertiesData const & | detProp, |
| unsigned int | localWire, | ||
| double | localTDC, | ||
| unsigned int | plane, | ||
| unsigned int | tpc, | ||
| unsigned int & | globalWire, | ||
| unsigned int & | globalPlane, | ||
| double & | globalTDC | ||
| ) | const |
Definition at line 369 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetDUNEGlobalWire | ( | unsigned int | localWire, |
| unsigned int | plane, | ||
| unsigned int | tpc, | ||
| unsigned int & | globalWire, | ||
| unsigned int & | globalPlane | ||
| ) | const |
Function to convert to a global unwrapped wire number.
Definition at line 267 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetDUNEGlobalWireTDC | ( | detinfo::DetectorPropertiesData const & | detProp, |
| unsigned int | localWire, | ||
| double | localTDC, | ||
| unsigned int | plane, | ||
| unsigned int | tpc, | ||
| unsigned int & | globalWire, | ||
| unsigned int & | globalPlane, | ||
| double & | globalTDC | ||
| ) | const |
Definition at line 313 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetDUNEVertDrift3ViewGlobalWire | ( | unsigned int | localWire, |
| unsigned int | plane, | ||
| unsigned int | tpc, | ||
| unsigned int & | globalWire, | ||
| unsigned int & | globalPlane | ||
| ) | const |
Definition at line 496 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetHitTruth | ( | detinfo::DetectorClocksData const & | clockData, |
| art::Ptr< recob::Hit > & | hit, | ||
| std::vector< int > & | pdgs, | ||
| std::vector< int > & | tracks, | ||
| std::vector< float > & | energies, | ||
| std::vector< std::string > & | processes | ||
| ) |
Create sparse pixel map for SCN applications.
Definition at line 552 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetProtoDUNEGlobalWire | ( | unsigned int | localWire, |
| unsigned int | plane, | ||
| unsigned int | tpc, | ||
| unsigned int & | globalWire, | ||
| unsigned int & | globalPlane | ||
| ) | const |
Definition at line 438 of file PixelMapProducer.cxx.
| void cvn::PixelMapProducer::GetProtoDUNEGlobalWireTDC | ( | unsigned int | localWire, |
| double | localTDC, | ||
| unsigned int | plane, | ||
| unsigned int | tpc, | ||
| unsigned int & | globalWire, | ||
| double & | globalTDC, | ||
| unsigned int & | globalPlane | ||
| ) | const |
Definition at line 486 of file PixelMapProducer.cxx.
|
inline |
Definition at line 60 of file PixelMapProducer.h.
|
inline |
Definition at line 59 of file PixelMapProducer.h.
|
inline |
Definition at line 37 of file PixelMapProducer.h.
|
inline |
Definition at line 36 of file PixelMapProducer.h.
|
inline |
Definition at line 61 of file PixelMapProducer.h.
|
private |
Definition at line 89 of file PixelMapProducer.h.
|
private |
Number of tdcs, width of pixel map.
Definition at line 84 of file PixelMapProducer.h.
|
private |
Number of wires, length for pixel maps.
Definition at line 83 of file PixelMapProducer.h.
|
private |
Do we want to use this for particle extraction from protoDUNE?
Definition at line 87 of file PixelMapProducer.h.
|
private |
Timing resolution for pixel map.
Definition at line 85 of file PixelMapProducer.h.
|
private |
Use unwrapped pixel maps?
Definition at line 86 of file PixelMapProducer.h.
|
private |
Definition at line 90 of file PixelMapProducer.h.
|
private |
Definition at line 91 of file PixelMapProducer.h.
1.8.11